PocketMine-MP 5.35.1 git-e32e836dad793a3a3c8ddd8927c00e112b1e576a
Loading...
Searching...
No Matches
pocketmine\world\sound\EntityLongFallSound Class Reference
+ Inheritance diagram for pocketmine\world\sound\EntityLongFallSound:
+ Collaboration diagram for pocketmine\world\sound\EntityLongFallSound:

Public Member Functions

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

Detailed Description

Played when an entity hits ground after falling a long distance (damage). This is the bone-breaker "crunch" sound.

Definition at line 35 of file EntityLongFallSound.php.

Constructor & Destructor Documentation

◆ __construct()

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

Definition at line 36 of file EntityLongFallSound.php.

Member Function Documentation

◆ encode()

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

Implements pocketmine\world\sound\Sound.

Definition at line 38 of file EntityLongFallSound.php.


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