Class FurnitureInteractListener

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

@Deprecated public class FurnitureInteractListener extends Object implements org.bukkit.event.Listener
Deprecated.
Plugin no longer exists externally. Use FurnitureLib instead. Listens for FurnitureInteractEvent and handles interactions with furniture that may be associated with a grave.
  • Field Details

    • plugin

      private final Graves plugin
      Deprecated.
    • furnitureEngine

      private final FurnitureEngine furnitureEngine
      Deprecated.
  • Constructor Details

    • FurnitureInteractListener

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

    • onFurnitureInteract

      @Deprecated public void onFurnitureInteract(com.mira.furnitureengine.events.FurnitureInteractEvent event)
      Deprecated.
      Plugin no longer exists externally. Use FurnitureLib instead. Handles FurnitureInteractEvent. If the furniture being interacted with is associated with a grave, it attempts to open the grave and cancels the event if successful.
      Parameters:
      event - The FurnitureInteractEvent to handle.
    • handleFurnitureInteraction

      @Deprecated private void handleFurnitureInteraction(com.mira.furnitureengine.events.FurnitureInteractEvent event, org.bukkit.entity.ItemFrame itemFrame)
      Deprecated.
      Plugin no longer exists externally. Use FurnitureLib instead. Handles the interaction with the furniture. If the furniture is associated with a grave, attempts to open the grave and cancels the event if successful.
      Parameters:
      event - The FurnitureInteractEvent.
      itemFrame - The ItemFrame being interacted with.