Package cn.nukkit.blockentity
Class BlockEntitySmoker
- All Implemented Interfaces:
BlockEntityContainer
,BlockEntityNameable
,InventoryHolder
,RecipeInventoryHolder
,Cloneable
-
Field Summary
Fields inherited from class cn.nukkit.blockentity.BlockEntityFurnace
burnDuration, burnTime, cookTime, inventory, maxTime, storedXP
Fields inherited from class cn.nukkit.blockentity.BlockEntity
BANNER, BARREL, BEACON, BED, BEEHIVE, BELL, BLAST_FURNACE, BREWING_STAND, CAMPFIRE, CAULDRON, CHEST, chunk, closed, COMMAND_BLOCK, COMPARATOR, CONDUIT, count, DAYLIGHT_DETECTOR, DISPENSER, DROPPER, ENCHANT_TABLE, END_GATEWAY, END_PORTAL, ENDER_CHEST, FLOWER_POT, FURNACE, GLOW_ITEM_FRAME, HOPPER, id, ITEM_FRAME, JUKEBOX, lastUpdate, LECTERN, LODESTONE, MOB_SPAWNER, movable, MOVING_BLOCK, MUSIC, name, namedTag, NETHER_REACTOR, PISTON_ARM, SCULK_CATALYST, SCULK_SENSOR, SCULK_SHRIEKER, server, SHULKER_BOX, SIGN, SKULL, SMOKER, STRUCTURE_BLOCK, TARGET, timing
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected int
protected String
protected String
protected int
protected InventoryType
protected int
protected SmeltingRecipe
matchRecipe
(Item raw) Methods inherited from class cn.nukkit.blockentity.BlockEntityFurnace
calculateXpDrop, checkFuel, close, getBurnDuration, getBurnTime, getCookTime, getIngredientView, getInventory, getItem, getMaxTime, getName, getProductView, getSize, getSlotIndex, getSpawnCompound, getStoredXP, hasName, initBlockEntity, isBlockEntityValid, loadNBT, onBreak, onUpdate, saveNBT, setBurnDuration, setBurning, setBurnTime, setCookTime, setItem, setMaxTime, setName, setStoredXP
Methods inherited from class cn.nukkit.blockentity.BlockEntitySpawnable
getSpawnPacket, getSpawnPacket, spawnTo, spawnToAll, updateCompoundTag
Methods inherited from class cn.nukkit.blockentity.BlockEntity
createBlockEntity, createBlockEntity, createBlockEntity, getBlock, getCleanedNBT, getDefaultCompound, getId, getLevelBlockEntity, getSaveId, init, isMovable, isObservable, onBreak, registerBlockEntity, scheduleUpdate, setDirty
Methods inherited from class cn.nukkit.level.Position
abs, add, add, add, add, ceil, clone, divide, floor, fromObject, fromObject, getChunk, getLevel, getLevelBlock, getLevelBlock, getLevelBlock, getLevelBlockAround, getLevelBlockAtLayer, getLevelBlockState, getLevelBlockState, getLevelName, getLocation, getSide, getSide, getSidePos, getTickCachedLevelBlock, getTickCachedLevelBlockAtLayer, getTypedBlockEntity, getValidLevel, isValid, multiply, round, setComponents, setComponents, setLevel, setStrong, setWeak, subtract, subtract, subtract, subtract, subtract, toString
Methods inherited from class cn.nukkit.positiontracking.NamedPosition
matchesNamedPosition
Methods inherited from class cn.nukkit.math.Vector3
asBlockVector3, asVector3f, cross, distance, distance, distanceManhattan, distanceSquared, distanceSquared, dot, down, down, east, east, equals, getAxis, getChunkSectionY, getChunkVector, getChunkX, getChunkZ, getFloorX, getFloorY, getFloorZ, getForward, getIntermediateWithXValue, getIntermediateWithYValue, getIntermediateWithZValue, getRight, getSideVec, getSouth, getUp, getWest, getX, getY, getZ, hashCode, length, lengthSquared, maxPlainDistance, maxPlainDistance, maxPlainDistance, maxPlainDistance, maxPlainDistance, normalize, north, north, rawHashCode, setComponentsAdding, setComponentsAdding, setX, setY, setZ, south, south, up, up, west, west
-
Constructor Details
-
BlockEntitySmoker
-
-
Method Details
-
getFurnaceName
- Overrides:
getFurnaceName
in classBlockEntityFurnace
-
getClientName
- Overrides:
getClientName
in classBlockEntityFurnace
-
getIdleBlockId
- Overrides:
getIdleBlockId
in classBlockEntityFurnace
-
getBurningBlockId
- Overrides:
getBurningBlockId
in classBlockEntityFurnace
-
getInventoryType
- Overrides:
getInventoryType
in classBlockEntityFurnace
-
matchRecipe
- Overrides:
matchRecipe
in classBlockEntityFurnace
-
getSpeedMultiplier
- Overrides:
getSpeedMultiplier
in classBlockEntityFurnace
-