public class TileIntegrationTable extends TileLaserTableBase implements net.minecraft.inventory.ISidedInventory
| Modifier and Type | Field and Description |
|---|---|
static int |
SLOT_OUTPUT |
clientRequiredEnergy, invcache, guiWatchers, mode| Constructor and Description |
|---|
TileIntegrationTable() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canCraft() |
boolean |
canExtractItem(int slot,
net.minecraft.item.ItemStack stack,
int side) |
boolean |
canInsertItem(int slot,
net.minecraft.item.ItemStack stack,
int side) |
net.minecraft.item.ItemStack |
decrStackSize(int slot,
int amount) |
int[] |
getAccessibleSlotsFromSide(int side) |
java.lang.String |
getInventoryName() |
int |
getMaxExpansionCount() |
int |
getRequiredEnergy() |
int |
getSizeInventory() |
boolean |
hasCustomInventoryName() |
boolean |
hasWork()
Check if the Tile Entity is currently doing any work.
|
void |
initialize() |
boolean |
isItemValidForSlot(int slot,
net.minecraft.item.ItemStack stack) |
void |
markDirty() |
void |
readData(io.netty.buffer.ByteBuf buf)
Deserializes the state from the stream
|
void |
setInventorySlotContents(int slot,
net.minecraft.item.ItemStack stack) |
void |
updateEntity() |
void |
writeData(io.netty.buffer.ByteBuf buf)
Serializes the state to the stream
|
addEnergy, closeInventory, getEnergy, getGUINetworkData, getInventoryStackLimit, getProgressScaled, getRecentEnergyAverage, getStackInSlot, getStackInSlotOnClosing, getXCoord, getYCoord, getZCoord, isInvalidTarget, isUseableByPlayer, openInventory, outputStack, outputStack, readFromNBT, receiveLaserEnergy, requiresLaserEnergy, sendGUINetworkData, setEnergy, subtractEnergy, writeToNBTaddGuiWatcher, canConnectEnergy, destroy, equals, extractEnergy, getBattery, getBlock, getControlMode, getDescriptionPacket, getEnergyStored, getMaxEnergyStored, getOwner, getPacketUpdate, getTicksSinceEnergyReceived, getTile, hashCode, invalidate, onBlockPlacedBy, receiveEnergy, removeGuiWatcher, sendNetworkUpdate, setBattery, setControlMode, validateaddMapping, canUpdate, createAndLoadEntity, func_145828_a, getBlockMetadata, getBlockType, getDistanceFrom, getMaxRenderDistanceSquared, getRenderBoundingBox, getWorldObj, hasWorldObj, isInvalid, onChunkUnload, onDataPacket, receiveClientEvent, setWorldObj, shouldRefresh, shouldRenderInPass, updateContainingBlockInfopublic static final int SLOT_OUTPUT
public void initialize()
initialize in class TileBuildCraftpublic void updateEntity()
updateEntity in class TileLaserTableBasepublic void writeData(io.netty.buffer.ByteBuf buf)
ISerializablewriteData in interface ISerializablewriteData in class TileBuildCraftpublic void readData(io.netty.buffer.ByteBuf buf)
ISerializablereadData in interface ISerializablereadData in class TileBuildCraftpublic int getMaxExpansionCount()
public int getRequiredEnergy()
getRequiredEnergy in class TileLaserTableBasepublic boolean canCraft()
canCraft in class TileLaserTableBasepublic boolean isItemValidForSlot(int slot,
net.minecraft.item.ItemStack stack)
isItemValidForSlot in interface net.minecraft.inventory.IInventorypublic int getSizeInventory()
getSizeInventory in interface net.minecraft.inventory.IInventorypublic java.lang.String getInventoryName()
getInventoryName in interface net.minecraft.inventory.IInventorypublic boolean hasCustomInventoryName()
hasCustomInventoryName in interface net.minecraft.inventory.IInventorypublic boolean hasWork()
IHasWorkpublic void setInventorySlotContents(int slot,
net.minecraft.item.ItemStack stack)
setInventorySlotContents in interface net.minecraft.inventory.IInventorysetInventorySlotContents in class TileLaserTableBasepublic net.minecraft.item.ItemStack decrStackSize(int slot,
int amount)
decrStackSize in interface net.minecraft.inventory.IInventorydecrStackSize in class TileLaserTableBasepublic void markDirty()
markDirty in interface net.minecraft.inventory.IInventorymarkDirty in class net.minecraft.tileentity.TileEntitypublic int[] getAccessibleSlotsFromSide(int side)
getAccessibleSlotsFromSide in interface net.minecraft.inventory.ISidedInventorypublic boolean canInsertItem(int slot,
net.minecraft.item.ItemStack stack,
int side)
canInsertItem in interface net.minecraft.inventory.ISidedInventorypublic boolean canExtractItem(int slot,
net.minecraft.item.ItemStack stack,
int side)
canExtractItem in interface net.minecraft.inventory.ISidedInventory