block_break — Events

on block_breakorg.bukkit.event.block.BlockBreakEvent
Block1.0.0

Description

Fires when a player breaks a block.

Variables

player
Player
org.bukkit.entity.Player
NullableNo

The player who broke the block

block
Block
org.bukkit.block.Block
NullableNo

The block that was broken

item
ItemStack
org.bukkit.inventory.ItemStack
NullableYes

The item the player used to break the block, or null if empty hand

Examples

on block_break:

Related (Block)