Skip to content

LivingTotemUseAnimation 5.47.0 ​

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

Implements Animation

A totem of undying saving any living entity from death (vanilla: mobs holding one are saved too), unlike TotemUseAnimation which only takes humans.

Methods ​

__construct() ​

php
public function __construct(\pocketmine\entity\Living $entity)

encode() ​

php
public function encode() : array

VanillaMine is a fork of PocketMine-MP. Not affiliated with the PMMP team or Mojang.