Wikijunior:Raspberry Pi/Minecraft Christmas Tree Decorations

by Andrew Oakley andrew@aoakley.com for Cotswold Jam

http://cotswoldjam.org

Public Domain 2018-11

You need a world with trees
To load/reset a snowy woodland world in Minecraft:

Run the program and play with it!
The makestar1.py and makestar2.py programs create a Christmas star in a 3×3×3 block (think of a Rubik's Cube – 3 blocks wide, 3 high, 3 long). The star will be placed a few blocks north of the player.

Try editing the block IDs and wool status colours to make your own designs!

To put stars on the top of all nearby trees, uncomment the last line: ("uncomment" means remove the  at the start of the line)

Note that it can take several minutes to find all nearby trees.

Advanced topics
Finished making stars? Try making a star out of WOOD and see how that causes the find_trees program to go horribly wrong!!! Why does making a star out of WOOD or CACTUS cause find_trees to go wrong?