public class BlockPumpkin extends BlockPumpkinBase
ItemType.ContextADJACENT, drops, placeSound, SIDES| Constructor and Description |
|---|
BlockPumpkin() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterPlace(GlowPlayer player,
GlowBlock block,
org.bukkit.inventory.ItemStack holding,
GlowBlockState oldState)
Called after a block has been placed by a player.
|
placeBlockgetDrops, getMinedDrops, getNeededMiningToolgetDropsafterDestroy, blockDestroy, blockInteract, canAbsorb, canOverride, canPlaceAt, canTickRandomly, createBlockEntity, getOppositeBlockFace, getPlaceAs, getPlaceSound, getPulseTickSpeed, isPulseOnce, leftClickBlock, onBlockChanged, onEntityStep, onNearBlockChanged, onRedstoneUpdate, receivePulse, requestPulse, rightClickBlock, setDrops, setPlaceSound, updateBlock, updatePhysics, updatePhysicsAfterEvent, warnMaterialDatagetContext, getId, getMaterial, getMaxStackSize, rightClickAir, setId, setMaterial, setMaxStackSize, setPlaceAs, setPlaceAs, toStringpublic void afterPlace(GlowPlayer player, GlowBlock block, org.bukkit.inventory.ItemStack holding, GlowBlockState oldState)
BlockTypeafterPlace in class BlockTypeplayer - 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.Copyright © 2021. All rights reserved.