Skip to content

Entities Format

Byte Order

entities.dat is stored in Little Endian byte order.

Parsing Entities

Part 1 (Getting the NBT with the Entities and TileEntities)

NameSize (in bytes)Description
Magic4The magic number used to identify the entities file. Always 0x454E5400 or ENT
Version4The version of the entities format. Always 1
NBT Compound Size4The length of the NBT Compound in bytes
NBT CompoundVariableThe NBT Compound holding the Entities and TileEntities

Part 2 (Getting Entities and TileEntities Data)

Entities

Tag NameTag TypeDescription
EntitiesListTag of CompoundTagsList of all the entities in the world. Each CompoundTag is an Entity.

TileEntites

Tag NameTag TypeDescription
TileEntitiesListTag of CompoundTagsList of all the tile entities in the world. Each CompoundTag is a Tile Entity.

Contributors

The avatar of contributor named as BJTMastermind BJTMastermind

Changelog

Contributors



Documentation page was setup by DexrnZacAttack.