Minecraft icon indicating copy to clipboard operation
Minecraft copied to clipboard

Update main with save functionality via xml file.py

Open jackborthwick opened this issue 11 years ago • 0 comments

Added save functionality using an xml file. Upon starting the game if a savedworld.xml file exists then the game will generate all blocks in the game from that except the floor which is always regenerated, if the file does not exist the game will start with the randomly placed hills as before. Press q while in game to save. Hope this helps people save their worlds, also you can generate fields via .xml files if you so desired. Also Sorry about the mess of imports, I wasn't sure which I ended up needing.

jackborthwick avatar Feb 06 '15 01:02 jackborthwick