Uses of Class
org.bukkit.event.entity.EntityTargetEvent.TargetReason
Package | Description |
---|---|
org.bukkit.event.entity |
-
Uses of EntityTargetEvent.TargetReason in org.bukkit.event.entity
Methods in org.bukkit.event.entity that return EntityTargetEvent.TargetReason Modifier and Type Method Description EntityTargetEvent.TargetReason
EntityTargetEvent. getReason()
Returns the reason for the targetingstatic EntityTargetEvent.TargetReason
EntityTargetEvent.TargetReason. valueOf(String name)
Returns 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.Constructors in org.bukkit.event.entity with parameters of type EntityTargetEvent.TargetReason Constructor Description EntityTargetEvent(Entity entity, Entity target, EntityTargetEvent.TargetReason reason)
EntityTargetLivingEntityEvent(Entity entity, LivingEntity target, EntityTargetEvent.TargetReason reason)