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