Package | Description |
---|---|
org.bukkit.event.entity |
Modifier and Type | Method | Description |
---|---|---|
@NotNull EntityRegainHealthEvent.RegainReason |
EntityRegainHealthEvent.getRegainReason() |
Gets the reason for why the entity is regaining health
|
static EntityRegainHealthEvent.RegainReason |
EntityRegainHealthEvent.RegainReason.valueOf(String name) |
Returns the enum constant of this type with the specified name.
|
static EntityRegainHealthEvent.RegainReason[] |
EntityRegainHealthEvent.RegainReason.values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Constructor | Description |
---|---|
EntityRegainHealthEvent(@NotNull Entity entity,
double amount,
@NotNull EntityRegainHealthEvent.RegainReason regainReason) |
|
EntityRegainHealthEvent(@NotNull Entity entity,
double amount,
@NotNull EntityRegainHealthEvent.RegainReason regainReason,
boolean isFastRegen) |
Copyright © 2020. All rights reserved.