public interface ITileEntity
| Modifier and Type | Method and Description |
|---|---|
int |
getBlockMetadata() |
IBlock |
getBlockType() |
double |
getDistanceFrom(double x,
double y,
double z) |
net.minecraft.tileentity.TileEntity |
getMCTileEntity() |
INbt |
getNBT()
Writes the tile entity to NBT and returns the compound tag.
|
noppes.npcs.scripted.ScriptWorld |
getWorld() |
void |
invalidate()
Invalidates the tile entity.
|
boolean |
isInvalid() |
void |
readFromNBT(INbt nbt)
Reads an INbt compound tag, creates a tile entity based on the data, and replaces this entity with the new one.
|
void |
updateContainingBlockInfo()
Updates the block's tile entity to the values set in this object.
|
void |
validate()
Validates the tile entity for use.
|
int getBlockMetadata()
noppes.npcs.scripted.ScriptWorld getWorld()
net.minecraft.tileentity.TileEntity getMCTileEntity()
void readFromNBT(INbt nbt)
double getDistanceFrom(double x,
double y,
double z)
IBlock getBlockType()
boolean isInvalid()
void invalidate()
void validate()
void updateContainingBlockInfo()
INbt getNBT()