DragonEggTeleportParticle
implements
Particle
Interfaces, Classes, Traits and Enums
- Particle
Table of Contents
-
$xDiff
: int
-
$yDiff
: int
-
$zDiff
: int
-
__construct()
: mixed
-
encode()
: array<string|int, ClientboundPacket>
-
boundOrThrow()
: int
$xDiff
private
int
$xDiff
$yDiff
private
int
$yDiff
$zDiff
private
int
$zDiff
__construct()
public
__construct(int $xDiff, int $yDiff, int $zDiff) : mixed
Parameters
-
$xDiff
: int
-
-
$yDiff
: int
-
-
$zDiff
: int
-
Return values
mixed
—
encode()
public
encode(Vector3 $pos) : array<string|int, ClientboundPacket>
Parameters
-
$pos
: Vector3
-
Return values
array<string|int, ClientboundPacket>
—
boundOrThrow()
private
static boundOrThrow(int $v) : int
Parameters
-
$v
: int
-
Return values
int
—