Package net.minecraft.src
Class TileEntityFurnace
- java.lang.Object
-
- net.minecraft.src.TileEntity
-
- net.minecraft.src.TileEntityFurnace
-
- All Implemented Interfaces:
IInventory
public class TileEntityFurnace extends TileEntity implements IInventory
-
-
Field Summary
Fields Modifier and Type Field Description int
currentItemBurnTime
int
furnaceBurnTime
int
furnaceCookTime
-
Fields inherited from class net.minecraft.src.TileEntity
blockMetadata, blockType, tileEntityInvalid, worldObj, xCoord, yCoord, zCoord
-
-
Constructor Summary
Constructors Constructor Description TileEntityFurnace()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
closeChest()
ItemStack
decrStackSize(int var1, int var2)
static boolean
func_52005_b(ItemStack var0)
@net.minecraft.modding.api.Side.Client int
getBurnTimeRemainingScaled(int var1)
@net.minecraft.modding.api.Side.Client int
getCookProgressScaled(int var1)
int
getInventoryStackLimit()
java.lang.String
getInvName()
static int
getItemBurnTime(ItemStack var1)
int
getSizeInventory()
ItemStack
getStackInSlot(int var1)
ItemStack
getStackInSlotOnClosing(int var1)
boolean
isBurning()
boolean
isUseableByPlayer(Player var1)
void
openChest()
void
readFromNBT(NBTTagCompound var1)
void
setInventorySlotContents(int var1, ItemStack var2)
void
smeltItem()
void
updateEntity()
void
writeToNBT(NBTTagCompound var1)
-
Methods inherited from class net.minecraft.src.TileEntity
createAndLoadEntity, getBlockMetadata, getBlockType, getDescriptionPacket, getDistanceFrom, invalidate, isInvalid, onInventoryChanged, onTileEntityPowered, updateContainingBlockInfo, validate
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface net.minecraft.src.IInventory
onInventoryChanged
-
-
-
-
Method Detail
-
getSizeInventory
public int getSizeInventory()
- Specified by:
getSizeInventory
in interfaceIInventory
-
getStackInSlot
public ItemStack getStackInSlot(int var1)
- Specified by:
getStackInSlot
in interfaceIInventory
-
decrStackSize
public ItemStack decrStackSize(int var1, int var2)
- Specified by:
decrStackSize
in interfaceIInventory
-
getStackInSlotOnClosing
public ItemStack getStackInSlotOnClosing(int var1)
- Specified by:
getStackInSlotOnClosing
in interfaceIInventory
-
setInventorySlotContents
public void setInventorySlotContents(int var1, ItemStack var2)
- Specified by:
setInventorySlotContents
in interfaceIInventory
-
getInvName
public java.lang.String getInvName()
- Specified by:
getInvName
in interfaceIInventory
-
readFromNBT
public void readFromNBT(NBTTagCompound var1)
- Overrides:
readFromNBT
in classTileEntity
-
writeToNBT
public void writeToNBT(NBTTagCompound var1)
- Overrides:
writeToNBT
in classTileEntity
-
getInventoryStackLimit
public int getInventoryStackLimit()
- Specified by:
getInventoryStackLimit
in interfaceIInventory
-
getCookProgressScaled
@Client public @net.minecraft.modding.api.Side.Client int getCookProgressScaled(int var1)
-
getBurnTimeRemainingScaled
@Client public @net.minecraft.modding.api.Side.Client int getBurnTimeRemainingScaled(int var1)
-
isBurning
public boolean isBurning()
-
updateEntity
public void updateEntity()
- Overrides:
updateEntity
in classTileEntity
-
smeltItem
public void smeltItem()
-
getItemBurnTime
public static int getItemBurnTime(ItemStack var1)
-
func_52005_b
public static boolean func_52005_b(ItemStack var0)
-
isUseableByPlayer
public boolean isUseableByPlayer(Player var1)
- Specified by:
isUseableByPlayer
in interfaceIInventory
-
openChest
public void openChest()
- Specified by:
openChest
in interfaceIInventory
-
closeChest
public void closeChest()
- Specified by:
closeChest
in interfaceIInventory
-
-