Package | Description |
---|---|
org.bukkit.event.entity |
Modifier and Type | Method and Description |
---|---|
@NotNull EntityUnleashEvent.UnleashReason |
EntityUnleashEvent.getReason()
Returns the reason for the unleashing.
|
static EntityUnleashEvent.UnleashReason |
EntityUnleashEvent.UnleashReason.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EntityUnleashEvent.UnleashReason[] |
EntityUnleashEvent.UnleashReason.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Constructor and Description |
---|
EntityUnleashEvent(@NotNull Entity entity,
@NotNull EntityUnleashEvent.UnleashReason reason)
Deprecated.
|
EntityUnleashEvent(@NotNull Entity entity,
@NotNull EntityUnleashEvent.UnleashReason reason,
boolean dropLeash) |
Copyright © 2021. All rights reserved.