public class TileBuilder extends TileBuildCraft implements IBuilderInventory, IPowerReceptor, IMachine
| Constructor and Description |
|---|
TileBuilder() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
allowAction(IAction action) |
void |
cleanPathLasers() |
void |
closeInventory() |
void |
createLasersForPath() |
net.minecraft.item.ItemStack |
decrStackSize(int i,
int j) |
void |
destroy() |
void |
doWork(PowerHandler workProvider)
Call back from the PowerHandler that is called when the stored power
exceeds the activation power.
|
java.lang.String |
getInventoryName() |
int |
getInventoryStackLimit() |
java.util.Collection<net.minecraft.item.ItemStack> |
getNeededItems() |
PowerHandler.PowerReceiver |
getPowerReceiver(net.minecraftforge.common.util.ForgeDirection side)
Get the PowerReceiver for this side of the block.
|
int |
getSizeInventory() |
net.minecraft.item.ItemStack |
getStackInSlot(int i) |
net.minecraft.item.ItemStack |
getStackInSlotOnClosing(int slot) |
void |
handleDescriptionPacket(PacketUpdate packet) |
void |
handleUpdatePacket(PacketUpdate packet) |
boolean |
hasCustomInventoryName() |
void |
initialize() |
BptBuilderBase |
instanciateBluePrint(int x,
int y,
int z,
net.minecraftforge.common.util.ForgeDirection o) |
void |
invalidate() |
boolean |
isActive() |
boolean |
isBuildingBlueprint() |
boolean |
isBuildingMaterial(int i) |
boolean |
isItemValidForSlot(int i,
net.minecraft.item.ItemStack itemstack) |
boolean |
isUseableByPlayer(net.minecraft.entity.player.EntityPlayer entityplayer) |
void |
iterateBpt() |
boolean |
manageFluids() |
boolean |
manageSolids() |
void |
openInventory() |
void |
readFromNBT(net.minecraft.nbt.NBTTagCompound nbttagcompound) |
void |
setInventorySlotContents(int i,
net.minecraft.item.ItemStack itemstack) |
void |
updateEntity() |
void |
writeToNBT(net.minecraft.nbt.NBTTagCompound nbttagcompound) |
getDescriptionPacket, getOwner, getPacketPayload, getUpdatePacket, getWorld, onBlockPlacedBy, postPacketHandling, sendNetworkUpdateaddMapping, canUpdate, createAndLoadEntity, func_145828_a, getBlockMetadata, getBlockType, getDistanceFrom, getMaxRenderDistanceSquared, getRenderBoundingBox, getWorldObj, hasWorldObj, isInvalid, markDirty, onChunkUnload, onDataPacket, receiveClientEvent, setWorldObj, shouldRefresh, shouldRenderInPass, updateContainingBlockInfo, validateclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetWorldpublic Box box
public void initialize()
initialize in class TileBuildCraftpublic void createLasersForPath()
public BptBuilderBase instanciateBluePrint(int x, int y, int z, net.minecraftforge.common.util.ForgeDirection o)
public void doWork(PowerHandler workProvider)
IPowerReceptordoWork in interface IPowerReceptorpublic void iterateBpt()
public int getSizeInventory()
getSizeInventory in interface net.minecraft.inventory.IInventorypublic net.minecraft.item.ItemStack getStackInSlot(int i)
getStackInSlot in interface net.minecraft.inventory.IInventorypublic net.minecraft.item.ItemStack decrStackSize(int i,
int j)
decrStackSize in interface net.minecraft.inventory.IInventorypublic void setInventorySlotContents(int i,
net.minecraft.item.ItemStack itemstack)
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 int getInventoryStackLimit()
getInventoryStackLimit in interface net.minecraft.inventory.IInventorypublic boolean isItemValidForSlot(int i,
net.minecraft.item.ItemStack itemstack)
isItemValidForSlot in interface net.minecraft.inventory.IInventorypublic boolean isUseableByPlayer(net.minecraft.entity.player.EntityPlayer entityplayer)
isUseableByPlayer in interface net.minecraft.inventory.IInventorypublic void readFromNBT(net.minecraft.nbt.NBTTagCompound nbttagcompound)
readFromNBT in class TileBuildCraftpublic void writeToNBT(net.minecraft.nbt.NBTTagCompound nbttagcompound)
writeToNBT in class TileBuildCraftpublic void invalidate()
invalidate in class TileBuildCraftpublic void destroy()
destroy in class TileBuildCraftpublic PowerHandler.PowerReceiver getPowerReceiver(net.minecraftforge.common.util.ForgeDirection side)
IPowerReceptorgetPowerReceiver in interface IPowerReceptorpublic 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 void openInventory()
openInventory in interface net.minecraft.inventory.IInventorypublic void closeInventory()
closeInventory in interface net.minecraft.inventory.IInventorypublic void updateEntity()
updateEntity in class TileBuildCraftpublic boolean manageFluids()
manageFluids in interface IMachinepublic boolean manageSolids()
manageSolids in interface IMachinepublic void cleanPathLasers()
public boolean isBuildingBlueprint()
public java.util.Collection<net.minecraft.item.ItemStack> getNeededItems()
public boolean isBuildingMaterial(int i)
isBuildingMaterial in interface IBuilderInventorypublic boolean allowAction(IAction action)
allowAction in interface IMachinepublic boolean hasCustomInventoryName()
hasCustomInventoryName in interface net.minecraft.inventory.IInventory