HytaleDocs
Item

Animations

Asset path: Server/Item/Animations/*.json

Parent

When set this asset will inherit properties from the named asset.

When inheriting from another ItemPlayerAnimations most properties will simply be copied from the parent asset to this asset. In the case where both child and parent provide a field the child field will simply replace the value provided by the parent, in the case of nested structures this will apply to the fields within the structure. In some cases the field may decide to act differently, for example: by merging the parent and child fields together.

Type information: String

Tags

Tags are a general way to describe an asset that can be interpreted by other systems in a way they see fit.

For example you could tag something with a Material tag with the values Solid and Stone, And another single tag Ore.

Tags will be expanded into a single list of tags automatically. Using the above example with Material and Ore the end result would be the following list of tags: Ore, Material, Solid, Stone, Material=Solid and Material=Stone.

Type information:

(Nullable) Map of the following:

KeyType
any StringArray of String

Animations

Type information:

Map of the following:

KeyType
any String
ItemAnimation

ItemAnimation with the following properties:

KeyTypeDescription
ThirdPerson(Nullable) String

Reference to a common asset in the folders:

  • Common/Characters/
  • Common/NPC/
with the extension: *.blockyanim
ThirdPersonMoving(Nullable) String

Reference to a common asset in the folders:

  • Common/Characters/
  • Common/NPC/
with the extension: *.blockyanim
ThirdPersonFace(Nullable) String

Reference to a common asset in the folders:

  • Common/Characters/
  • Common/NPC/
with the extension: *.blockyanim
FirstPerson(Nullable) String

Reference to a common asset in the folders:

  • Common/Characters/
  • Common/NPC/
with the extension: *.blockyanim
FirstPersonOverride(Nullable) String

Reference to a common asset in the folders:

  • Common/Characters/
  • Common/NPC/
with the extension: *.blockyanim
KeepPreviousFirstPersonAnimationBoolean defaults to: false
SpeedNumber defaults to: 0.0
BlendingDurationNumber defaults to: 0.20000000298023224
LoopingBoolean defaults to: false
ClipsGeometryBoolean defaults to: false

WiggleWeights

Type information:

WiggleWeights with the following properties:

KeyTypeDescription
XNumber defaults to: 0.0
XDecelerationNumber defaults to: 0.0
YNumber defaults to: 0.0
YDecelerationNumber defaults to: 0.0
ZNumber defaults to: 0.0
ZDecelerationNumber defaults to: 0.0
RollNumber defaults to: 0.0
RollDecelerationNumber defaults to: 0.0
PitchNumber defaults to: 0.0
PitchDecelerationNumber defaults to: 0.0

Camera

Type information:

(Nullable)

CameraSettings with the following properties:

KeyTypeDescription
PositionOffset(Nullable)
Vector3f

Vector3f with the following properties:

KeyTypeDescription
XEither Number defaults to: 0.0 or String that matches the pattern: ^(-?Infinity|NaN)$
YEither Number defaults to: 0.0 or String that matches the pattern: ^(-?Infinity|NaN)$
ZEither Number defaults to: 0.0 or String that matches the pattern: ^(-?Infinity|NaN)$
Yaw(Nullable)
CameraAxis

CameraAxis with the following properties:

KeyTypeDescription
AngleRange(Nullable) Rangef
TargetNodesArray of the type: CameraNode
Pitch(Nullable)
CameraAxis

CameraAxis with the following properties:

KeyTypeDescription
AngleRange(Nullable) Rangef
TargetNodesArray of the type: CameraNode

PullbackConfig

Overrides the offset of first person arms when close to obstacles

Type information:

(Nullable)

ItemPullbackConfig with the following properties:

KeyTypeDescription
LeftOffsetOverride(Nullable) Fixed size array of the following:
Type
Number
Number
Number
LeftRotationOverride(Nullable) Fixed size array of the following:
Type
Number
Number
Number
RightOffsetOverride(Nullable) Fixed size array of the following:
Type
Number
Number
Number
RightRotationOverride(Nullable) Fixed size array of the following:
Type
Number
Number
Number

UseFirstPersonOverrides

Determines whether or not to use FirstPersonOverride animations within ItemAnimations

Type information: Boolean defaults to: false

Notes:

Types referenced by this type

CameraNode

Any one of the following String:

NameDescription
"None"
"Head"
"LShoulder"
"RShoulder"
"Belly"

On this page