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
(@NotNull Entity entity, @Nullable Entity target, @NotNull EntityTargetEvent.TargetReason reason) EntityTargetLivingEntityEvent
(@NotNull Entity entity, @Nullable LivingEntity target, @NotNull EntityTargetEvent.TargetReason reason)