Package io.papermc.paper.event.block
Class BlockBreakProgressUpdateEvent
java.lang.Object
org.bukkit.event.Event
org.bukkit.event.block.BlockEvent
io.papermc.paper.event.block.BlockBreakProgressUpdateEvent
Called when the progress of a block break is updated.
- 
Nested Class Summary
Nested classes/interfaces inherited from class org.bukkit.event.Event
Event.Result - 
Field Summary
Fields inherited from class org.bukkit.event.block.BlockEvent
block - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionThe entity breaking the block.static HandlerListfloatThe progress of the block breakMethods inherited from class org.bukkit.event.block.BlockEvent
getBlockMethods inherited from class org.bukkit.event.Event
callEvent, getEventName, isAsynchronous 
- 
Constructor Details
- 
BlockBreakProgressUpdateEvent
 
 - 
 - 
Method Details
- 
getProgress
public float getProgress()The progress of the block breakThe progress ranges from 0.0 - 1.0, where 0 is no damage and 1.0 is the most damaged
- Returns:
 - The progress of the block break
 
 - 
getEntity
The entity breaking the block.- Returns:
 - The entity breaking the block
 
 - 
getHandlers
- Specified by:
 getHandlersin classEvent
 - 
getHandlerList
 
 -