ActorEventAnimation 5.46.0
Implements Animation
An entity event the client animates by itself, e.g. ActorEvent::VIBRATION_DETECTED (warden tendrils) or ActorEvent::ENDER_DRAGON_DEATH (dragon death beams).
Methods
__construct()
php
public function __construct(\pocketmine\entity\Entity $entity, int $event, int $data = 0)encode()
php
public function encode() : array