EntityTargetEvent
Cancellable, adjustable target transition before authoritative commit.
Bedriox\Api\Event\Entity\EntityTargetEvent
classBedriox\Api\Event\Entity
Public methods
__construct(Bedriox\Api\Entity\Mob $entity, Bedriox\Api\Entity\Entity|Bedriox\Api\Player\Player|null $previousTarget, Bedriox\Api\Entity\Entity|Bedriox\Api\Player\Player|null $target, Bedriox\Api\Entity\EntityTargetReason $reason)Typed public method.
target(): Bedriox\Api\Entity\Entity|Bedriox\Api\Player\Player|nullTyped public method.
setTarget(Bedriox\Api\Entity\Entity|Bedriox\Api\Player\Player|null $target): voidTyped public method.
