public class BlockMonsterEgg extends BlockType
ItemType.Context
ADJACENT, drops, placeSound, SIDES
Constructor and Description |
---|
BlockMonsterEgg() |
Modifier and Type | Method and Description |
---|---|
void |
blockDestroy(GlowPlayer player,
GlowBlock block,
org.bukkit.block.BlockFace face)
Called when a player attempts to destroy a block.
|
Collection<org.bukkit.inventory.ItemStack> |
getDrops(GlowBlock block,
org.bukkit.inventory.ItemStack tool)
Get the items that will be dropped by digging the block.
|
afterDestroy, afterPlace, blockInteract, canAbsorb, canOverride, canPlaceAt, canTickRandomly, createBlockEntity, getMinedDrops, getOppositeBlockFace, getPlaceAs, getPlaceSound, getPulseTickSpeed, isPulseOnce, leftClickBlock, onBlockChanged, onEntityStep, onNearBlockChanged, onRedstoneUpdate, placeBlock, receivePulse, requestPulse, rightClickBlock, setDrops, setPlaceSound, updateBlock, updatePhysics, updatePhysicsAfterEvent, warnMaterialData
getContext, getId, getMaterial, getMaxStackSize, rightClickAir, setId, setMaterial, setMaxStackSize, setPlaceAs, setPlaceAs, toString
public void blockDestroy(GlowPlayer player, GlowBlock block, org.bukkit.block.BlockFace face)
BlockType
blockDestroy
in class BlockType
player
- The player interactingblock
- The block the player destroyedface
- The block facepublic Collection<org.bukkit.inventory.ItemStack> getDrops(GlowBlock block, org.bukkit.inventory.ItemStack tool)
BlockType
Copyright © 2021. All rights reserved.