Package net.glowstone.io.entity
Class HorseStore
java.lang.Object
-
Field Summary
Fields inherited from class net.glowstone.io.entity.EntityStore
entityType, type
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
load
(GlowHorse entity, CompoundTag compound) Load data into an existing entity of the appropriate type from the given compound tag.void
save
(GlowHorse entity, CompoundTag tag) Save information about this entity to the given tag.Methods inherited from class net.glowstone.io.entity.AgeableStore
createEntity
Methods inherited from class net.glowstone.io.entity.EntityStore
canEqual, createEntity, equals, getEntityType, getType, hashCode, toString
-
Constructor Details
-
HorseStore
public HorseStore()
-
-
Method Details
-
load
Description copied from class:EntityStore
Load data into an existing entity of the appropriate type from the given compound tag.- Overrides:
load
in classAbstractHorseStore<GlowHorse>
- Parameters:
entity
- The target entity.compound
- The entity's tag.
-
save
Description copied from class:EntityStore
Save information about this entity to the given tag.- Overrides:
save
in classAbstractHorseStore<GlowHorse>
- Parameters:
entity
- The entity to save.tag
- The target tag.
-