Skip to content

ActorEventAnimation 5.46.0 ​

final class · pocketmine\entity\animation\ActorEventAnimation · source

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

VanillaMine is a fork of PocketMine-MP, maintained by Luxury Nodes. Not affiliated with the PMMP team or Mojang.