HytaleDocs
Misc

ChildValue

SeedIndex

The preserved index used to replay the legacy child seed. Keep converted values unique and nonnegative.

Type information: (Nullable) Integer

Node

The ordered child-node asset keys available to this entry.

Type information:

(Nullable) Array of the type: Either String or CaveNodeAsset

Reference to a CaveNodeAsset asset

Weights

The selection weights corresponding by index to Node entries. The default weight is 1.

Type information: (Nullable) Array of Number

Anchor

The child anchor offset as X, Y, and Z block coordinates. The default is zero.

Type information: (Nullable) Array of Number

Offset

The child placement offset as X, Y, and Z block coordinates. The default is zero.

Type information: (Nullable) Array of Number

Rotation

The allowed child rotations. The default is rotation zero.

Type information: (Nullable) Array of String

ChildrenLimit

The optional random limit on descendants generated through this child.

Type information:

(Nullable) Any of these:

Type
Number
Array of Number
Map of the following:
Map
KeyType
any Stringanything

Repeat

The random number of child placements. The default is 1.

Type information:

(Nullable) Any of these:

Type
Number
Array of Number
Map of the following:
Map
KeyType
any Stringanything

PitchAdd

The random pitch added in degrees. When present, it takes precedence over PitchSet.

Type information:

(Nullable) Any of these:

Type
Number
Array of Number
Map of the following:
Map
KeyType
any Stringanything

PitchSet

The random absolute pitch in degrees. PitchAdd takes precedence when both are present.

Type information:

(Nullable) Any of these:

Type
Number
Array of Number
Map of the following:
Map
KeyType
any Stringanything

YawAdd

The random yaw added in degrees. When present, it takes precedence over YawSet.

Type information:

(Nullable) Any of these:

Type
Number
Array of Number
Map of the following:
Map
KeyType
any Stringanything

YawSet

The random absolute yaw in degrees. YawAdd takes precedence when both are present.

Type information:

(Nullable) Any of these:

Type
Number
Array of Number
Map of the following:
Map
KeyType
any Stringanything

Chance

The probability of generating this child. The default is 1.

Type information: Number defaults to: 1.0

YawMode

The reference frame used for child yaw. The default is NODE.

Type information: (Nullable) String

On this page