ConsumingItemAnimation
in package
implements
Animation
Interfaces, Classes, Traits and Enums
- Animation
- Represents an animation such as an arm swing, or other visual effect done by entities.
Table of Contents
- $human : Human
- $item : Item
- __construct() : mixed
- encode() : array<string|int, ClientboundPacket>
Properties
$human
private
Human
$human
$item
private
Item
$item
Methods
__construct()
public
__construct(Human $human, Item $item) : mixed
Parameters
Return values
mixed —encode()
public
encode() : array<string|int, ClientboundPacket>