PocketMine-MP 5.21.2 git-b2aa6396c3cc2cafdd815eacc360e1ad89599899
|
Public Member Functions | |
__construct (private Block $block) | |
encode (Vector3 $pos) | |
Played when a player attacks a block in survival, attempting to break it.
Definition at line 35 of file BlockPunchSound.php.
pocketmine\world\sound\BlockPunchSound::__construct | ( | private Block | $block | ) |
Definition at line 36 of file BlockPunchSound.php.
pocketmine\world\sound\BlockPunchSound::encode | ( | Vector3 | $pos | ) |
Implements pocketmine\world\sound\Sound.
Definition at line 38 of file BlockPunchSound.php.