public abstract class TileEngineWithInventory extends TileEngine implements net.minecraft.inventory.IInventory
TileEngine.EnergyStageIPipeConnection.ConnectOverrideBASE_TEXTURES, CHAMBER_TEXTURES, currentOutput, energy, energyStage, heat, IDEAL_HEAT, isRedstonePowered, lastPower, MAX_HEAT, MIN_HEAT, orientation, powerHandler, progress, progressPart, TRUNK_BLUE_TEXTURE, TRUNK_GREEN_TEXTURE, TRUNK_RED_TEXTURE, TRUNK_TEXTURES, TRUNK_YELLOW_TEXTURE| Constructor and Description |
|---|
TileEngineWithInventory(int invSize) |
| Modifier and Type | Method and Description |
|---|---|
void |
closeInventory() |
net.minecraft.item.ItemStack |
decrStackSize(int slot,
int amount) |
java.lang.String |
getInventoryName() |
int |
getInventoryStackLimit() |
int |
getSizeInventory() |
net.minecraft.item.ItemStack |
getStackInSlot(int slot) |
net.minecraft.item.ItemStack |
getStackInSlotOnClosing(int slot) |
boolean |
isItemValidForSlot(int i,
net.minecraft.item.ItemStack itemstack) |
boolean |
isUseableByPlayer(net.minecraft.entity.player.EntityPlayer entityplayer) |
void |
openInventory() |
void |
readFromNBT(net.minecraft.nbt.NBTTagCompound data) |
void |
setInventorySlotContents(int slot,
net.minecraft.item.ItemStack itemstack) |
void |
writeToNBT(net.minecraft.nbt.NBTTagCompound data) |
addEnergy, burn, canEmitPowerFrom, checkRedstonePower, computeEnergyStage, doWork, engineUpdate, explosionRange, extractEnergy, getBaseTexture, getChamberTexture, getCurrentOutput, getEnergyLevel, getEnergyStage, getEnergyStored, getGUINetworkData, getHeat, getHeatLevel, getIdealHeatLevel, getMaxEnergy, getPistonSpeed, getPowerReceiver, getScaledBurnTime, getTileBuffer, getTriggers, getTrunkTexture, initialize, invalidate, isActive, isBurning, isOrientationValid, isPoweredTile, maxEnergyExtracted, maxEnergyReceived, minEnergyReceived, onBlockActivated, overridePipeConnection, sendGUINetworkData, setPumping, switchOrientation, updateEntity, updateHeatLevel, validatedestroy, getDescriptionPacket, getOwner, getPacketPayload, getUpdatePacket, getWorld, handleDescriptionPacket, handleUpdatePacket, onBlockPlacedBy, postPacketHandling, sendNetworkUpdateaddMapping, canUpdate, createAndLoadEntity, func_145828_a, getBlockMetadata, getBlockType, getDistanceFrom, getMaxRenderDistanceSquared, getRenderBoundingBox, getWorldObj, hasWorldObj, isInvalid, markDirty, onChunkUnload, onDataPacket, receiveClientEvent, setWorldObj, shouldRefresh, shouldRenderInPass, updateContainingBlockInfoclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waithasCustomInventoryName, markDirtygetWorldpublic 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 net.minecraft.item.ItemStack getStackInSlotOnClosing(int slot)
getStackInSlotOnClosing in interface net.minecraft.inventory.IInventorypublic void setInventorySlotContents(int slot,
net.minecraft.item.ItemStack itemstack)
setInventorySlotContents in interface net.minecraft.inventory.IInventorypublic boolean isItemValidForSlot(int i,
net.minecraft.item.ItemStack itemstack)
isItemValidForSlot 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 isUseableByPlayer(net.minecraft.entity.player.EntityPlayer entityplayer)
isUseableByPlayer in interface net.minecraft.inventory.IInventorypublic void openInventory()
openInventory in interface net.minecraft.inventory.IInventorypublic void closeInventory()
closeInventory in interface net.minecraft.inventory.IInventorypublic void readFromNBT(net.minecraft.nbt.NBTTagCompound data)
readFromNBT in class TileEnginepublic void writeToNBT(net.minecraft.nbt.NBTTagCompound data)
writeToNBT in class TileEngine