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

Public Member Functions

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

Detailed Description

Definition at line 32 of file PressurePlateActivateSound.php.

Constructor & Destructor Documentation

◆ __construct()

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

Definition at line 34 of file PressurePlateActivateSound.php.

Member Function Documentation

◆ encode()

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

Implements pocketmine\world\sound\Sound.

Definition at line 38 of file PressurePlateActivateSound.php.


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