Entities Format
Byte Order
entities.dat is stored in Little Endian byte order.
Parsing Entities
Part 1 (Getting the NBT with the Entities)
Name | Size (in bytes) | Description |
---|---|---|
Magic | 4 | The magic number used to identify the entities file. Always 0x454E5400 or ENT . |
Version | 4 | The version of the entities format. Always 1. |
NBT Compound Size | 4 | The length of the NBT compound in bytes. |
NBT Compound | Variable | The NBT Compound holding the entities. |
Part 2 (Getting Entities Data)
Entities
Tag Name | Tag Type | Description |
---|---|---|
Entities | ListTag of CompoundTags | List of all the entities in the world. Each CompoundTag is an Entity. |
License & Credits
This file is licensed under CC BY-NC-SA 3.0
.
The information here is from this Minecraft wiki page with some wording tweaked and/or simplify