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