public class BlockBrewingStand extends BlockContainer
ItemType.ContextADJACENT, drops, placeSound, SIDES| Constructor and Description |
|---|
BlockBrewingStand() |
| Modifier and Type | Method and Description |
|---|---|
BlockEntity |
createBlockEntity(GlowChunk chunk,
int cx,
int cy,
int cz)
Create a new block entity at the given location.
|
protected Collection<org.bukkit.inventory.ItemStack> |
getBlockDrops(GlowBlock block)
Returns the drops for block itself, WITHOUT it's contents.
|
protected MaterialMatcher |
getNeededMiningTool(GlowBlock block) |
blockInteract, getContentDrops, getDrops, getMinedDropsafterDestroy, afterPlace, blockDestroy, canAbsorb, canOverride, canPlaceAt, canTickRandomly, getOppositeBlockFace, getPlaceAs, getPlaceSound, getPulseTickSpeed, isPulseOnce, leftClickBlock, onBlockChanged, onEntityStep, onNearBlockChanged, onRedstoneUpdate, placeBlock, receivePulse, requestPulse, rightClickBlock, setDrops, setPlaceSound, updateBlock, updatePhysics, updatePhysicsAfterEvent, warnMaterialDatagetContext, getId, getMaterial, getMaxStackSize, rightClickAir, setId, setMaterial, setMaxStackSize, setPlaceAs, setPlaceAs, toStringpublic BlockEntity createBlockEntity(GlowChunk chunk, int cx, int cy, int cz)
BlockTypecreateBlockEntity in class BlockTypechunk - The chunk to create the block entity at.cx - The x coordinate in the chunk.cy - The y coordinate in the chunk.cz - The z coordinate in the chunk.protected Collection<org.bukkit.inventory.ItemStack> getBlockDrops(GlowBlock block)
BlockContainergetBlockDrops in class BlockContainerblock - The block the drops should be calculated forprotected MaterialMatcher getNeededMiningTool(GlowBlock block)
getNeededMiningTool in class BlockContainerCopyright © 2021. All rights reserved.