Class FurnitureInteractListener
java.lang.Object
com.ranull.graves.listener.integration.furnitureengine.FurnitureInteractListener
- All Implemented Interfaces:
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
FieldsModifier and TypeFieldDescriptionprivate final FurnitureEngine
Deprecated.private final Graves
Deprecated. -
Constructor Summary
ConstructorsConstructorDescriptionFurnitureInteractListener
(Graves plugin, FurnitureEngine furnitureEngine) Deprecated.Plugin no longer exists externally Constructs a new FurnitureInteractListener with the specified Graves plugin and FurnitureEngine instance. -
Method Summary
Modifier and TypeMethodDescriptionprivate 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.
-
Field Details
-
plugin
Deprecated. -
furnitureEngine
Deprecated.
-
-
Constructor Details
-
FurnitureInteractListener
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.
-