Wiki ArticleJava EditionArticles to be expandedInformation neededVerify

Entity format

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

Most entities share similar functionalities with each other from abstract classes or interfaces. For instance, horses (and their undead variants), donkeys, camels, mules, and llamas all inherit from Abstract Horse, which share some of its horse-like behaviors and properties to their inheritance. This inheritance can be seen under the game's code for all of its entities.

An entity that inherits from an abstract class or other entity share their implementation and functionalities with each other, while an entity that inherits from an interface may not necessarily share its functionalities, rather implement the required behaviors from the interface itself. As such, an entity's implementation of the interface may be different from other entities. Any entity may implement multiple interfaces, while only inheriting a single abstract class or other entity.

Complete article available

This cached Wiki page is unusually large, so it is loaded on demand to keep the initial page fast.