Skip to content

ShelfActivateSound 5.47.0 ​

class · pocketmine\world\sound\ShelfActivateSound · source

Implements Sound

Played by a shelf when it becomes powered. The client picks the sound from the block's sound type.

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.