Skip to content

CreakingHeartSpawnSound 5.46.0 ​

class · pocketmine\world\sound\CreakingHeartSpawnSound · source

Implements Sound

Sound of a creaking heart summoning its creaking ("creaking_heart_spawn" of the creaking_heart block sounds, the client picks them from the block given as extra data).

Methods ​

__construct() ​

php
public function __construct(\pocketmine\block\Block $heart)

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.