Class FurnitureInteractListener

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

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

    Fields
    Modifier and Type
    Field
    Description
    private final FurnitureEngine
    Deprecated.
     
    private final Graves
    Deprecated.
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    Deprecated.
    Plugin no longer exists externally Constructs a new FurnitureInteractListener with the specified Graves plugin and FurnitureEngine instance.
  • Method Summary

    Modifier and Type
    Method
    Description
    private void
    handleFurnitureInteraction(com.mira.furnitureengine.events.FurnitureInteractEvent event, org.bukkit.entity.ItemFrame itemFrame)
    Deprecated.
    Plugin no longer exists externally Handles the interaction with the furniture.
    void
    onFurnitureInteract(com.mira.furnitureengine.events.FurnitureInteractEvent event)
    Deprecated.
    Plugin no longer exists externally Handles FurnitureInteractEvent.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • plugin

      private final Graves plugin
      Deprecated.
    • furnitureEngine

      private final FurnitureEngine furnitureEngine
      Deprecated.
  • Constructor Details

    • FurnitureInteractListener

      public FurnitureInteractListener(Graves plugin, FurnitureEngine furnitureEngine)
      Deprecated.
      Plugin no longer exists externally 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

      public void onFurnitureInteract(com.mira.furnitureengine.events.FurnitureInteractEvent event)
      Deprecated.
      Plugin no longer exists externally 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

      private void handleFurnitureInteraction(com.mira.furnitureengine.events.FurnitureInteractEvent event, org.bukkit.entity.ItemFrame itemFrame)
      Deprecated.
      Plugin no longer exists externally 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.