Package | Description |
---|---|
org.bukkit.event.entity |
Modifier and Type | Method and Description |
---|---|
@NotNull EntityExhaustionEvent.ExhaustionReason |
EntityExhaustionEvent.getExhaustionReason()
Gets the
EntityExhaustionEvent.ExhaustionReason for this event |
static EntityExhaustionEvent.ExhaustionReason |
EntityExhaustionEvent.ExhaustionReason.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EntityExhaustionEvent.ExhaustionReason[] |
EntityExhaustionEvent.ExhaustionReason.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Constructor and Description |
---|
EntityExhaustionEvent(@NotNull HumanEntity who,
@NotNull EntityExhaustionEvent.ExhaustionReason exhaustionReason,
float exhaustion) |
Copyright © 2021. All rights reserved.