public class TileEntityBlockChiseled extends net.minecraft.tileentity.TileEntity implements IChiseledTileContainer, IChiseledBlockTileEntity
| Modifier and Type | Class and Description |
|---|---|
static class |
TileEntityBlockChiseled.TileEntityBlockChiseledDummy |
| Modifier and Type | Field and Description |
|---|---|
IChiseledTileContainer |
occlusionState |
| Constructor and Description |
|---|
TileEntityBlockChiseled() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canMerge(VoxelBlob voxelBlob) |
void |
completeEditOperation(VoxelBlob vb) |
void |
copyFrom(TileEntityBlockChiseled src) |
void |
fillWith(net.minecraft.block.state.IBlockState blockType) |
void |
finishUpdate() |
net.minecraftforge.common.property.IExtendedBlockState |
getBasicState() |
VoxelBlob |
getBlob() |
VoxelBlobStateReference |
getBlobStateReference() |
BlockBitInfo |
getBlockInfo(net.minecraft.block.Block alternative) |
net.minecraft.block.state.IBlockState |
getBlockState(net.minecraft.block.Block alternative) |
java.util.Collection<net.minecraft.util.math.AxisAlignedBB> |
getBoxes(BoxType type) |
net.minecraft.item.ItemStack |
getItemStack(net.minecraft.entity.player.EntityPlayer player) |
int |
getLightValue() |
net.minecraft.block.state.IBlockState |
getPreferedBlock() |
net.minecraft.util.math.AxisAlignedBB |
getRenderBoundingBox() |
net.minecraftforge.common.property.IExtendedBlockState |
getRenderState(net.minecraft.world.IBlockAccess access) |
protected net.minecraftforge.common.property.IExtendedBlockState |
getState(boolean updateNeightbors,
int updateCost,
net.minecraft.world.IBlockAccess access) |
IChiseledTileContainer |
getTileContainer() |
net.minecraft.network.play.server.SPacketUpdateTileEntity |
getUpdatePacket() |
net.minecraft.nbt.NBTTagCompound |
getUpdateTag() |
void |
handleUpdateTag(net.minecraft.nbt.NBTTagCompound tag) |
void |
invalidate() |
boolean |
isBlobOccluded(VoxelBlob blob) |
boolean |
isInnerSideOpaque(net.minecraft.util.EnumFacing side) |
boolean |
isNormalCube() |
boolean |
isSideOpaque(net.minecraft.util.EnumFacing side) |
boolean |
isSideSolid(net.minecraft.util.EnumFacing side) |
void |
mirror(net.minecraft.util.Mirror p_189668_1_) |
void |
onDataPacket(net.minecraft.network.NetworkManager net,
net.minecraft.network.play.server.SPacketUpdateTileEntity pkt) |
boolean |
readChisleData(net.minecraft.nbt.NBTTagCompound tag) |
void |
readFromNBT(net.minecraft.nbt.NBTTagCompound compound) |
void |
rotate(net.minecraft.util.Rotation p_189667_1_) |
void |
rotateBlock(net.minecraft.util.EnumFacing axis) |
void |
saveData() |
void |
sendUpdate() |
void |
setBlob(VoxelBlob vb) |
void |
setBlob(VoxelBlob vb,
boolean triggerUpdates) |
static void |
setLightFromBlock(net.minecraft.block.state.IBlockState defaultState) |
void |
setNormalCube(boolean b) |
void |
setState(net.minecraftforge.common.property.IExtendedBlockState state) |
boolean |
shouldRefresh(net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.block.state.IBlockState oldState,
net.minecraft.block.state.IBlockState newState) |
protected boolean |
supportsSwapping() |
protected void |
tesrUpdate(net.minecraft.world.IBlockAccess access,
VoxelNeighborRenderTracker vns) |
boolean |
updateBlob(NBTBlobConverter converter,
boolean triggerUpdates) |
void |
writeChisleData(net.minecraft.nbt.NBTTagCompound tag) |
net.minecraft.nbt.NBTTagCompound |
writeTileEntityToTag(net.minecraft.nbt.NBTTagCompound tag,
boolean crossWorld)
Used to write Tile Data into cross world format, can be invoked via
interface or via reflection on the tile itself.
|
net.minecraft.nbt.NBTTagCompound |
writeToNBT(net.minecraft.nbt.NBTTagCompound compound) |
addInfoToCrashReport, canRenderBreaking, create, deserializeNBT, func_190559_a, getBlockMetadata, getBlockType, getCapability, getDisplayName, getDistanceSq, getMaxRenderDistanceSquared, getPos, getTileData, getWorld, hasCapability, hasFastRenderer, hasWorldObj, isInvalid, markDirty, onChunkUnload, onLoad, onlyOpsCanSetNbt, receiveClientEvent, restrictNBTCopy, serializeNBT, setPos, setWorldCreate, setWorldObj, shouldRenderInPass, updateContainingBlockInfo, validatepublic IChiseledTileContainer occlusionState
public IChiseledTileContainer getTileContainer()
public boolean isBlobOccluded(VoxelBlob blob)
isBlobOccluded in interface IChiseledTileContainerpublic void saveData()
saveData in interface IChiseledTileContainerpublic void sendUpdate()
sendUpdate in interface IChiseledTileContainerpublic void copyFrom(TileEntityBlockChiseled src)
public net.minecraftforge.common.property.IExtendedBlockState getBasicState()
public net.minecraftforge.common.property.IExtendedBlockState getRenderState(net.minecraft.world.IBlockAccess access)
protected boolean supportsSwapping()
@Nonnull
protected net.minecraftforge.common.property.IExtendedBlockState getState(boolean updateNeightbors,
int updateCost,
net.minecraft.world.IBlockAccess access)
protected void tesrUpdate(net.minecraft.world.IBlockAccess access,
VoxelNeighborRenderTracker vns)
public BlockBitInfo getBlockInfo(net.minecraft.block.Block alternative)
public net.minecraft.block.state.IBlockState getBlockState(net.minecraft.block.Block alternative)
public void setState(net.minecraftforge.common.property.IExtendedBlockState state)
public boolean shouldRefresh(net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.block.state.IBlockState oldState,
net.minecraft.block.state.IBlockState newState)
shouldRefresh in class net.minecraft.tileentity.TileEntitypublic net.minecraft.network.play.server.SPacketUpdateTileEntity getUpdatePacket()
getUpdatePacket in class net.minecraft.tileentity.TileEntitypublic net.minecraft.nbt.NBTTagCompound getUpdateTag()
getUpdateTag in class net.minecraft.tileentity.TileEntitypublic void handleUpdateTag(net.minecraft.nbt.NBTTagCompound tag)
handleUpdateTag in class net.minecraft.tileentity.TileEntitypublic void onDataPacket(net.minecraft.network.NetworkManager net,
net.minecraft.network.play.server.SPacketUpdateTileEntity pkt)
onDataPacket in class net.minecraft.tileentity.TileEntitypublic boolean readChisleData(net.minecraft.nbt.NBTTagCompound tag)
public void writeChisleData(net.minecraft.nbt.NBTTagCompound tag)
public net.minecraft.nbt.NBTTagCompound writeToNBT(net.minecraft.nbt.NBTTagCompound compound)
writeToNBT in class net.minecraft.tileentity.TileEntitypublic void readFromNBT(net.minecraft.nbt.NBTTagCompound compound)
readFromNBT in class net.minecraft.tileentity.TileEntitypublic net.minecraft.nbt.NBTTagCompound writeTileEntityToTag(net.minecraft.nbt.NBTTagCompound tag,
boolean crossWorld)
IChiseledBlockTileEntitywriteTileEntityToTag in interface IChiseledBlockTileEntitypublic void mirror(net.minecraft.util.Mirror p_189668_1_)
mirror in class net.minecraft.tileentity.TileEntitypublic void rotate(net.minecraft.util.Rotation p_189667_1_)
rotate in class net.minecraft.tileentity.TileEntitypublic void fillWith(net.minecraft.block.state.IBlockState blockType)
public VoxelBlobStateReference getBlobStateReference()
public VoxelBlob getBlob()
public net.minecraft.block.state.IBlockState getPreferedBlock()
public void setBlob(VoxelBlob vb)
public boolean updateBlob(NBTBlobConverter converter, boolean triggerUpdates)
public void setBlob(VoxelBlob vb, boolean triggerUpdates)
public net.minecraft.item.ItemStack getItemStack(net.minecraft.entity.player.EntityPlayer player)
public boolean isNormalCube()
public boolean isSideSolid(net.minecraft.util.EnumFacing side)
public boolean isSideOpaque(net.minecraft.util.EnumFacing side)
public boolean isInnerSideOpaque(net.minecraft.util.EnumFacing side)
public void completeEditOperation(VoxelBlob vb)
public void rotateBlock(net.minecraft.util.EnumFacing axis)
public boolean canMerge(VoxelBlob voxelBlob)
public java.util.Collection<net.minecraft.util.math.AxisAlignedBB> getBoxes(BoxType type)
public net.minecraft.util.math.AxisAlignedBB getRenderBoundingBox()
getRenderBoundingBox in class net.minecraft.tileentity.TileEntitypublic void setNormalCube(boolean b)
public static void setLightFromBlock(net.minecraft.block.state.IBlockState defaultState)
public int getLightValue()
public void invalidate()
invalidate in class net.minecraft.tileentity.TileEntitypublic void finishUpdate()