PocketMine-MP 5.15.1 git-ed158f8a1b0cfe334ac5f45febc0f633602014f2
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: