Package dev.lone.itemsadder.api.Events
Class FurniturePlaceSuccessEvent
java.lang.Object
org.bukkit.event.Event
org.bukkit.event.player.PlayerEvent
dev.lone.itemsadder.api.Events.FurniturePlaceSuccessEvent
Deprecated.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.bukkit.event.Event
org.bukkit.event.Event.Result -
Field Summary
Fields inherited from class org.bukkit.event.player.PlayerEvent
player -
Constructor Summary
ConstructorsConstructorDescriptionFurniturePlaceSuccessEvent(@NotNull org.bukkit.entity.Player who) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionorg.bukkit.entity.EntityGets the Bukkit entity associated with this event.@Nullable CustomFurnitureGets the custom furniture associated with this event.static @NotNull org.bukkit.event.HandlerListDeprecated.@NotNull org.bukkit.event.HandlerListDeprecated.@Nullable StringGets the namespaced ID of the custom furniture.Methods inherited from class org.bukkit.event.player.PlayerEvent
getPlayerMethods inherited from class org.bukkit.event.Event
getEventName, isAsynchronous
-
Constructor Details
-
FurniturePlaceSuccessEvent
public FurniturePlaceSuccessEvent(@NotNull @NotNull org.bukkit.entity.Player who) Deprecated.
-
-
Method Details
-
getHandlers
@NotNull public @NotNull org.bukkit.event.HandlerList getHandlers()Deprecated.- Specified by:
getHandlersin classorg.bukkit.event.Event
-
getHandlerList
@NotNull public static @NotNull org.bukkit.event.HandlerList getHandlerList()Deprecated. -
getFurniture
Gets the custom furniture associated with this event.- Returns:
- The custom furniture, or null if not applicable.
- Throws:
NotActuallyItemsAdderException- Always thrown to indicate this is a placeholder.
-
getNamespacedID
Gets the namespaced ID of the custom furniture.- Returns:
- The namespaced ID, or null if not applicable.
- Throws:
NotActuallyItemsAdderException- Always thrown to indicate this is a placeholder.
-
getBukkitEntity
public org.bukkit.entity.Entity getBukkitEntity()Gets the Bukkit entity associated with this event.- Returns:
- The Bukkit entity.
- Throws:
NotActuallyItemsAdderException- Always thrown to indicate this is a placeholder.
-