Skip to content

BlockPunchSound ​

class · pocketmine\world\sound\BlockPunchSound · source

Implements Sound

Played when a player attacks a block in survival, attempting to break it.

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, maintained by Luxury Nodes. Not affiliated with the PMMP team or Mojang.