public class ChestedHorseStore<T extends GlowChestedHorse> extends AbstractHorseStore<T>
entityType, type| Constructor and Description |
|---|
ChestedHorseStore(Class<T> clazz,
org.bukkit.entity.EntityType type,
Function<org.bukkit.Location,? extends T> creator) |
| Modifier and Type | Method and Description |
|---|---|
void |
load(T entity,
CompoundTag compound)
Load data into an existing entity of the appropriate type from the given compound tag.
|
void |
save(T entity,
CompoundTag tag)
Save information about this entity to the given tag.
|
createEntitycanEqual, createEntity, equals, getEntityType, getType, hashCode, toStringpublic void load(T entity, CompoundTag compound)
EntityStoreload in class AbstractHorseStore<T extends GlowChestedHorse>entity - The target entity.compound - The entity's tag.public void save(T entity, CompoundTag tag)
EntityStoresave in class AbstractHorseStore<T extends GlowChestedHorse>entity - The entity to save.tag - The target tag.Copyright © 2021. All rights reserved.