public class TileEntityFurnace extends TileEntity implements IInventory
Modifier and Type | Field and Description |
---|---|
int |
currentItemBurnTime |
int |
furnaceBurnTime |
int |
furnaceCookTime |
field_31007_h, worldObj, xCoord, yCoord, zCoord
Constructor and Description |
---|
TileEntityFurnace() |
Modifier and Type | Method and Description |
---|---|
boolean |
canInteractWith(EntityPlayer entityplayer) |
ItemStack |
decrStackSize(int i,
int j) |
int |
getBurnTimeRemainingScaled(int i) |
int |
getCookProgressScaled(int i) |
int |
getInventoryStackLimit() |
java.lang.String |
getInvName() |
int |
getSizeInventory() |
ItemStack |
getStackInSlot(int i) |
boolean |
isBurning() |
void |
readFromNBT(NBTTagCompound nbttagcompound) |
void |
setInventorySlotContents(int i,
ItemStack itemstack) |
void |
smeltItem() |
void |
updateEntity() |
void |
writeToNBT(NBTTagCompound nbttagcompound) |
createAndLoadEntity, func_31004_j, func_31005_i, func_31006_g, getBlockMetadata, getBlockType, getDistanceFrom, onInventoryChanged
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
onInventoryChanged
public int furnaceBurnTime
public int currentItemBurnTime
public int furnaceCookTime
public int getSizeInventory()
getSizeInventory
in interface IInventory
public ItemStack getStackInSlot(int i)
getStackInSlot
in interface IInventory
public ItemStack decrStackSize(int i, int j)
decrStackSize
in interface IInventory
public void setInventorySlotContents(int i, ItemStack itemstack)
setInventorySlotContents
in interface IInventory
public java.lang.String getInvName()
getInvName
in interface IInventory
public void readFromNBT(NBTTagCompound nbttagcompound)
readFromNBT
in class TileEntity
public void writeToNBT(NBTTagCompound nbttagcompound)
writeToNBT
in class TileEntity
public int getInventoryStackLimit()
getInventoryStackLimit
in interface IInventory
public int getCookProgressScaled(int i)
public int getBurnTimeRemainingScaled(int i)
public boolean isBurning()
public void updateEntity()
updateEntity
in class TileEntity
public void smeltItem()
public boolean canInteractWith(EntityPlayer entityplayer)
canInteractWith
in interface IInventory