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