Skip to content

ItemUseOnBlockSound ​

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

Implements Sound

Methods ​

__construct() ​

php
public function __construct(\pocketmine\block\Block $block)

encode() ​

php
public function encode(\pocketmine\math\Vector3 $pos) : array

getBlock() ​

php
public function getBlock() : \pocketmine\block\Block

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