Package com.ranull.graves.listener
Class BlockExplodeListener
java.lang.Object
com.ranull.graves.listener.BlockExplodeListener
- All Implemented Interfaces:
org.bukkit.event.Listener
Listens for BlockExplodeEvent to handle interactions with grave blocks when they are affected by block explosions.
-
Constructor Summary
ConstructorsConstructorDescriptionBlockExplodeListener
(Graves plugin) Constructs a new BlockExplodeListener with the specified Graves plugin. -
Method Summary
Modifier and TypeMethodDescriptionvoid
onBlockExplode
(org.bukkit.event.block.BlockExplodeEvent event) Handles BlockExplodeEvent to manage grave interactions when blocks are exploded by other blocks.
-
Constructor Details
-
BlockExplodeListener
Constructs a new BlockExplodeListener with the specified Graves plugin.- Parameters:
plugin
- The Graves plugin instance.
-
-
Method Details
-
onBlockExplode
public void onBlockExplode(org.bukkit.event.block.BlockExplodeEvent event) Handles BlockExplodeEvent to manage grave interactions when blocks are exploded by other blocks.- Parameters:
event
- The BlockExplodeEvent to handle.
-