Package net.glowstone.block.blocktype
Class BlockBrewingStand
java.lang.Object
net.glowstone.block.itemtype.ItemType
net.glowstone.block.blocktype.BlockType
net.glowstone.block.blocktype.BlockContainer
net.glowstone.block.blocktype.BlockBrewingStand
-
Nested Class Summary
Nested classes/interfaces inherited from class net.glowstone.block.itemtype.ItemType
ItemType.Context -
Field Summary
Fields inherited from class net.glowstone.block.blocktype.BlockType
ADJACENT, drops, placeSound, SIDES, soundGroup -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateBlockEntity(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 MaterialMatchergetNeededMiningTool(GlowBlock block) Methods inherited from class net.glowstone.block.blocktype.BlockContainer
blockInteract, getContentDrops, getDrops, getMinedDropsMethods inherited from class net.glowstone.block.blocktype.BlockType
afterDestroy, afterPlace, blockDestroy, canAbsorb, canOverride, canPlaceAt, canTickRandomly, getCastedBlockData, getOppositeBlockFace, getPlaceAs, getPlaceSound, getPulseTickSpeed, getSoundGroup, isPulseOnce, leftClickBlock, onBlockChanged, onEntityStep, onNearBlockChanged, onRedstoneUpdate, placeBlock, receivePulse, requestPulse, rightClickBlock, setDrops, setPlaceSound, updateBlock, updatePhysics, updatePhysicsAfterEvent, warnMaterialDataMethods inherited from class net.glowstone.block.itemtype.ItemType
getContext, getMaterial, getMaterials, getMaxStackSize, rightClickAir, setMaterial, setMaxStackSize, setPlaceAs, setPlaceAs, toString
-
Constructor Details
-
BlockBrewingStand
public BlockBrewingStand()
-
-
Method Details
-
createBlockEntity
Description copied from class:BlockTypeCreate a new block entity at the given location.- Overrides:
createBlockEntityin classBlockType- Parameters:
chunk- 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.- Returns:
- The new BlockEntity, or null if no block entity is used.
-
getBlockDrops
Description copied from class:BlockContainerReturns the drops for block itself, WITHOUT it's contents.- Overrides:
getBlockDropsin classBlockContainer- Parameters:
block- The block the drops should be calculated for- Returns:
- the drops
-
getNeededMiningTool
- Overrides:
getNeededMiningToolin classBlockContainer
-