BreakSpeed is fired when a player attempts to harvest a block.
This event is fired whenever a player attempts to harvest a block in
EntityPlayer#canHarvestBlock(Block).
This event is fired via the
ForgeEventFactory#getBreakSpeed(EntityPlayer, IBlockState, float, BlockPos)
.
state
contains the block being broken.
originalSpeed
contains the original speed at which the player broke the block.
newSpeed
contains the newSpeed at which the player will break the block.
pos
contains the coordinates at which this event is occurring. Y value -1 means location is unknown.
This event is
Cancelable
.
If it is canceled, the player is unable to break the block.
This event does not have a result.
HasResult
This event is fired on the
MinecraftForge#EVENT_BUS
.