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
For The Experts
Hyper’s reliance on a text file for configuration will appeal to many more experienced Linux users, and it’s a boon that Hyper both scans for changes to the file and can open the file via the main menu. In theory, you could customise how this termina
Linux Format1 min read
Qualcomm On Upstreaming To Linux
Qualcomm’s Snapdragon X Elite has received favourable reviews for its performance in Windows running on Arm PCs. In mid-May, the company’s developer blog also posted an announcement related to upstreaming Linux kernel support for its latest Snapdrago
Linux Format4 min read
User Interface And Appearance
Some Linux users like a black box with no adornments whatsoever, but the majority of us appreciate some user interface elements, particularly if they make the less common operations easy to discover. We like customisability in this area of computer u

Related