Package btw.block.tileentity
Class CauldronTileEntity
java.lang.Object
net.minecraft.src.TileEntity
btw.block.tileentity.CookingVesselTileEntity
btw.block.tileentity.CauldronTileEntity
- All Implemented Interfaces:
TileEntityDataPacketHandler,IInventory
-
Field Summary
Fields inherited from class btw.block.tileentity.CookingVesselTileEntity
containsValidIngredientsForState, contents, cookCounter, fireUnderType, forceFacing, INVENTORY_SIZE, scaledCookCounter, STACK_SIZE_TO_DROP_WHEN_TIPPED, stokedCooldownCounter, storageSlotsOccupiedFields inherited from class net.minecraft.src.TileEntity
blockMetadata, blockType, tileEntityInvalid, worldObj, xCoord, yCoord, zCoord -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanprotected BulkCraftingManagergetCraftingManager(int iFireType) Returns the name of the inventory.intbooleanIf this returns false, the inventory name will be used as an unlocalized name, and translated into the player's language.booleanisItemValidForSlot(int iSlot, ItemStack stack) Returns true if automation is allowed to insert the given stack (ignoring stack size) into the given slot.voidreadFromNBT(NBTTagCompound nbttagcompound) Reads a tile entity from NBT.voidvoidwriteToNBT(NBTTagCompound nbttagcompound) Writes a tile entity to NBT.Methods inherited from class btw.block.tileentity.CookingVesselTileEntity
attemptToCookStoked, closeChest, decrStackSize, doesContainExplosives, getCookProgressScaled, getCurrentFireFactor, getDescriptionPacket, getInventoryStackLimit, getSizeInventory, getStackInSlot, getStackInSlotOnClosing, isCooking, isUseableByPlayer, onInventoryChanged, openChest, readNBTFromPacket, setInventorySlotContents, updateEntity, validateFireUnderTypeMethods inherited from class net.minecraft.src.TileEntity
addMapping, createAndLoadEntity, func_85027_a, getBlockMetadata, getBlockType, getDistanceFrom, getMaxRenderDistanceSquared, getWorldObj, hasWorldObj, invalidate, isInvalid, receiveClientEvent, setWorldObj, updateContainingBlockInfo, validate
-
Constructor Details
-
CauldronTileEntity
public CauldronTileEntity()
-
-
Method Details
-
readFromNBT
Description copied from class:TileEntityReads a tile entity from NBT.- Overrides:
readFromNBTin classCookingVesselTileEntity
-
writeToNBT
Description copied from class:TileEntityWrites a tile entity to NBT.- Overrides:
writeToNBTin classCookingVesselTileEntity
-
getInvName
Description copied from interface:IInventoryReturns the name of the inventory. -
isItemValidForSlot
Description copied from interface:IInventoryReturns true if automation is allowed to insert the given stack (ignoring stack size) into the given slot. -
isInvNameLocalized
public boolean isInvNameLocalized()Description copied from interface:IInventoryIf this returns false, the inventory name will be used as an unlocalized name, and translated into the player's language. Otherwise it will be used directly. -
validateContentsForState
public void validateContentsForState()- Specified by:
validateContentsForStatein classCookingVesselTileEntity
-
getCraftingManager
- Specified by:
getCraftingManagerin classCookingVesselTileEntity
-
attemptToCookNormal
protected boolean attemptToCookNormal()- Overrides:
attemptToCookNormalin classCookingVesselTileEntity
-
getUncookedItemInventoryIndex
public int getUncookedItemInventoryIndex()
-