Class FurnitureBreakListener

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

@Deprecated public class FurnitureBreakListener extends Object implements org.bukkit.event.Listener
Deprecated.
Plugin no longer exists externally. Use FurnitureLib instead. Listens for FurnitureBreakEvent and checks if the furniture being broken is associated with a grave.
  • Field Details

    • furnitureEngine

      private final FurnitureEngine furnitureEngine
      Deprecated.
  • Constructor Details

    • FurnitureBreakListener

      @Deprecated public FurnitureBreakListener(FurnitureEngine furnitureEngine)
      Deprecated.
      Plugin no longer exists externally. Use FurnitureLib instead. Constructs a new FurnitureBreakListener with the specified FurnitureEngine instance.
      Parameters:
      furnitureEngine - The FurnitureEngine instance to use.
  • Method Details

    • onFurnitureBreak

      @Deprecated public void onFurnitureBreak(com.mira.furnitureengine.events.FurnitureBreakEvent event)
      Deprecated.
      Plugin no longer exists externally. Use FurnitureLib instead. Handles FurnitureBreakEvent. Cancels the event if the furniture being broken is associated with a grave.
      Parameters:
      event - The FurnitureBreakEvent to handle.
    • isFurnitureAssociatedWithGrave

      @Deprecated private boolean isFurnitureAssociatedWithGrave(com.mira.furnitureengine.events.FurnitureBreakEvent event, org.bukkit.entity.ItemFrame itemFrame)
      Deprecated.
      Plugin no longer exists externally. Use FurnitureLib instead. Checks if the furniture being broken is associated with a grave.
      Parameters:
      event - The FurnitureBreakEvent.
      itemFrame - The ItemFrame being broken.
      Returns:
      True if the furniture is associated with a grave, false otherwise.