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