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. Use FurnitureLib instead.
Listens for FurnitureInteractEvent and handles interactions with furniture that may be associated with a grave.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final FurnitureEngineDeprecated.private final GravesDeprecated. -
Constructor Summary
ConstructorsConstructorDescriptionFurnitureInteractListener(Graves plugin, FurnitureEngine furnitureEngine) Deprecated.Plugin no longer exists externally. -
Method Summary
Modifier and TypeMethodDescriptionprivate voidhandleFurnitureInteraction(com.mira.furnitureengine.events.FurnitureInteractEvent event, org.bukkit.entity.ItemFrame itemFrame) Deprecated.Plugin no longer exists externally.voidonFurnitureInteract(com.mira.furnitureengine.events.FurnitureInteractEvent event) Deprecated.Plugin no longer exists externally.
-
Field Details
-
plugin
Deprecated. -
furnitureEngine
Deprecated.
-
-
Constructor Details
-
FurnitureInteractListener
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
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
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.
-