public class TileFiller extends TileBuildCraft implements IBuilderInventory, IMachine, IActionReceptor, IBoxProvider
| Modifier and Type | Field and Description |
|---|---|
IFillerPattern |
currentPattern |
| Constructor and Description |
|---|
TileFiller() |
| Modifier and Type | Method and Description |
|---|---|
void |
actionActivated(IAction action) |
boolean |
allowAction(IAction action) |
void |
closeInventory() |
net.minecraft.item.ItemStack |
decrStackSize(int slot,
int amount) |
Box |
getBox() |
java.lang.String |
getInventoryName() |
int |
getInventoryStackLimit() |
PacketPayload |
getPacketPayload() |
net.minecraft.util.AxisAlignedBB |
getRenderBoundingBox() |
int |
getSizeInventory() |
net.minecraft.item.ItemStack |
getStackInSlot(int slot) |
net.minecraft.item.ItemStack |
getStackInSlotOnClosing(int slot) |
void |
handleDescriptionPacket(PacketUpdate packet) |
void |
handlePacketPayload(io.netty.buffer.ByteBuf data) |
void |
handleUpdatePacket(PacketUpdate packet) |
boolean |
hasCustomInventoryName() |
void |
initialize() |
void |
invalidate() |
boolean |
isActive() |
boolean |
isBuildingMaterial(int i) |
boolean |
isItemValidForSlot(int slot,
net.minecraft.item.ItemStack stack) |
boolean |
isUseableByPlayer(net.minecraft.entity.player.EntityPlayer entityplayer) |
boolean |
manageFluids() |
boolean |
manageSolids() |
void |
openInventory() |
void |
readFromNBT(net.minecraft.nbt.NBTTagCompound nbt) |
void |
rpcSetPatternFromString(java.lang.String name) |
void |
setInventorySlotContents(int slot,
net.minecraft.item.ItemStack stack) |
void |
setPattern(IFillerPattern pattern) |
void |
setPatternFromString(java.lang.String name) |
void |
updateEntity() |
void |
writeToNBT(net.minecraft.nbt.NBTTagCompound nbt) |
destroy, getDescriptionPacket, getOwner, getUpdatePacket, getWorld, onBlockPlacedBy, postPacketHandling, sendNetworkUpdateaddMapping, canUpdate, createAndLoadEntity, func_145828_a, getBlockMetadata, getBlockType, getDistanceFrom, getMaxRenderDistanceSquared, getWorldObj, hasWorldObj, isInvalid, markDirty, onChunkUnload, onDataPacket, receiveClientEvent, setWorldObj, shouldRefresh, shouldRenderInPass, updateContainingBlockInfo, validatepublic IFillerPattern currentPattern
public void initialize()
initialize in class TileBuildCraftpublic void updateEntity()
updateEntity in class TileBuildCraftpublic final int getSizeInventory()
getSizeInventory in interface net.minecraft.inventory.IInventorypublic net.minecraft.item.ItemStack getStackInSlot(int slot)
getStackInSlot in interface net.minecraft.inventory.IInventorypublic net.minecraft.item.ItemStack decrStackSize(int slot,
int amount)
decrStackSize in interface net.minecraft.inventory.IInventorypublic void setInventorySlotContents(int slot,
net.minecraft.item.ItemStack stack)
setInventorySlotContents in interface net.minecraft.inventory.IInventorypublic net.minecraft.item.ItemStack getStackInSlotOnClosing(int slot)
getStackInSlotOnClosing in interface net.minecraft.inventory.IInventorypublic java.lang.String getInventoryName()
getInventoryName in interface net.minecraft.inventory.IInventorypublic void readFromNBT(net.minecraft.nbt.NBTTagCompound nbt)
readFromNBT in class TileBuildCraftpublic void writeToNBT(net.minecraft.nbt.NBTTagCompound nbt)
writeToNBT in class TileBuildCraftpublic int getInventoryStackLimit()
getInventoryStackLimit in interface net.minecraft.inventory.IInventorypublic boolean isUseableByPlayer(net.minecraft.entity.player.EntityPlayer entityplayer)
isUseableByPlayer in interface net.minecraft.inventory.IInventorypublic void invalidate()
invalidate in class TileBuildCraftpublic void setPattern(IFillerPattern pattern)
public PacketPayload getPacketPayload()
getPacketPayload in interface ISynchronizedTilegetPacketPayload in class TileBuildCraftpublic void handlePacketPayload(io.netty.buffer.ByteBuf data)
public void handleDescriptionPacket(PacketUpdate packet) throws java.io.IOException
handleDescriptionPacket in interface ISynchronizedTilehandleDescriptionPacket in class TileBuildCraftjava.io.IOExceptionpublic void handleUpdatePacket(PacketUpdate packet) throws java.io.IOException
handleUpdatePacket in interface ISynchronizedTilehandleUpdatePacket in class TileBuildCraftjava.io.IOExceptionpublic boolean manageFluids()
manageFluids in interface IMachinepublic boolean manageSolids()
manageSolids in interface IMachinepublic void openInventory()
openInventory in interface net.minecraft.inventory.IInventorypublic void closeInventory()
closeInventory in interface net.minecraft.inventory.IInventorypublic void actionActivated(IAction action)
actionActivated in interface IActionReceptorpublic boolean allowAction(IAction action)
allowAction in interface IMachinepublic boolean isItemValidForSlot(int slot,
net.minecraft.item.ItemStack stack)
isItemValidForSlot in interface net.minecraft.inventory.IInventorypublic void rpcSetPatternFromString(java.lang.String name)
public void setPatternFromString(java.lang.String name)
public boolean hasCustomInventoryName()
hasCustomInventoryName in interface net.minecraft.inventory.IInventorypublic Box getBox()
getBox in interface IBoxProviderpublic net.minecraft.util.AxisAlignedBB getRenderBoundingBox()
getRenderBoundingBox in class net.minecraft.tileentity.TileEntitypublic boolean isBuildingMaterial(int i)
isBuildingMaterial in interface IBuilderInventory