Class HangingBreakListener

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

@Deprecated public class HangingBreakListener extends Object implements org.bukkit.event.Listener
Deprecated.
Recommend Nexo as a replacement. Listens for HangingBreakEvent and cancels the event if the entity being broken is an ItemFrame associated with a grave.
  • Constructor Details

    • HangingBreakListener

      @Deprecated public HangingBreakListener(Oraxen oraxen)
      Deprecated.
      Recommend Nexo as a replacement. Constructs a new HangingBreakListener with the specified Oraxen instance.
      Parameters:
      oraxen - The Oraxen instance to use.
  • Method Details

    • onHangingBreak

      @Deprecated public void onHangingBreak(org.bukkit.event.hanging.HangingBreakEvent event)
      Deprecated.
      Recommend Nexo as a replacement. Handles HangingBreakEvent. If the entity being broken is an ItemFrame and is associated with a grave, it cancels the event.
      Parameters:
      event - The HangingBreakEvent to handle.