PocketMine-MP 5.21.2 git-a6534ecbbbcf369264567d27e5ed70f7f5be9816
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: