Skip to content

BrushSound 5.46.0 ​

final class · pocketmine\world\sound\BrushSound · source

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

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