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