Uses of Enum Class
org.bukkit.event.entity.EntityRegainHealthEvent.RegainReason
Package
Description
Interfaces for non-voxel objects that can exist in a
world
, including all players, monsters, projectiles, etc.-
Uses of EntityRegainHealthEvent.RegainReason in org.bukkit.entity
Modifier and TypeMethodDescriptionvoid
Damageable.heal
(double amount, EntityRegainHealthEvent.RegainReason reason) Heal this entity by the given amount. -
Uses of EntityRegainHealthEvent.RegainReason in org.bukkit.event.entity
Modifier and TypeMethodDescriptionEntityRegainHealthEvent.getRegainReason()
Gets the reason for why the entity is regaining healthReturns the enum constant of this class with the specified name.static EntityRegainHealthEvent.RegainReason[]
EntityRegainHealthEvent.RegainReason.values()
Returns an array containing the constants of this enum class, in the order they are declared.ModifierConstructorDescriptionEntityRegainHealthEvent
(@NotNull Entity entity, double amount, @NotNull EntityRegainHealthEvent.RegainReason regainReason) EntityRegainHealthEvent
(@NotNull Entity entity, double amount, @NotNull EntityRegainHealthEvent.RegainReason regainReason, boolean isFastRegen)