Minecraft Wiki
Advertisement
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

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

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 ~~~~

how do you save a .mclevel file?

how do you save a .mclevel file in indev? --173.180.201.172 20:00, 10 May 2020 (UTC)

Advertisement