public class GlowFurnace extends GlowContainer implements org.bukkit.block.Furnace
data, typeId| Constructor and Description |
|---|
GlowFurnace(GlowBlock block)
/**
Creates an instance for the given block.
|
GlowFurnace(GlowBlock block,
short burnTime,
short cookTime)
Creates an instance for the given block.
|
| Modifier and Type | Method and Description |
|---|---|
short |
getBurnTime() |
short |
getCookTime() |
org.bukkit.inventory.FurnaceInventory |
getInventory() |
org.bukkit.inventory.FurnaceInventory |
getSnapshotInventory() |
void |
setBurnTime(short burnTime) |
void |
setCookTime(short cookTime) |
boolean |
update(boolean force,
boolean applyPhysics) |
clearLootTable, getCustomName, getLastFilled, getLastLooted, getLock, getLootTableName, getLootTableSeed, getNextRefill, hasBeenFilled, hasLootTable, hasPendingRefill, hasPlayerLooted, isLocked, isRefillEnabled, setCustomName, setHasPlayerLooted, setLock, setLootTable, setLootTable, setLootTableSeed, setNextRefillequals, getBlock, getChunk, getData, getLightLevel, getLocation, getLocation, getMetadata, getRawData, getType, getTypeId, getWorld, getX, getY, getZ, hashCode, hasMetadata, isFlowed, isPlaced, removeMetadata, setData, setFlowed, setMetadata, setRawData, setType, setTypeId, update, updateclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitgetBlock, getChunk, getData, getLightLevel, getLocation, getLocation, getRawData, getType, getTypeId, getWorld, getX, getY, getZ, isPlaced, setData, setRawData, setType, setTypeId, update, updatepublic GlowFurnace(GlowBlock block)
block - the furnace blockpublic GlowFurnace(GlowBlock block, short burnTime, short cookTime)
block - the furnace blockburnTime - the number of ticks before this furnace must consume more fuel, or 0 if not
burningcookTime - the number of ticks the current item has been cookingpublic org.bukkit.inventory.FurnaceInventory getInventory()
getInventory in interface org.bukkit.block.ContainergetInventory in interface org.bukkit.block.FurnacegetInventory in interface org.bukkit.inventory.InventoryHolderpublic boolean update(boolean force,
boolean applyPhysics)
update in interface org.bukkit.block.BlockStateupdate in class GlowBlockStatepublic org.bukkit.inventory.FurnaceInventory getSnapshotInventory()
getSnapshotInventory in interface org.bukkit.block.ContainergetSnapshotInventory in interface org.bukkit.block.FurnacegetSnapshotInventory in class GlowContainerpublic short getBurnTime()
getBurnTime in interface org.bukkit.block.Furnacepublic void setBurnTime(short burnTime)
setBurnTime in interface org.bukkit.block.Furnacepublic short getCookTime()
getCookTime in interface org.bukkit.block.Furnacepublic void setCookTime(short cookTime)
setCookTime in interface org.bukkit.block.FurnaceCopyright © 2021. All rights reserved.