Class FurniturePrePlaceEvent
java.lang.Object
org.bukkit.event.Event
org.bukkit.event.player.PlayerEvent
dev.lone.itemsadder.api.Events.FurniturePrePlaceEvent
- All Implemented Interfaces:
Cancellable
Called before placing, to avoid useless processing. Exposes the `namespacedId` and `location` of
the entity, but no entity is spawned.
-
Nested Class Summary
Nested classes/interfaces inherited from class Event
Event.Result -
Method Summary
Modifier and TypeMethodDescriptionstatic @NotNull HandlerList@NotNull HandlerListGets the target placement location.Gets the furniture namespaced id.booleanvoidsetCancelled(boolean cancelled) Methods inherited from class PlayerEvent
getPlayerMethods 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
-
getNamespacedID
-
getLocation
-
getHandlers
- Specified by:
getHandlersin classEvent
-
getHandlerList
-