Linux Format

Looping into the third pixel-art dimension

This issue we’ll take our Minecraft pixel art into the third dimension, by building Pyramids with Python loops. We previously built some pixel art in Minecraft with two dimensions, so now we’re going to take a look at building 3D pixel art. Technically, everything in Minecraft is 3D, but our previous pixel art was ‘flat’; this time we’re adding another axis to build upwards/outwards. We’re then going to hack our pixel art into another player’s game.

We’re going to start by building a pyramid using while loops and for loops in Python. The idea is that the loops will save us typing lots of similar lines of code, which will make life easier for us to create our prefabricated designs. Spawning in our coded creations is so much faster than placing each individual block manually in Creative mode.

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

More from Linux Format

Linux Format4 min read
Linux
The #1 open source mag Future Publishing Limited, Quay House, The Ambury, Bath, BA1 1UA Email contact@linuxformat.com EDITORIAL Editor-in-chief Neil Mohr Art editor Fraser McDermott Production editor Katharine Davies Group editor-in-chief Graham Bar
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 Format3 min read
Hacker Distros
Kali has it all if you want a pre-made networkhacking distribution. It has an impressive number K of editions to cover most installation scenarios, plus a slick-looking lightweight desktop and a huge set of built-in, well-categorised hacking tools. I

Related