public interface IExtendedEntityProperties
Modifier and Type | Method and Description |
---|---|
void |
init(Entity entity,
World world)
Used to initialize the extended properties with the entity that this is attached to, as well
as the world object.
|
void |
loadNBTData(NBTTagCompound compound)
Called when the entity that this class is attached to is loaded.
|
void |
saveNBTData(NBTTagCompound compound)
Called when the entity that this class is attached to is saved.
|
void saveNBTData(NBTTagCompound compound)
compound
- The compound to save to.void loadNBTData(NBTTagCompound compound)
compound
- The compound to load from.void init(Entity entity, World world)
entity
- The entity that this extended properties is attached toworld
- The world in which the entity exists