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:
| Key | Type | Description | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Type | Constant value: NeighbourBlockTags | This field controls the type, it must be set to the constant value "NeighbourBlockTags" to function as this type. | ||||||||
| TagPattern | String | A TagPattern can be used if the block at the chosen location needs to fulfill specific conditions. | ||||||||
| NeighbourBlock | Any one of the following String:
NeighbourDirection
| Defines which block has to be checked related to original location. Possible values: Above, Below, Sideways. | ||||||||
| Support | (Nullable) Fixed size array of the following:
| 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:
| Key | Type | Description |
|---|---|---|
| Weight | Number defaults to: 1.0 | Defines the probability to have this entry. |
| BlockType | String | 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):
| Name | Description |
|---|---|
"Downwards" | |
"Both" | |
"Upwards" |
