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.
-
Constructor Summary
ConstructorsConstructorDescriptionFurnitureInteractListener
(Graves plugin, FurnitureEngine furnitureEngine) Deprecated.Plugin no longer exists externally. -
Method Summary
Modifier and TypeMethodDescriptionvoid
onFurnitureInteract
(com.mira.furnitureengine.events.FurnitureInteractEvent event) Deprecated.Plugin no longer exists externally.
-
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
@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.
-