HytaleDocs
Misc

OreCluster

Ore cluster generator: at each grid point picks a random height, radius, length, for the cluster shape, and a random selection of blocks to place

Type

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

Type information: Constant value: OreCluster

Blocks

Weighted list of block types to randomly fill the ore cluster with

Type information:

(Nullable) Array of the type: Defines a weighted block entry used to randomly select a block type from a list of entries

BlockEntry with the following properties:

KeyTypeDescription
Block(Nullable) Either String or BlockType

Reference to a BlockType asset

The block type to place

WeightNumber defaults to: 1.0

The random chance of this block type being chosen

Radius

The radius range of the ore cluster shape

Type information:

(Nullable)

IntRange with the following properties:

KeyTypeDescription
MinInteger defaults to: 0

The inclusive minimum value of the range

MaxInteger defaults to: 0

The inclusive maximum value of the range

Length

The length range of the ore cluster shape

Type information:

(Nullable)

IntRange with the following properties:

KeyTypeDescription
MinInteger defaults to: 0

The inclusive minimum value of the range

MaxInteger defaults to: 0

The inclusive maximum value of the range

Repetitions

The number of ore clusters to generate per grid point

Type information:

(Nullable)

IntRange with the following properties:

KeyTypeDescription
MinInteger defaults to: 0

The inclusive minimum value of the range

MaxInteger defaults to: 0

The inclusive maximum value of the range

On this page