Package io.papermc.paper.event.block
Class BlockBreakBlockEvent
java.lang.Object
org.bukkit.event.Event
org.bukkit.event.block.BlockEvent
org.bukkit.event.block.BlockExpEvent
io.papermc.paper.event.block.BlockBreakBlockEvent
Called when a block forces another block to break and drop items.
Currently called for piston's and liquid flows.
-
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
-
Method Summary
Modifier and TypeMethodDescriptiongetDrops()
Get the drops of this eventstatic @NotNull HandlerList
Gets the block that cause this (e.g.Methods inherited from class org.bukkit.event.block.BlockExpEvent
getExpToDrop, setExpToDrop
Methods inherited from class org.bukkit.event.block.BlockEvent
getBlock
Methods inherited from class org.bukkit.event.Event
asynchronous, callEvent, getEventName, isAsynchronous
-
Constructor Details
-
BlockBreakBlockEvent
-
-
Method Details
-
getDrops
Get the drops of this event- Returns:
- the drops
-
getSource
Gets the block that cause this (e.g. a piston, or adjacent liquid)- Returns:
- the source
-
getHandlers
- Overrides:
getHandlers
in classBlockExpEvent
-
getHandlerList
-