ArrowShakeAnimation
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
- $arrow : Arrow
- $durationInTicks : int
- __construct() : mixed
- encode() : array<string|int, ClientboundPacket>
Properties
$arrow
private
Arrow
$arrow
$durationInTicks
private
int
$durationInTicks
Methods
__construct()
public
__construct(Arrow $arrow, int $durationInTicks) : mixed
Parameters
- $arrow : Arrow
- $durationInTicks : int
Return values
mixed —encode()
public
encode() : array<string|int, ClientboundPacket>