Package | Description |
---|---|
org.bukkit.event.entity |
Modifier and Type | Method and Description |
---|---|
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 and Description |
---|
EntityRegainHealthEvent(Entity entity,
double amount,
EntityRegainHealthEvent.RegainReason regainReason) |
EntityRegainHealthEvent(Entity entity,
double amount,
EntityRegainHealthEvent.RegainReason regainReason,
boolean isFastRegen) |
Copyright © 2021. All rights reserved.