2021-11-16 13:26:46 +01:00
{
"$id" : "minecraft.behavior.biomes.1.12.0.components.minecraft.forced_features" ,
"title" : "Forced Features" ,
"description" : "Force specific decorative features (trees, plants, etc.) to appear in this Biome, regardless of normal decoration rules." ,
"type" : "object" ,
"minProperties" : 0 ,
"maxProperties" : 11 ,
"additionalProperties" : false ,
"definitions" : {
"coordinate" : {
"oneOf" : [
{
"type" : "string" ,
2021-11-16 13:28:07 +01:00
"$ref" : "../../../molang/number.json" ,
2021-11-16 13:26:46 +01:00
"description" : "Expression for the coordinate (evaluated each iteration). Mutually exclusive with random distribution object below."
} ,
{
"type" : "number" ,
"description" : "Expression for the coordinate (evaluated each iteration). Mutually exclusive with random distribution object below."
} ,
{
"type" : "object" ,
"description" : "Distribution for the coordinate (evaluated each iteration). Mutually exclusive with Molang expression above." ,
"additionalProperties" : false ,
"required" : [ "distribution" , "extent" ] ,
"properties" : {
"distribution" : {
"title" : "Distribution" ,
2022-07-22 19:41:04 +02:00
"description" : "Type of distribution - uniform random, gaussian (centered in the range), or grid (either fixed-step or jittered)." ,
2021-11-16 13:26:46 +01:00
"type" : "string" ,
2021-11-30 19:41:19 +01:00
"enum" : [ "uniform" , "gaussian" , "inverse_gaussian" , "triangle" , "fixed_grid" , "jittered_grid" ]
2021-11-16 13:26:46 +01:00
} ,
"extent" : {
"title" : "Extent" ,
2022-07-22 19:41:04 +02:00
"description" : "UNDOCUMENTED." ,
2021-11-16 13:26:46 +01:00
"$comment" : "UNDOCUMENTED" ,
"type" : "array" ,
"items" : [
{
"title" : "Lower Bound" ,
2022-07-22 19:41:04 +02:00
"description" : "Lower bound (inclusive) of the scatter range, as an offset from the input point to scatter around." ,
2021-11-16 13:28:07 +01:00
"$ref" : "../../../molang/number.json"
2021-11-16 13:26:46 +01:00
} ,
{
"title" : "Upper Bound" ,
2022-07-22 19:41:04 +02:00
"description" : "Upper bound (inclusive) of the scatter range, as an offset from the input point to scatter around." ,
2021-11-16 13:28:07 +01:00
"$ref" : "../../../molang/number.json"
2021-11-16 13:26:46 +01:00
}
]
} ,
"grid_offset" : {
"title" : "Step Size" ,
2022-07-22 19:41:04 +02:00
"description" : "When the distribution type is grid, defines the offset along this axis." ,
2021-11-16 13:26:46 +01:00
"type" : "integer" ,
"minimum" : 0
} ,
"step_size" : {
"title" : "Step Size" ,
2022-07-22 19:41:04 +02:00
"description" : "When the distribution type is grid, defines the distance between steps along this axis." ,
2021-11-16 13:26:46 +01:00
"type" : "integer" ,
"minimum" : 1
}
}
}
]
} ,
"iteration" : {
"title" : "Iteration" ,
2022-07-22 19:41:04 +02:00
"description" : "UNDOCUMENTED." ,
2021-11-16 13:26:46 +01:00
"$comment" : "UNDOCUMENTED" ,
"additionalProperties" : false ,
2021-11-16 13:28:07 +01:00
"type" : "object" ,
2021-11-16 13:26:46 +01:00
"required" : [ "iterations" , "places_feature" , "identifier" ] ,
"properties" : {
"coordinate_eval_order" : {
"title" : "Coordinate Eval Order" ,
"description" : "The order in which coordinates will be evaluated. Should be used when a coordinate depends on another. If omitted, defaults to `xzy`." ,
"type" : "string" ,
"enum" : [ "xyz" , "xzy" , "yxz" , "yzx" , "zxy" , "zyx" ]
} ,
"identifier" : {
"title" : "Identifier" ,
2022-07-22 19:41:04 +02:00
"description" : "UNDOCUMENTED." ,
2021-11-16 13:26:46 +01:00
"$comment" : "UNDOCUMENTED" ,
"type" : "string"
} ,
"iterations" : {
"title" : "Iterations" ,
2022-07-22 19:41:04 +02:00
"description" : "Number of scattered positions to generate." ,
2021-11-16 13:28:07 +01:00
"$ref" : "../../../molang/number.json"
2021-11-16 13:26:46 +01:00
} ,
"places_feature" : {
"title" : "Places Feature" ,
2022-07-22 19:41:04 +02:00
"description" : "UNDOCUMENTED." ,
2021-11-16 13:26:46 +01:00
"$comment" : "UNDOCUMENTED" ,
"type" : "string"
} ,
"scatter_chance" : {
"title" : "Scatter Chance" ,
"oneOf" : [
{
"type" : "object" ,
"description" : "Probability numerator / denominator that this scatter will occur. Not evaluated each iteration; either no iterations will run, or all will." ,
"additionalProperties" : false ,
"properties" : {
"denominator" : {
"title" : "Denominator" ,
2022-07-22 19:41:04 +02:00
"description" : "UNDOCUMENTED." ,
2021-11-16 13:26:46 +01:00
"$comment" : "UNDOCUMENTED" ,
"type" : "integer" ,
"minimum" : 1
} ,
"numerator" : {
"title" : "Numerator" ,
2022-07-22 19:41:04 +02:00
"description" : "UNDOCUMENTED." ,
2021-11-16 13:26:46 +01:00
"$comment" : "UNDOCUMENTED" ,
"type" : "integer" ,
"minimum" : 1
}
}
} ,
{
"type" : "string" ,
"description" : "Probability (0-100) that this scatter will occur. Not evaluated each iteration; either no iterations will run, or all will." ,
2021-11-16 13:28:07 +01:00
"$ref" : "../../../molang/number.json"
2021-11-16 13:26:46 +01:00
} ,
{
"type" : "number" ,
"description" : "Probability (0-100) that this scatter will occur. Not evaluated each iteration; either no iterations will run, or all will."
}
]
} ,
"x" : {
"title" : "X" ,
"$ref" : "#/definitions/coordinate"
} ,
"y" : {
"title" : "X" ,
"$ref" : "#/definitions/coordinate"
} ,
"z" : {
"title" : "X" ,
"$ref" : "#/definitions/coordinate"
}
}
}
} ,
"properties" : {
"after_sky_pass" : {
"title" : "First Pass" ,
2022-07-22 19:41:04 +02:00
"description" : "UNDOCUMENTED." ,
2021-11-16 13:26:46 +01:00
"$comment" : "UNDOCUMENTED" ,
"type" : "array" ,
"items" : {
"$ref" : "#/definitions/iteration"
}
} ,
"after_surface_pass" : {
"title" : "First Pass" ,
2022-07-22 19:41:04 +02:00
"description" : "UNDOCUMENTED." ,
2021-11-16 13:26:46 +01:00
"$comment" : "UNDOCUMENTED" ,
"type" : "array" ,
"items" : {
"$ref" : "#/definitions/iteration"
}
} ,
"after_underground_pass" : {
"title" : "First Pass" ,
2022-07-22 19:41:04 +02:00
"description" : "UNDOCUMENTED." ,
2021-11-16 13:26:46 +01:00
"$comment" : "UNDOCUMENTED" ,
"type" : "array" ,
"items" : {
"$ref" : "#/definitions/iteration"
}
} ,
"before_sky_pass" : {
"title" : "First Pass" ,
2022-07-22 19:41:04 +02:00
"description" : "UNDOCUMENTED." ,
2021-11-16 13:26:46 +01:00
"$comment" : "UNDOCUMENTED" ,
"type" : "array" ,
"items" : {
"$ref" : "#/definitions/iteration"
}
} ,
"before_surface_pass" : {
"title" : "First Pass" ,
2022-07-22 19:41:04 +02:00
"description" : "UNDOCUMENTED." ,
2021-11-16 13:26:46 +01:00
"$comment" : "UNDOCUMENTED" ,
"type" : "array" ,
"items" : {
"$ref" : "#/definitions/iteration"
}
} ,
"before_underground_pass" : {
"title" : "First Pass" ,
2022-07-22 19:41:04 +02:00
"description" : "UNDOCUMENTED." ,
2021-11-16 13:26:46 +01:00
"$comment" : "UNDOCUMENTED" ,
"type" : "array" ,
"items" : {
"$ref" : "#/definitions/iteration"
}
} ,
"final_pass" : {
"title" : "First Pass" ,
2022-07-22 19:41:04 +02:00
"description" : "UNDOCUMENTED." ,
2021-11-16 13:26:46 +01:00
"$comment" : "UNDOCUMENTED" ,
"type" : "array" ,
"items" : {
"$ref" : "#/definitions/iteration"
}
} ,
"first_pass" : {
"title" : "First Pass" ,
2022-07-22 19:41:04 +02:00
"description" : "UNDOCUMENTED." ,
2021-11-16 13:26:46 +01:00
"$comment" : "UNDOCUMENTED" ,
"type" : "array" ,
"items" : {
"$ref" : "#/definitions/iteration"
}
} ,
"surface_pass" : {
"title" : "First Pass" ,
2022-07-22 19:41:04 +02:00
"description" : "UNDOCUMENTED." ,
2021-11-16 13:26:46 +01:00
"$comment" : "UNDOCUMENTED" ,
"type" : "array" ,
"items" : {
"$ref" : "#/definitions/iteration"
}
} ,
"sky_pass" : {
"title" : "First Pass" ,
2022-07-22 19:41:04 +02:00
"description" : "UNDOCUMENTED." ,
2021-11-16 13:26:46 +01:00
"$comment" : "UNDOCUMENTED" ,
"type" : "array" ,
"items" : {
"$ref" : "#/definitions/iteration"
}
} ,
"underground_pass" : {
"title" : "First Pass" ,
2022-07-22 19:41:04 +02:00
"description" : "UNDOCUMENTED." ,
2021-11-16 13:26:46 +01:00
"$comment" : "UNDOCUMENTED" ,
"type" : "array" ,
"items" : {
"$ref" : "#/definitions/iteration"
}
}
}
}