Uses of Enum
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 type with the specified name.static EntityTargetEvent.TargetReason[]
EntityTargetEvent.TargetReason.values()
Returns an array containing the constants of this enum type, in the order they are declared.ModifierConstructorDescriptionEntityTargetEvent(Entity entity, Entity target, EntityTargetEvent.TargetReason reason)
EntityTargetLivingEntityEvent(Entity entity, LivingEntity target, EntityTargetEvent.TargetReason reason)