Class ComplexFurnitureSitEvent
java.lang.Object
org.bukkit.event.Event
dev.lone.itemsadder.api.Events.ComplexFurnitureSitEvent
Called when a player sits on a complex furniture.
-
Nested Class Summary
Nested classes/interfaces inherited from class Event
Event.Result -
Method Summary
Modifier and TypeMethodDescription@Nullable CustomComplexFurnitureGets the complex furniture wrapper for this event.static @NotNull HandlerList@NotNull HandlerList@Nullable StringGets the complex furniture namespaced id.@Nullable PlayerMethods inherited from class Event
callEvent, getEventName, isAsynchronous
-
Method Details
-
getHandlers
- Specified by:
getHandlersin classEvent
-
getHandlerList
-
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.
-
getPlayer
-