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, onInventoryChangedclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitonInventoryChangedpublic int furnaceBurnTime
public int currentItemBurnTime
public int furnaceCookTime
public int getSizeInventory()
getSizeInventory in interface IInventorypublic ItemStack getStackInSlot(int i)
getStackInSlot in interface IInventorypublic ItemStack decrStackSize(int i, int j)
decrStackSize in interface IInventorypublic void setInventorySlotContents(int i,
ItemStack itemstack)
setInventorySlotContents in interface IInventorypublic java.lang.String getInvName()
getInvName in interface IInventorypublic void readFromNBT(NBTTagCompound nbttagcompound)
readFromNBT in class TileEntitypublic void writeToNBT(NBTTagCompound nbttagcompound)
writeToNBT in class TileEntitypublic int getInventoryStackLimit()
getInventoryStackLimit in interface IInventorypublic int getCookProgressScaled(int i)
public int getBurnTimeRemainingScaled(int i)
public boolean isBurning()
public void updateEntity()
updateEntity in class TileEntitypublic void smeltItem()
public boolean canInteractWith(EntityPlayer entityplayer)
canInteractWith in interface IInventory