Package net.glowstone.block.blocktype
Class BlockPumpkin
-
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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
afterPlace
(GlowPlayer player, GlowBlock block, org.bukkit.inventory.ItemStack holding, GlowBlockState oldState) Called after a block has been placed by a player.Methods inherited from class net.glowstone.block.blocktype.BlockPumpkinBase
placeBlock
Methods inherited from class net.glowstone.block.blocktype.BlockDirectDrops
getDrops, getMinedDrops, getNeededMiningTool
Methods inherited from class net.glowstone.block.blocktype.BlockNeedsTool
getDrops
Methods inherited from class net.glowstone.block.blocktype.BlockType
afterDestroy, blockDestroy, blockInteract, canAbsorb, canOverride, canPlaceAt, canTickRandomly, createBlockEntity, getCastedBlockData, getOppositeBlockFace, getPlaceAs, getPlaceSound, getPulseTickSpeed, getSoundGroup, isPulseOnce, leftClickBlock, onBlockChanged, onEntityStep, onNearBlockChanged, onRedstoneUpdate, receivePulse, requestPulse, rightClickBlock, setDrops, setPlaceSound, updateBlock, updatePhysics, updatePhysicsAfterEvent, warnMaterialData
Methods inherited from class net.glowstone.block.itemtype.ItemType
getContext, getMaterial, getMaterials, getMaxStackSize, rightClickAir, setMaterial, setMaxStackSize, setPlaceAs, setPlaceAs, toString
-
Constructor Details
-
BlockPumpkin
public BlockPumpkin()
-
-
Method Details
-
afterPlace
public void afterPlace(GlowPlayer player, GlowBlock block, org.bukkit.inventory.ItemStack holding, GlowBlockState oldState) Description copied from class:BlockType
Called after a block has been placed by a player.- Overrides:
afterPlace
in classBlockType
- Parameters:
player
- the player who placed the blockblock
- the block that was placedholding
- the the ItemStack that was being heldoldState
- The old block state before the block was placed.
-