Class ComplexFurnitureInteractEvent
java.lang.Object
org.bukkit.event.Event
dev.lone.itemsadder.api.Events.ComplexFurnitureInteractEvent
- All Implemented Interfaces:
Cancellable
Called when a player interacts with complex furniture.
-
Nested Class Summary
Nested classes/interfaces inherited from class Event
Event.Result -
Method Summary
Modifier and TypeMethodDescription@NotNull ActionGets the Bukkit interaction action.@Nullable CustomComplexFurnitureGets the complex furniture wrapper for this event.static @NotNull HandlerList@NotNull HandlerList@Nullable StringGets the complex furniture namespaced id.booleanvoidsetCancelled(boolean cancelled) Methods inherited from class Event
callEvent, getEventName, isAsynchronous
-
Method Details
-
isCancelled
public boolean isCancelled()- Specified by:
isCancelledin interfaceCancellable
-
setCancelled
public void setCancelled(boolean cancelled) - Specified by:
setCancelledin interfaceCancellable
-
getHandlers
- Specified by:
getHandlersin classEvent
-
getHandlerList
-
getAction
Gets the Bukkit interaction action.- Returns:
- the interaction action.
-
getFurniture
Gets the complex furniture wrapper for this event.- Returns:
- the complex furniture wrapper, or null if it cannot be resolved.
-
getNamespacedID
Gets the complex furniture namespaced id.- Returns:
- the namespaced id, or null if unavailable.
-