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 Event
Event.Result -
Field Summary
Fields inherited from class BlockEvent
block -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetDrops()Gets a mutable list of drops for this eventstatic HandlerListGets the block that cause this (e.g.Methods inherited from class BlockExpEvent
getExpToDrop, setExpToDropMethods inherited from class BlockEvent
getBlockMethods inherited from class Event
callEvent, getEventName, isAsynchronous
-
Constructor Details
-
BlockBreakBlockEvent
-
-
Method Details
-
getDrops
-
getSource
Gets the block that cause this (e.g. a piston, or adjacent liquid)- Returns:
- the source
-
getHandlers
- Overrides:
getHandlersin classBlockExpEvent
-
getHandlerList
-