public class TileEntityStructure extends TileEntity
Modifier and Type | Class and Description |
---|---|
static class |
TileEntityStructure.Mode |
blockType, INFINITE_EXTENT_AABB, pos, tileEntityInvalid, worldObj
Constructor and Description |
---|
TileEntityStructure() |
Modifier and Type | Method and Description |
---|---|
boolean |
detectSize() |
SPacketUpdateTileEntity |
getUpdatePacket() |
NBTTagCompound |
getUpdateTag() |
boolean |
load() |
void |
readFromNBT(NBTTagCompound compound) |
boolean |
save() |
void |
setIgnoresEntities(boolean ignoreEntitiesIn) |
void |
setMetadata(java.lang.String metadataIn) |
void |
setMirror(Mirror mirrorIn) |
void |
setMode(TileEntityStructure.Mode modeIn) |
void |
setName(java.lang.String nameIn) |
void |
setPosition(BlockPos posIn) |
void |
setRotation(Rotation rotationIn) |
void |
setSize(BlockPos sizeIn) |
NBTTagCompound |
writeToNBT(NBTTagCompound compound) |
addInfoToCrashReport, addMapping, canRenderBreaking, create, deserializeNBT, getBlockMetadata, getBlockType, getCapability, getDistanceSq, getMaxRenderDistanceSquared, getPos, getRenderBoundingBox, getTileData, getWorld, handleUpdateTag, hasCapability, hasFastRenderer, hasWorldObj, invalidate, isInvalid, markDirty, onChunkUnload, onDataPacket, onLoad, onlyOpsCanSetNbt, receiveClientEvent, restrictNBTCopy, serializeNBT, setPos, setWorldObj, shouldRefresh, shouldRenderInPass, updateContainingBlockInfo, validate
public NBTTagCompound writeToNBT(NBTTagCompound compound)
writeToNBT
in class TileEntity
public void readFromNBT(NBTTagCompound compound)
readFromNBT
in class TileEntity
@Nullable public SPacketUpdateTileEntity getUpdatePacket()
getUpdatePacket
in class TileEntity
public NBTTagCompound getUpdateTag()
getUpdateTag
in class TileEntity
public void setName(java.lang.String nameIn)
public void setPosition(BlockPos posIn)
public void setSize(BlockPos sizeIn)
public void setMirror(Mirror mirrorIn)
public void setRotation(Rotation rotationIn)
public void setMetadata(java.lang.String metadataIn)
public void setMode(TileEntityStructure.Mode modeIn)
public void setIgnoresEntities(boolean ignoreEntitiesIn)
public boolean detectSize()
public boolean save()
public boolean load()