public interface IEntityDataCapability
| Modifier and Type | Method and Description |
|---|---|
void |
init(net.minecraft.entity.Entity entity,
net.minecraft.world.World world,
boolean init)
Initialize this data context.
|
void |
loadFromNBT(net.minecraft.nbt.NBTTagCompound compound)
Loads this capability from NBT.
|
void |
saveToNBT(net.minecraft.nbt.NBTTagCompound compound)
Saves this capability to NBT.
|
void init(net.minecraft.entity.Entity entity,
net.minecraft.world.World world,
boolean init)
entity - the new entityworld - the new worldinit - true if all managers should be initializedvoid saveToNBT(net.minecraft.nbt.NBTTagCompound compound)
compound - the tag to write tovoid loadFromNBT(net.minecraft.nbt.NBTTagCompound compound)
compound - the tag to read from