Class ComplexFurnitureSitEvent

java.lang.Object
org.bukkit.event.Event
dev.lone.itemsadder.api.Events.ComplexFurnitureSitEvent

public class ComplexFurnitureSitEvent extends Event
Called when a player sits on a complex furniture.
  • Method Details

    • getHandlers

      @NotNull public @NotNull HandlerList getHandlers()
      Specified by:
      getHandlers in class Event
    • getHandlerList

      @NotNull public static @NotNull HandlerList getHandlerList()
    • getFurniture

      @Nullable public @Nullable CustomComplexFurniture getFurniture()
      Gets the complex furniture wrapper for this event.
      Returns:
      the complex furniture wrapper, or null if it cannot be resolved.
    • getNamespacedID

      @Nullable public @Nullable String getNamespacedID()
      Gets the complex furniture namespaced id.
      Returns:
      the namespaced id, or null if unavailable.
    • getPlayer

      @Nullable public @Nullable Player getPlayer()