Talk:Indev level format

From Minecraft Wiki
Jump to: navigation, search

The links to the example NBT files are broken ...

[edit] 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

Personal tools
Namespaces
Variants
Actions
Minecraft Wiki
Minecraft
Toolbox

Recent Community Articles

Mojang Tweets

    Getting your tweets...