Class BlockExplodeListener

java.lang.Object
com.ranull.graves.listener.BlockExplodeListener
All Implemented Interfaces:
org.bukkit.event.Listener

public class BlockExplodeListener extends Object implements org.bukkit.event.Listener
Listens for BlockExplodeEvent to handle interactions with grave blocks when they are affected by block explosions.
  • Constructor Details

    • BlockExplodeListener

      public BlockExplodeListener(Graves plugin)
      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.