public class MultiBlockTileEntity extends net.minecraft.tileentity.TileEntity implements MultiBlock.IProvider
Modifier and Type | Field and Description |
---|---|
protected MultiBlock |
multiBlock |
Constructor and Description |
---|
MultiBlockTileEntity() |
Modifier and Type | Method and Description |
---|---|
boolean |
canUpdate() |
MultiBlock |
getMultiBlock() |
net.minecraft.util.AxisAlignedBB |
getRenderBoundingBox() |
void |
readFromNBT(net.minecraft.nbt.NBTTagCompound tag) |
void |
setMultiBlock(MultiBlock multiBlock)
Sets the
MultiBlock instance for this MultiBlock.IProvider . |
void |
setWorldObj(net.minecraft.world.World world) |
void |
writeToNBT(net.minecraft.nbt.NBTTagCompound tag) |
addMapping, createAndLoadEntity, func_145828_a, getBlockMetadata, getBlockType, getDescriptionPacket, getDistanceFrom, getMaxRenderDistanceSquared, getWorldObj, hasWorldObj, invalidate, isInvalid, markDirty, onChunkUnload, onDataPacket, receiveClientEvent, shouldRefresh, shouldRenderInPass, updateContainingBlockInfo, updateEntity, validate
protected MultiBlock multiBlock
public void setMultiBlock(MultiBlock multiBlock)
MultiBlock.IProvider
MultiBlock
instance for this MultiBlock.IProvider
.setMultiBlock
in interface MultiBlock.IProvider
multiBlock
- the MultiBlockpublic MultiBlock getMultiBlock()
getMultiBlock
in interface MultiBlock.IProvider
MultiBlock
instance of the provider.public void setWorldObj(net.minecraft.world.World world)
setWorldObj
in class net.minecraft.tileentity.TileEntity
public boolean canUpdate()
canUpdate
in class net.minecraft.tileentity.TileEntity
public void readFromNBT(net.minecraft.nbt.NBTTagCompound tag)
readFromNBT
in class net.minecraft.tileentity.TileEntity
public void writeToNBT(net.minecraft.nbt.NBTTagCompound tag)
writeToNBT
in class net.minecraft.tileentity.TileEntity
public net.minecraft.util.AxisAlignedBB getRenderBoundingBox()
getRenderBoundingBox
in class net.minecraft.tileentity.TileEntity