BedrioxDOCUMENTATION
API CLASS

EntityTargetChangedEvent

Immutable notification emitted after an authoritative target transition commits.

Bedriox\Api\Event\Entity\EntityTargetChangedEvent
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.

View exact source ↗