Skip to content

Instantly share code, notes, and snippets.

@gollilla
Last active November 21, 2020 11:07
Show Gist options
  • Save gollilla/910c41e3a1c5d908ca5f7c43755f8733 to your computer and use it in GitHub Desktop.
Save gollilla/910c41e3a1c5d908ca5f7c43755f8733 to your computer and use it in GitHub Desktop.
<?php
use pocketmine\network\mcpe\protocol\AnimateEntityPacket;
$pk = AnimateEntityPacket::create("animation.idle_back_1", "none", "query.any_animation_finished", "", 2.0, [$player->getId()]);
$player->dataPacket($pk);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment