Package net.minecraft.src
Class TileEntity
- java.lang.Object
-
- net.minecraft.src.TileEntity
-
- Direct Known Subclasses:
TileEntityBrewingStand
,TileEntityChest
,TileEntityDispenser
,TileEntityEnchantmentTable
,TileEntityEndPortal
,TileEntityFurnace
,TileEntityMobSpawner
,TileEntityNote
,TileEntityPiston
,TileEntityRecordPlayer
,TileEntitySign
public class TileEntity extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description int
blockMetadata
Block
blockType
protected boolean
tileEntityInvalid
World
worldObj
int
xCoord
int
yCoord
int
zCoord
-
Constructor Summary
Constructors Constructor Description TileEntity()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TileEntity
createAndLoadEntity(NBTTagCompound var0)
int
getBlockMetadata()
@Client Block
getBlockType()
Packet
getDescriptionPacket()
@net.minecraft.modding.api.Side.Client double
getDistanceFrom(double var1, double var3, double var5)
void
invalidate()
boolean
isInvalid()
void
onInventoryChanged()
void
onTileEntityPowered(int i, int j)
void
readFromNBT(NBTTagCompound var1)
void
updateContainingBlockInfo()
void
updateEntity()
void
validate()
void
writeToNBT(NBTTagCompound var1)
-
-
-
Method Detail
-
readFromNBT
public void readFromNBT(NBTTagCompound var1)
-
writeToNBT
public void writeToNBT(NBTTagCompound var1)
-
updateEntity
public void updateEntity()
-
createAndLoadEntity
public static TileEntity createAndLoadEntity(NBTTagCompound var0)
-
getBlockMetadata
public int getBlockMetadata()
-
onInventoryChanged
public void onInventoryChanged()
-
getDistanceFrom
@Client public @net.minecraft.modding.api.Side.Client double getDistanceFrom(double var1, double var3, double var5)
-
getDescriptionPacket
public Packet getDescriptionPacket()
-
isInvalid
public boolean isInvalid()
-
invalidate
public void invalidate()
-
validate
public void validate()
-
onTileEntityPowered
public void onTileEntityPowered(int i, int j)
-
updateContainingBlockInfo
public void updateContainingBlockInfo()
-
-