BrushSound 5.46.0
Implements Sound
Played when a block is brushed with a brush; the block decides which sound variant (sand, gravel...) is used.
Methods
__construct()
php
public function __construct(\pocketmine\block\Block $block, bool $completed = false)encode()
php
public function encode(\pocketmine\math\Vector3 $pos) : array