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