Package net.glowstone.io.entity
Class ChestedHorseStore<T extends GlowChestedHorse>
java.lang.Object
net.glowstone.io.entity.EntityStore<T>
net.glowstone.io.entity.LivingEntityStore<T>
net.glowstone.io.entity.AgeableStore<T>
net.glowstone.io.entity.AbstractHorseStore<T>
net.glowstone.io.entity.ChestedHorseStore<T>
-
Field Summary
Fields inherited from class net.glowstone.io.entity.EntityStore
entityType, type -
Constructor Summary
ConstructorsConstructorDescriptionChestedHorseStore(Class<T> clazz, org.bukkit.entity.EntityType type, Function<org.bukkit.Location, ? extends T> creator) -
Method Summary
Modifier and TypeMethodDescriptionvoidload(T entity, CompoundTag compound) Load data into an existing entity of the appropriate type from the given compound tag.voidsave(T entity, CompoundTag tag) Save information about this entity to the given tag.Methods inherited from class net.glowstone.io.entity.AgeableStore
createEntityMethods inherited from class net.glowstone.io.entity.EntityStore
canEqual, createEntity, equals, getEntityType, getType, hashCode, toString
-
Constructor Details
-
ChestedHorseStore
-
-
Method Details
-
load
Description copied from class:EntityStoreLoad data into an existing entity of the appropriate type from the given compound tag.- Overrides:
loadin classAbstractHorseStore<T extends GlowChestedHorse>- Parameters:
entity- The target entity.compound- The entity's tag.
-
save
Description copied from class:EntityStoreSave information about this entity to the given tag.- Overrides:
savein classAbstractHorseStore<T extends GlowChestedHorse>- Parameters:
entity- The entity to save.tag- The target tag.
-