Entity format

Entities are stored in the entities folder of respective dimension folders. It is stored like regional Minecraft Anvil files, which are named in the form r.x.z.mca.

NBT Structure
Every entity is an unnamed contained in the Entities list of a chunk file. The sole exception is the Player entity, stored in level.dat, or in .dat files on servers.


 * The root tag.
 * : Version of the chunk data.
 * : Position of this chunk.
 * : X coordinate.
 * : Z coordinate.
 * : All the entities. Each TAG_Compound in this list defines an entity in this chunk.
 * : An entity. See below.

Entity Format
All entities are with the following structure:
 * Entity data

Mobs
Mobs are a subclass of Entity with additional tags to store their health, attacking/damaged state, potion effects, and more depending on the mob. Players are a subclass of Mob.

Projectiles
Projectiles are a subclass of Entity.

Items and XP Orbs
Items and XPOrbs are a subclass of Entity.

Vehicles
Vehicles are subclasses of Entity.

Dynamic tiles
Dynamic tiles are a subclass of Entity and are used to simulate realistically moving blocks.

Other
Other entity types that are a subclass of Entity but do not fit into any of the above categories.

History
Objektdaten 实体格式