PopSound
in package
implements
Sound
Interfaces, Classes, Traits and Enums
Table of Contents
- $pitch : float
- __construct() : mixed
- encode() : array<string|int, ClientboundPacket>
- getPitch() : float
Properties
$pitch
private
float
$pitch
Methods
__construct()
public
__construct([float $pitch = 0 ]) : mixed
Parameters
- $pitch : float = 0
Return values
mixed —encode()
public
encode(Vector3 $pos) : array<string|int, ClientboundPacket>
Parameters
- $pos : Vector3
Return values
array<string|int, ClientboundPacket> —getPitch()
public
getPitch() : float