Skip to content

BlockStateChangeSound 5.47.0 ​

class · pocketmine\world\sound\BlockStateChangeSound · source

Implements Sound

The "state_change" sound of a block (resource pack block_sounds), e.g. a dried ghast taking in water.

Methods ​

__construct() ​

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

encode() ​

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

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