public class TileEntityFurnace extends TileEntityLockable implements ISidedInventory, IRecipeHolder, IRecipeHelperPopulator, ITickable
pos, removed, worldINFINITE_EXTENT_AABB| Constructor and Description |
|---|
TileEntityFurnace() |
createUnSidedHandler, getLockCode, isLocked, setLockCodeaddInfoToCrashReport, create, getBlockState, getDistanceSq, getMaxRenderDistanceSquared, getPos, getTileData, getType, getUpdatePacket, getUpdateTag, getWorld, hasWorld, isRemoved, markDirty, mirror, onlyOpsCanSetNbt, receiveClientEvent, rotate, setPos, setWorld, updateContainingBlockInfo, validateareCapsCompatible, areCapsCompatible, deserializeCaps, gatherCapabilities, gatherCapabilities, getCapabilities, invalidateCaps, reviveCaps, serializeCapsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetHeight, getWidth, markDirtygetDisplayNamecanRenderBreaking, deserializeNBT, getModelData, getRenderBoundingBox, getTileEntity, handleUpdateTag, hasFastRenderer, onChunkUnloaded, onDataPacket, onLoad, requestModelDataUpdate, serializeNBT, shouldRenderInPassgetCapabilitypublic static java.util.Map<Item,java.lang.Integer> getBurnTimes()
public int getSizeInventory()
getSizeInventory in interface IInventorypublic boolean isEmpty()
isEmpty in interface IInventorypublic ItemStack getStackInSlot(int index)
getStackInSlot in interface IInventorypublic ItemStack decrStackSize(int index, int count)
decrStackSize in interface IInventorypublic ItemStack removeStackFromSlot(int index)
removeStackFromSlot in interface IInventorypublic void setInventorySlotContents(int index,
ItemStack stack)
setInventorySlotContents in interface IInventorypublic ITextComponent getName()
public boolean hasCustomName()
hasCustomName in interface INameable@Nullable public ITextComponent getCustomName()
getCustomName in interface INameablepublic void setCustomName(@Nullable
ITextComponent name)
public void read(NBTTagCompound compound)
read in class TileEntityLockablepublic NBTTagCompound write(NBTTagCompound compound)
write in class TileEntityLockablepublic int getInventoryStackLimit()
getInventoryStackLimit in interface IInventorypublic static boolean isBurning(IInventory inventory)
public static boolean isItemFuel(ItemStack stack)
public boolean isUsableByPlayer(EntityPlayer player)
isUsableByPlayer in interface IInventorypublic void openInventory(EntityPlayer player)
openInventory in interface IInventorypublic void closeInventory(EntityPlayer player)
closeInventory in interface IInventorypublic boolean isItemValidForSlot(int index,
ItemStack stack)
isItemValidForSlot in interface IInventorypublic int[] getSlotsForFace(EnumFacing side)
getSlotsForFace in interface ISidedInventorypublic boolean canInsertItem(int index,
ItemStack itemStackIn,
@Nullable
EnumFacing direction)
canInsertItem in interface ISidedInventorypublic boolean canExtractItem(int index,
ItemStack stack,
EnumFacing direction)
canExtractItem in interface ISidedInventorypublic java.lang.String getGuiID()
getGuiID in interface IInteractionObjectpublic Container createContainer(InventoryPlayer playerInventory, EntityPlayer playerIn)
createContainer in interface IInteractionObjectpublic int getField(int id)
getField in interface IInventorypublic void setField(int id,
int value)
setField in interface IInventorypublic int getFieldCount()
getFieldCount in interface IInventorypublic void clear()
clear in interface IInventorypublic void fillStackedContents(RecipeItemHelper helper)
fillStackedContents in interface IRecipeHelperPopulatorpublic void setRecipeUsed(IRecipe recipe)
setRecipeUsed in interface IRecipeHolder@Nullable public IRecipe getRecipeUsed()
getRecipeUsed in interface IRecipeHolderpublic java.util.Map<ResourceLocation,java.lang.Integer> getRecipeUseCounts()
public boolean canUseRecipe(World worldIn, EntityPlayerMP player, @Nullable IRecipe recipe)
canUseRecipe in interface IRecipeHolderpublic void onCrafting(EntityPlayer player)
onCrafting in interface IRecipeHolderpublic <T> LazyOptional<T> getCapability(Capability<T> capability, @Nullable EnumFacing facing)
ICapabilityProvidergetCapability in interface ICapabilityProvidergetCapability in class TileEntityLockablepublic void remove()
remove in class TileEntityLockable