1
This might be kinda confusing...so I'll try to be as clear as possible here.
Background Stuffs
I have coded a program that quite simply gives you a 3x3 grid that you can draw on (currently it has no erase function, only one color, and yea, it's 3x3, so program of the year, people!). My idea is that after you've drawn your masterpiece, you can convert the drawing to a Minecraft world save. This world would be literally nothing, just air, except for your drawing, which would be in the center of the world made of stone.
Actual Question
Doing this would involve a lot of converting, as each pixel (all 9 of them, wow) would have to be transferred into a Minecraft world. I checked the files involved in some Minecraft worlds and...what.
I have absolutely no idea how it works. Each .dat file seems to follow the same format as a .exe file when opened up into Notepad, in which it's absolute random chaos that cannot be edited. So, how could I edit this safely? Any programs that I could use? Any help at all is appreciated. Thanks in advance!
Background Stuffs
I have coded a program that quite simply gives you a 3x3 grid that you can draw on (currently it has no erase function, only one color, and yea, it's 3x3, so program of the year, people!). My idea is that after you've drawn your masterpiece, you can convert the drawing to a Minecraft world save. This world would be literally nothing, just air, except for your drawing, which would be in the center of the world made of stone.
Actual Question
Doing this would involve a lot of converting, as each pixel (all 9 of them, wow) would have to be transferred into a Minecraft world. I checked the files involved in some Minecraft worlds and...what.
I have absolutely no idea how it works. Each .dat file seems to follow the same format as a .exe file when opened up into Notepad, in which it's absolute random chaos that cannot be edited. So, how could I edit this safely? Any programs that I could use? Any help at all is appreciated. Thanks in advance!
5
Minecraft Wiki has some articles on how Minecraft worlds are stored:
http://minecraft.gamepedia.com/Chunk_format
http://minecraft.gamepedia.com/Level_format
http://minecraft.gamepedia.com/Chunk_format
http://minecraft.gamepedia.com/Level_format
Here is a download for a world file of a 9x9 square of stone in a void world: http://www.mediafire.com/download/bls6l ... Square.zip
Open in 1.9
Open in 1.9
If you want to manually open DAT files I recommend you using NBTExplorer. That program lets you open each world and edit all sorts of tags and such of each world. Maybe that'll help you get a better view of how you gonna do it. http://www.minecraftforum.net/forums/mapping-and-modding/minecraft-tools/1262665-nbtexplorer-nbt-editor-for-windows-and-mac
I have just gotten NBTExplorer, and it is amazing! I love just playing around with it and seeing what's possible! However, I can't seem to find blocks in this program. I know how to use all the chunks things in the regions folder, I just can't find the individual blocks (except for dispensers and stuff like that). Any help I could get on that?
This will probably be pretty helpful for you.
http://minecraft.gamepedia.com/Programs_and_editors/Mod_Coder_Pack
The Mod Coder Pack is a collection of scripts and tools to help developers create mods for both the Minecraft server and client.
Probably is a good place to start.
http://minecraft.gamepedia.com/Programs_and_editors/Mod_Coder_Pack
The Mod Coder Pack is a collection of scripts and tools to help developers create mods for both the Minecraft server and client.
Probably is a good place to start.
