Talk:Java Edition Indev level format

Add topic
From Minecraft Wiki

The links to the example NBT files are broken ... –Preceding unsigned comment was added by Dirkk0 (Talk|Contribs) 21:36, 11 January 2011. Please sign your posts with ~~~~

Tile entities[edit source]

In Indev level format "Pos" tag that each TileEntity has is an integer instead of list of coords. I didn't find any information about what to do with it,so here is it:
x = pos % 1024
y = (pos >> 10) % 1024
z = (pos >> 20) % 1024

So if pos is 223363300, coords are 228, 16, 213.

It may be useful if someone will write mclevel importer/editor.
I post it here only because it was the only thing I had to look at decompiled Indev classes when I wrote an importer.
Notch's specification doesn't have tile entities at all.

//Sorry for my bad English

–Preceding unsigned comment was added by 109.187.229.39 (Talk) 11:27, 10 May 2012. Please sign your posts with ~~~~