Uses of Enum Class
org.bukkit.event.entity.EntityUnleashEvent.UnleashReason
Package
Description
-
Uses of EntityUnleashEvent.UnleashReason in org.bukkit.event.entity
Modifier and TypeMethodDescriptionEntityUnleashEvent.getReason()
Returns the reason for the unleashing.Returns the enum constant of this class with the specified name.static EntityUnleashEvent.UnleashReason[]
EntityUnleashEvent.UnleashReason.values()
Returns an array containing the constants of this enum class, in the order they are declared.ModifierConstructorDescriptionEntityUnleashEvent
(@NotNull Entity entity, @NotNull EntityUnleashEvent.UnleashReason reason) Deprecated.EntityUnleashEvent
(@NotNull Entity entity, @NotNull EntityUnleashEvent.UnleashReason reason, boolean dropLeash)