PocketMine-MP 5.23.3 git-f7687af337d001ddbcc47b8e773f014a33faa662
Loading...
Searching...
No Matches
pocketmine\world\sound\EntityLandSound Class Reference
+ Inheritance diagram for pocketmine\world\sound\EntityLandSound:
+ Collaboration diagram for pocketmine\world\sound\EntityLandSound:

Public Member Functions

 __construct (private Entity $entity, private Block $blockLandedOn)
 
 encode (Vector3 $pos)
 

Detailed Description

Played when an entity hits the ground after falling a distance that doesn't cause damage, e.g. due to jumping.

Definition at line 36 of file EntityLandSound.php.

Constructor & Destructor Documentation

◆ __construct()

pocketmine\world\sound\EntityLandSound::__construct ( private Entity $entity,
private Block $blockLandedOn )

Definition at line 37 of file EntityLandSound.php.

Member Function Documentation

◆ encode()

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

Implements pocketmine\world\sound\Sound.

Definition at line 42 of file EntityLandSound.php.


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