public class TileEntityFurnace extends TileEntity implements ISidedInventory
Modifier and Type | Field and Description |
---|---|
int |
currentItemBurnTime |
int |
furnaceBurnTime |
int |
furnaceCookTime |
blockMetadata, blockType, tileEntityInvalid, worldObj, xCoord, yCoord, zCoord
Constructor and Description |
---|
TileEntityFurnace() |
Modifier and Type | Method and Description |
---|---|
boolean |
canExtractItem(int p_102008_1_,
ItemStack p_102008_2_,
int p_102008_3_) |
boolean |
canInsertItem(int p_102007_1_,
ItemStack p_102007_2_,
int p_102007_3_) |
void |
closeInventory() |
ItemStack |
decrStackSize(int p_70298_1_,
int p_70298_2_) |
void |
func_145951_a(java.lang.String p_145951_1_) |
int[] |
getAccessibleSlotsFromSide(int p_94128_1_) |
int |
getBurnTimeRemainingScaled(int p_145955_1_) |
int |
getCookProgressScaled(int p_145953_1_) |
java.lang.String |
getInventoryName() |
int |
getInventoryStackLimit() |
static int |
getItemBurnTime(ItemStack p_145952_0_) |
int |
getSizeInventory() |
ItemStack |
getStackInSlot(int p_70301_1_) |
ItemStack |
getStackInSlotOnClosing(int p_70304_1_) |
boolean |
hasCustomInventoryName() |
boolean |
isBurning() |
static boolean |
isItemFuel(ItemStack p_145954_0_) |
boolean |
isItemValidForSlot(int p_94041_1_,
ItemStack p_94041_2_) |
boolean |
isUseableByPlayer(EntityPlayer p_70300_1_) |
void |
openInventory() |
void |
readFromNBT(NBTTagCompound p_145839_1_) |
void |
setInventorySlotContents(int p_70299_1_,
ItemStack p_70299_2_) |
void |
smeltItem() |
void |
updateEntity() |
void |
writeToNBT(NBTTagCompound p_145841_1_) |
addMapping, createAndLoadEntity, func_145828_a, getBlockMetadata, getBlockType, getDescriptionPacket, getDistanceFrom, getMaxRenderDistanceSquared, getWorldObj, hasWorldObj, invalidate, isInvalid, markDirty, receiveClientEvent, setWorldObj, updateContainingBlockInfo, validate
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
markDirty
public int furnaceBurnTime
public int currentItemBurnTime
public int furnaceCookTime
public int getSizeInventory()
getSizeInventory
in interface IInventory
public ItemStack getStackInSlot(int p_70301_1_)
getStackInSlot
in interface IInventory
public ItemStack decrStackSize(int p_70298_1_, int p_70298_2_)
decrStackSize
in interface IInventory
public ItemStack getStackInSlotOnClosing(int p_70304_1_)
getStackInSlotOnClosing
in interface IInventory
public void setInventorySlotContents(int p_70299_1_, ItemStack p_70299_2_)
setInventorySlotContents
in interface IInventory
public java.lang.String getInventoryName()
getInventoryName
in interface IInventory
public boolean hasCustomInventoryName()
hasCustomInventoryName
in interface IInventory
public void func_145951_a(java.lang.String p_145951_1_)
public void readFromNBT(NBTTagCompound p_145839_1_)
readFromNBT
in class TileEntity
public void writeToNBT(NBTTagCompound p_145841_1_)
writeToNBT
in class TileEntity
public int getInventoryStackLimit()
getInventoryStackLimit
in interface IInventory
public int getCookProgressScaled(int p_145953_1_)
public int getBurnTimeRemainingScaled(int p_145955_1_)
public boolean isBurning()
public void updateEntity()
updateEntity
in class TileEntity
public void smeltItem()
public static int getItemBurnTime(ItemStack p_145952_0_)
public static boolean isItemFuel(ItemStack p_145954_0_)
public boolean isUseableByPlayer(EntityPlayer p_70300_1_)
isUseableByPlayer
in interface IInventory
public void openInventory()
openInventory
in interface IInventory
public void closeInventory()
closeInventory
in interface IInventory
public boolean isItemValidForSlot(int p_94041_1_, ItemStack p_94041_2_)
isItemValidForSlot
in interface IInventory
public int[] getAccessibleSlotsFromSide(int p_94128_1_)
getAccessibleSlotsFromSide
in interface ISidedInventory
public boolean canInsertItem(int p_102007_1_, ItemStack p_102007_2_, int p_102007_3_)
canInsertItem
in interface ISidedInventory
public boolean canExtractItem(int p_102008_1_, ItemStack p_102008_2_, int p_102008_3_)
canExtractItem
in interface ISidedInventory