public class EnderDragonStore extends EntityStore<GlowEnderDragon>
entityType, type| Constructor and Description |
|---|
EnderDragonStore() |
| Modifier and Type | Method and Description |
|---|---|
GlowEnderDragon |
createEntity(org.bukkit.Location location,
CompoundTag compound)
Create a new entity of this store's type at the given location.
|
void |
load(GlowEnderDragon entity,
CompoundTag tag)
Load data into an existing entity of the appropriate type from the given compound tag.
|
void |
save(GlowEnderDragon entity,
CompoundTag tag)
Save information about this entity to the given tag.
|
canEqual, createEntity, equals, getEntityType, getType, hashCode, toStringpublic void load(GlowEnderDragon entity, CompoundTag tag)
EntityStoreload in class EntityStore<GlowEnderDragon>entity - The target entity.tag - The entity's tag.public void save(GlowEnderDragon entity, CompoundTag tag)
EntityStoresave in class EntityStore<GlowEnderDragon>entity - The entity to save.tag - The target tag.public GlowEnderDragon createEntity(org.bukkit.Location location, CompoundTag compound)
EntityStorecreateEntity in class EntityStore<GlowEnderDragon>location - The location.compound - The entity's tag, if extra data is needed.Copyright © 2021. All rights reserved.