PocketMine-MP 5.15.1 git-ed158f8a1b0cfe334ac5f45febc0f633602014f2
pocketmine\world\sound\ItemUseOnBlockSound Class Reference
+ Inheritance diagram for pocketmine\world\sound\ItemUseOnBlockSound:
+ Collaboration diagram for pocketmine\world\sound\ItemUseOnBlockSound:

Public Member Functions

 __construct (private Block $block)
 
 encode (Vector3 $pos)
 
 getBlock ()
 

Detailed Description

Definition at line 32 of file ItemUseOnBlockSound.php.

Constructor & Destructor Documentation

◆ __construct()

pocketmine\world\sound\ItemUseOnBlockSound::__construct ( private Block  $block)

Definition at line 34 of file ItemUseOnBlockSound.php.

Member Function Documentation

◆ encode()

pocketmine\world\sound\ItemUseOnBlockSound::encode ( Vector3  $pos)
Returns
ClientboundPacket[]

Implements pocketmine\world\sound\Sound.

Definition at line 40 of file ItemUseOnBlockSound.php.

◆ getBlock()

pocketmine\world\sound\ItemUseOnBlockSound::getBlock ( )

Definition at line 38 of file ItemUseOnBlockSound.php.


The documentation for this class was generated from the following file: