EntityShortFallSound
in package
implements
Sound
Played when an entity hits the ground after falling a short distance.
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