RecordSound
in package
implements
Sound
Interfaces, Classes, Traits and Enums
Table of Contents
- $recordType : RecordType
- __construct() : mixed
- encode() : array<string|int, ClientboundPacket>
Properties
$recordType
private
RecordType
$recordType
Methods
__construct()
public
__construct(RecordType $recordType) : mixed
Parameters
- $recordType : RecordType
Return values
mixed —encode()
public
encode(Vector3 $pos) : array<string|int, ClientboundPacket>
Parameters
- $pos : Vector3