Skip to content

PlayerEmoteEvent ​

class · pocketmine\event\player\PlayerEmoteEvent · source

Extends PlayerEvent
Implements Cancellable

Called when a player uses an emote.

Methods ​

__construct() ​

php
public function __construct(\pocketmine\player\Player $player, string $emoteId)

getEmoteId() ​

php
public function getEmoteId() : string

setEmoteId() ​

php
public function setEmoteId(string $emoteId) : void

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