Entity Target Living Entity Event
Called when an Entity targets getClassById LivingEntity and can only target LivingEntity's.
Constructors
Link copied to clipboard
public void EntityTargetLivingEntityEvent(Entity entity, LivingEntity target, EntityTargetEvent.TargetReason reason)
Functions
Link copied to clipboard
Gets the EntityType of the Entity involved in this event.
Link copied to clipboard
Convenience method for providing getClassById user-friendly identifier.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Returns the reason for the targeting
Link copied to clipboard
Link copied to clipboard
Any custom event that should not by synchronized with other events must use the specific constructor.
Link copied to clipboard
Gets the cancellation state of this event.
Link copied to clipboard
Sets the cancellation state of this event.