Linux Format

Hacking Minecraft games with Python

This issue sees the last in our series of Minecraft Python coding tutorials. Over the last six issues, we’ve looked at integrating Python code into Minecraft, giving us the creative freedom to produce all kinds of wonderful monstrosities.

We’ve looked at how to move our character around the world (see LXF252) using code, building blocks with code and automatically building prefabricated creations. We experimented with Turtle graphics (see LXF255), pixel art and vector graphics (see LXF256) in Minecraft. We even designed our own graphical user interface, with buttons to spawn buildings (see LXF254) in our Minecraft worlds.

could be considered one of the most creative video games of our time, with virtual environments spanning acres of procedurally generated random biomes. The world and its contents are left to the player’s imagination. However, in one’s creativity is usually limited to the in-game tools provided. Now, thanks to the release of the Raspberry Pi version of , we’re finally able to hook directly into the API with Python and program away to our heart’s

You’re reading a preview, subscribe to read more.

More from Linux Format

Linux Format2 min read
Suitability For Beginners
These distros are focused on a technical area of computer use, penetration testing, but that doesn’t mean they’re T not suitable for beginners in this discipline. It’s not much of a surprise that a Gentoo-based distro like Pentoo is more complicated
Linux Format5 min read
Some Ansible Advice For Around The Home!
Of late, this writer has been busy creating new virtual hosts for different things and decided that it would be an ideal time to get stuck into Ansible. Things have evolved in system management since Bash. Ansible is a great way to deploy software c
Linux Format1 min read
Ultimate Desktop Upgrade!
LXF316 will be on sale Tuesday 28th May 2024 Word processors that can help craft that novel you’ve always been talking about and organise large projects. Revive the old roleplaying system for a digital age as we recreate our own play-by-mail gaming

Related Books & Audiobooks