Package net.glowstone.io.entity
Class NormalTippedArrowStore
-
Field Summary
FieldsFields inherited from class net.glowstone.io.entity.ArrowStore
CRITICAL, DAMAGE, LIFE, PICKUPFields inherited from class net.glowstone.io.entity.EntityStore
entityType, type -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateEntity(org.bukkit.Location location, CompoundTag compound) Create a new entity of this store's type at the given location.voidload(GlowArrow entity, CompoundTag tag) Load data into an existing entity of the appropriate type from the given compound tag.voidsave(GlowArrow entity, CompoundTag tag) Save information about this entity to the given tag.Methods inherited from class net.glowstone.io.entity.EntityStore
canEqual, createEntity, equals, getEntityType, getType, hashCode, toString
-
Field Details
-
OWNER
- See Also:
-
-
Constructor Details
-
NormalTippedArrowStore
public NormalTippedArrowStore()
-
-
Method Details
-
save
Description copied from class:EntityStoreSave information about this entity to the given tag.- Overrides:
savein classArrowStore<GlowArrow>- Parameters:
entity- The entity to save.tag- The target tag.
-
load
Description copied from class:EntityStoreLoad data into an existing entity of the appropriate type from the given compound tag.- Overrides:
loadin classArrowStore<GlowArrow>- Parameters:
entity- The target entity.tag- The entity's tag.
-
createEntity
Description copied from class:EntityStoreCreate a new entity of this store's type at the given location. The load method will be called separately.- Parameters:
location- The location.compound- The entity's tag, if extra data is needed.- Returns:
- The new entity.
-