public interface IMixinTileEntity
Modifier and Type | Method and Description |
---|---|
net.minecraft.nbt.NBTTagCompound |
getSpongeData()
Gets the included
NBTTagCompound for a tile entity. |
void |
readFromNbt(net.minecraft.nbt.NBTTagCompound compound)
Read extra data (SpongeData) from the tile entity's NBT tag.
|
void |
writeToNbt(net.minecraft.nbt.NBTTagCompound compound)
Write extra data (SpongeData) to the tile entity's NBT tag.
|
net.minecraft.nbt.NBTTagCompound getSpongeData()
NBTTagCompound
for a tile entity. With Vanilla, this is
created by vanilla. With Forge, this is included.void readFromNbt(net.minecraft.nbt.NBTTagCompound compound)
compound
- The SpongeData compound to read fromvoid writeToNbt(net.minecraft.nbt.NBTTagCompound compound)
compound
- The SpongeData compound to write to