Class EntityTypeDefinition<T extends Entity>

java.lang.Object
org.geysermc.geyser.entity.EntityTypeBase<T>
org.geysermc.geyser.entity.EntityTypeDefinition<T>
Type Parameters:
T - the entity type this definition represents
Direct Known Subclasses:
NonVanillaEntityTypeDefinition, VanillaEntityType

public abstract class EntityTypeDefinition<T extends Entity> extends EntityTypeBase<T>
Represents data for an entity. This includes the default bedrock entity definition, as well as the list of Java entity metadata translators needed to translate the properties sent from the server. The translators are structured in such a way that inserting a new one (for example in version updates) is convenient.