Class BlastFurnaceBlockEntity
java.lang.Object
org.cloudburstmc.server.blockentity.BaseBlockEntity
org.cloudburstmc.server.blockentity.FurnaceBlockEntity
org.cloudburstmc.server.blockentity.BlastFurnaceBlockEntity
- All Implemented Interfaces:
org.cloudburstmc.api.blockentity.BlastFurnace,org.cloudburstmc.api.blockentity.BlockEntity,org.cloudburstmc.api.blockentity.ContainerBlockEntity,org.cloudburstmc.api.blockentity.Furnace,org.cloudburstmc.api.inventory.InventoryHolder
public class BlastFurnaceBlockEntity
extends FurnaceBlockEntity
implements org.cloudburstmc.api.blockentity.BlastFurnace
-
Field Summary
Fields inherited from class org.cloudburstmc.server.blockentity.FurnaceBlockEntity
burnDuration, burnTime, cookTime, inventoryFields inherited from class org.cloudburstmc.server.blockentity.BaseBlockEntity
closed, id, ID_ALLOCATOR, lastUpdate, movable, server, timing -
Constructor Summary
ConstructorsConstructorDescriptionBlastFurnaceBlockEntity(org.cloudburstmc.api.blockentity.BlockEntityType<?> type, org.cloudburstmc.api.level.chunk.Chunk chunk, com.nukkitx.math.vector.Vector3i position) -
Method Summary
Methods inherited from class org.cloudburstmc.server.blockentity.FurnaceBlockEntity
checkFuel, close, getBurnDuration, getBurnTime, getCookTime, getHopperPullSlots, getHopperPushSlots, getInventory, isSpawnable, loadAdditionalData, onBreak, onUpdate, saveAdditionalData, setBurnDuration, setBurnTime, setCookTimeMethods inherited from class org.cloudburstmc.server.blockentity.BaseBlockEntity
getBlock, 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, updateNbtMapMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.cloudburstmc.api.blockentity.BlockEntity
close, getBlock, getBlockState, getCustomName, getLevel, getPosition, getType, hasCustomName, isClosed, isMovable, isSpawnable, onBreak, onUpdate, scheduleUpdate, setCustomName, setDirty, setMovable, spawnTo, spawnToAllMethods inherited from interface org.cloudburstmc.api.blockentity.ContainerBlockEntity
getHopperPullSlots, getHopperPushSlotsMethods inherited from interface org.cloudburstmc.api.blockentity.Furnace
getInventory
-
Constructor Details
-
BlastFurnaceBlockEntity
public BlastFurnaceBlockEntity(org.cloudburstmc.api.blockentity.BlockEntityType<?> type, org.cloudburstmc.api.level.chunk.Chunk chunk, com.nukkitx.math.vector.Vector3i position)
-
-
Method Details
-
isValid
public boolean isValid()- Specified by:
isValidin interfaceorg.cloudburstmc.api.blockentity.BlockEntity- Overrides:
isValidin classFurnaceBlockEntity
-
getBurnRate
public float getBurnRate()- Overrides:
getBurnRatein classFurnaceBlockEntity
-
extinguishFurnace
protected void extinguishFurnace()- Overrides:
extinguishFurnacein classFurnaceBlockEntity
-
lightFurnace
protected void lightFurnace()- Overrides:
lightFurnacein classFurnaceBlockEntity
-