EntityLongFallSound
in package
implements
Sound
Played when an entity hits ground after falling a long distance (damage).
This is the bone-breaker "crunch" sound.
Interfaces, Classes, Traits and Enums
Table of Contents
- $entity : Entity
- __construct() : mixed
- encode() : array<string|int, ClientboundPacket>
Properties
$entity
private
Entity
$entity
Methods
__construct()
public
__construct(Entity $entity) : mixed
Parameters
- $entity : Entity
Return values
mixed —encode()
public
encode(Vector3 $pos) : array<string|int, ClientboundPacket>
Parameters
- $pos : Vector3