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 Format2 min read
Moosync
Version: 10.3.2 Web: https://moosync.app There’s no scarcity of music players for the Linux desktop, but what sets Moosync apart from its peers is its ability to seamlessly play local tracks and online music. Moosync offers both DEB and RPM precompil
Linux Format4 min read
Mailserver
Do you have a burning Linuxrelated issue that you want to discuss? Write to us at Linux Format, Future Publishing, Quay House, The Ambury, Bath, BA1 1UA or email letters@ linuxformat.com. In the password manager article (Roundup, LXF312), it stated t
Linux Format2 min read
Patool
Version: 2.2.0 Web: https://wummel. github.io/patool/ TAR, TAR.GZ, ZIP and 7ZIP are just some of the endless list of archiving formats you’ll run into on a fairly regular basis on the Linux desktop. What makes working with them even more complicated

Related