Uses of Enum Class
org.bukkit.event.entity.EntityRegainHealthEvent.RegainReason
Packages that use 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
Methods in org.bukkit.entity with parameters of type EntityRegainHealthEvent.RegainReasonModifier 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
Methods in org.bukkit.event.entity that return EntityRegainHealthEvent.RegainReasonModifier 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.Constructors in org.bukkit.event.entity with parameters of type EntityRegainHealthEvent.RegainReasonModifierConstructorDescriptionEntityRegainHealthEvent
(@NotNull Entity entity, double amount, @NotNull EntityRegainHealthEvent.RegainReason regainReason) EntityRegainHealthEvent
(@NotNull Entity entity, double amount, @NotNull EntityRegainHealthEvent.RegainReason regainReason, boolean isFastRegen)