Uses of Enum Class
org.bukkit.event.entity.EntityTargetEvent.TargetReason
Package
Description
-
Uses of EntityTargetEvent.TargetReason in org.bukkit.event.entity
Modifier and TypeMethodDescriptionEntityTargetEvent.getReason()
Returns the reason for the targetingReturns the enum constant of this class with the specified name.static EntityTargetEvent.TargetReason[]
EntityTargetEvent.TargetReason.values()
Returns an array containing the constants of this enum class, in the order they are declared.ModifierConstructorDescriptionEntityTargetEvent(Entity entity, Entity target, EntityTargetEvent.TargetReason reason)
EntityTargetLivingEntityEvent(Entity entity, LivingEntity target, EntityTargetEvent.TargetReason reason)