public class SmokerBlockEntity extends FurnaceBlockEntity implements org.cloudburstmc.api.blockentity.Smoker
burnDuration, burnTime, cookTime, inventoryclosed, id, ID_ALLOCATOR, lastUpdate, movable, server, timing| Constructor and Description |
|---|
SmokerBlockEntity(org.cloudburstmc.api.blockentity.BlockEntityType<?> type,
org.cloudburstmc.api.level.chunk.Chunk chunk,
com.nukkitx.math.vector.Vector3i position) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
extinguishFurnace() |
float |
getBurnRate() |
boolean |
isValid() |
protected void |
lightFurnace() |
checkFuel, close, getBurnDuration, getBurnTime, getCookTime, getHopperPullSlots, getHopperPushSlots, getInventory, isSpawnable, loadAdditionalData, onBreak, onUpdate, saveAdditionalData, setBurnDuration, setBurnTime, setCookTimegetBlock, getBlockState, getChunk, getChunkTag, getClientTag, getCustomName, getId, getItemTag, getLevel, getPosition, getServer, getServerTag, getTag, getType, hasCustomName, init, isClosed, isMovable, saveClientData, scheduleUpdate, setCustomName, setDirty, setMovable, spawnTo, spawnToAll, updateFromClient, updateNbtMapclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic SmokerBlockEntity(org.cloudburstmc.api.blockentity.BlockEntityType<?> type,
org.cloudburstmc.api.level.chunk.Chunk chunk,
com.nukkitx.math.vector.Vector3i position)
public boolean isValid()
isValid in interface org.cloudburstmc.api.blockentity.BlockEntityisValid in class FurnaceBlockEntitypublic float getBurnRate()
getBurnRate in class FurnaceBlockEntityprotected void extinguishFurnace()
extinguishFurnace in class FurnaceBlockEntityprotected void lightFurnace()
lightFurnace in class FurnaceBlockEntityCopyright © 2021. All rights reserved.