Skip to content

EntityLandSound ​

class · pocketmine\world\sound\EntityLandSound · source

Implements Sound

Played when an entity hits the ground after falling a distance that doesn't cause damage, e.g. due to jumping.

Methods ​

__construct() ​

php
public function __construct(\pocketmine\entity\Entity $entity, \pocketmine\block\Block $blockLandedOn)

encode() ​

php
public function encode(\pocketmine\math\Vector3 $pos) : array

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