Class ComplexFurniturePrePlaceEvent

java.lang.Object
org.bukkit.event.Event
dev.lone.itemsadder.api.Events.ComplexFurniturePrePlaceEvent
All Implemented Interfaces:
Cancellable

public class ComplexFurniturePrePlaceEvent extends Event implements Cancellable
Called before placing, to avoid useless processing. Exposes the `namespacedId` and `location` of the entity, but no entity is spawned.
  • Method Details

    • isCancelled

      public boolean isCancelled()
      Specified by:
      isCancelled in interface Cancellable
    • setCancelled

      public void setCancelled(boolean cancelled)
      Specified by:
      setCancelled in interface Cancellable
    • getNamespacedID

      public String getNamespacedID()
      Gets the complex furniture namespaced id.
      Returns:
      the namespaced id.
    • getHandlers

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

      @NotNull public static @NotNull HandlerList getHandlerList()