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

Public Member Functions

 __construct (private Entity $entity)
 
 encode (Vector3 $pos)
 

Detailed Description

Played when an entity hits the ground after falling a short distance.

Definition at line 34 of file EntityShortFallSound.php.

Constructor & Destructor Documentation

◆ __construct()

pocketmine\world\sound\EntityShortFallSound::__construct ( private Entity  $entity)

Definition at line 35 of file EntityShortFallSound.php.

Member Function Documentation

◆ encode()

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

Implements pocketmine\world\sound\Sound.

Definition at line 37 of file EntityShortFallSound.php.


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