HytaleDocs
Misc

DirectionalGrowthBehaviour

Type

This field controls the type, it must be set to the constant value "Directional" to function as this type.

Type information: Constant value: Directional

LocationConditions

Defines the possible location conditions a position has to fulfill to be considered as valid.

Type information:

(Nullable) Array of the type:

NeighbourBlockTagsLocationCondition with the following properties:

KeyTypeDescription
TypeConstant value: NeighbourBlockTags

This field controls the type, it must be set to the constant value "NeighbourBlockTags" to function as this type.

TagPatternString

A TagPattern can be used if the block at the chosen location needs to fulfill specific conditions.

NeighbourBlockAny one of the following String:
NeighbourDirection
NameDescription
"Above"
"Below"
"Sideways"

Defines which block has to be checked related to original location. Possible values: Above, Below, Sideways.

Support(Nullable) Fixed size array of the following:
Type
Integer
Integer

Additional field used if NeighbourBlock is set to Sideways.

GrowthBlockTypes

Defines a map of the possible BlockType to spread.

Type information:

Array of the type:

BlockTypeWeight with the following properties:

KeyTypeDescription
WeightNumber defaults to: 1.0

Defines the probability to have this entry.

BlockTypeString

Defines the BlockType that'll be spread

Horizontal

Defines if the spread can happen horizontally. The range must be set with positive integers.

Type information:

(Nullable) Fixed size array of the following:

Type
Integer
Integer

Vertical

Defines if the spread can happen vertically. The range must be set with positive integers.

Type information:

(Nullable) Fixed size array of the following:

Type
Integer
Integer

VerticalDirection

Defines in which direction the vertical spread should happen. Possible values are: 'Upwards' and 'Downwards', default value: 'Upwards'.

Type information:

Any one of the following String (defaults to Both):

NameDescription
"Downwards"
"Both"
"Upwards"

On this page