CavePrefabValue
SeedIndex
The preserved index used to replay the legacy cave-prefab seed. Keep converted values unique and nonnegative.
Type information: (Nullable) Integer
Prefab
The prefab references available to this entry.
Type information: (Nullable) Array of String
Weight
The selection weights corresponding by index to Prefab entries. The default weight is 1.
Type information: (Nullable) Array of Number
Config
The placement configuration for this cave-prefab entry.
Type information:
(Nullable)
CavePrefabConfigValue with the following properties:
| Key | Type | Description | |||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Rotations | (Nullable) Array of String | The allowed prefab rotations. If absent, all rotations are allowed. | |||||||||||||||||||||||||||
| Placement | (Nullable) String | The cave surface used for prefab placement. The default is the cave placement default. | |||||||||||||||||||||||||||
| BiomeMask | (Nullable) Array of String | The optional biome rules allowed for cave-prefab placement. | |||||||||||||||||||||||||||
| Mask | (Nullable) Either String or BlockMask | The optional Replacement block mask key or inline asset used for placement. | |||||||||||||||||||||||||||
| MaskCacheKey | (Nullable) String | The optional cache key shared by equivalent placement masks. | |||||||||||||||||||||||||||
| Iterations | (Nullable) Type 0 | The random number of placement attempts. The default is 5. | |||||||||||||||||||||||||||
| Displacement | (Nullable) Type 0 | The random coordinate displacement in blocks. The default is zero. | |||||||||||||||||||||||||||
| NoiseMask | (Nullable)
NoiseConditionValue
| The optional noise condition for placement. | |||||||||||||||||||||||||||
| HeightThreshold | (Nullable) Either
BasicHeightThresholdValue
NoiseHeightThresholdValue
| The optional world-height condition for placement. |
Notes:
Types referenced by this type
Type 0
Any of these:
| Type | ||||
|---|---|---|---|---|
Number | ||||
Array of Number | ||||
Map of the following:
Map
|
Type 1
Any of these:
| Type |
|---|
Number |
Array of Number |
| Type 2 |
Type 2
Any of these:
| Type |
|---|
Number |
Array of Number |
Array of Array of Number |
