2021-02-04 11:21:51 +01:00
{
"$id" : "minecraft.behavior.biomes.1.12.0.components.minecraft.forced_features" ,
2021-03-21 15:18:38 +01:00
"title" : "Forced Features" ,
2021-02-04 11:21:51 +01:00
"description" : "Force specific decorative features (trees, plants, etc.) to appear in this Biome, regardless of normal decoration rules." ,
"type" : "object" ,
"minProperties" : 0 ,
2021-02-06 14:00:02 +01:00
"maxProperties" : 11 ,
2021-02-04 11:21:51 +01:00
"additionalProperties" : false ,
2021-02-06 14:00:02 +01:00
"definitions" : {
"coordinate" : {
"oneOf" : [
{
"type" : "string" ,
"$ref" : "../../../../molang/1.8.0/number.json" ,
"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" ,
"description" : "Type of distribution - uniform random, gaussian (centered in the range), or grid (either fixed-step or jittered)" ,
"type" : "string" ,
"enum" : [ "uniform" , "gaussian" , "inverse_gaussian" , "fixed_grid" , "jittered_grid" ]
} ,
"extent" : {
"title" : "Extent" ,
"description" : "UNDOCUMENTATED" ,
"type" : "array" ,
"items" : [
2021-02-10 02:07:15 +01:00
{
2021-03-21 15:18:38 +01:00
"title" : "Lower Bound" ,
2021-02-06 14:00:02 +01:00
"description" : "Lower bound (inclusive) of the scatter range, as an offset from the input point to scatter around" ,
"$ref" : "../../../../molang/1.8.0/number.json"
} ,
2021-02-10 02:07:15 +01:00
{
2021-03-21 15:18:38 +01:00
"title" : "Upper Bound" ,
2021-02-06 14:00:02 +01:00
"description" : "Upper bound (inclusive) of the scatter range, as an offset from the input point to scatter around" ,
"$ref" : "../../../../molang/1.8.0/number.json"
}
]
} ,
"grid_offset" : {
2021-03-21 15:18:38 +01:00
"title" : "Step Size" ,
2021-02-06 14:00:02 +01:00
"description" : "When the distribution type is grid, defines the offset along this axis" ,
"type" : "integer" ,
"minimum" : 0
} ,
"step_size" : {
2021-03-21 15:18:38 +01:00
"title" : "Step Size" ,
2021-02-06 14:00:02 +01:00
"description" : "When the distribution type is grid, defines the distance between steps along this axis" ,
"type" : "integer" ,
"minimum" : 1
}
}
}
]
} ,
"iteration" : {
"title" : "Iteration" ,
"description" : "UNDOCUMENTED" ,
"additionalProperties" : false ,
"required" : [ "iterations" , "places_feature" , "identifier" ] ,
"properties" : {
"coordinate_eval_order" : {
2021-03-21 15:18:38 +01:00
"title" : "Coordinate Eval Order" ,
2021-02-06 14:00:02 +01:00
"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" ,
"description" : "UNDOCUMANTED" ,
"type" : "string"
} ,
"iterations" : {
"title" : "Iterations" ,
"description" : "Number of scattered positions to generate" ,
"$ref" : "../../../../molang/1.8.0/number.json"
} ,
"places_feature" : {
2021-03-21 15:18:38 +01:00
"title" : "Places Feature" ,
2021-02-06 14:00:02 +01:00
"description" : "UNDOCUMANTED" ,
"type" : "string"
} ,
"scatter_chance" : {
2021-03-21 15:18:38 +01:00
"title" : "Scatter Chance" ,
2021-02-06 14:00:02 +01:00
"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" ,
"description" : "" ,
"type" : "integer" ,
"minimum" : 1
} ,
"numerator" : {
"title" : "Numerator" ,
"description" : "" ,
"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." ,
"$ref" : "../../../../molang/1.8.0/number.json"
} ,
{
"type" : "number" ,
"description" : "Probability (0-100) that this scatter will occur. Not evaluated each iteration; either no iterations will run, or all will."
}
]
} ,
2021-03-21 15:18:38 +01:00
"x" : {
"title" : "X" ,
"$ref" : "#/definitions/coordinate"
} ,
"y" : {
"title" : "X" ,
"$ref" : "#/definitions/coordinate"
} ,
"z" : {
"title" : "X" ,
"$ref" : "#/definitions/coordinate"
}
2021-02-06 14:00:02 +01:00
}
}
} ,
2021-02-04 11:21:51 +01:00
"properties" : {
2021-02-06 14:00:02 +01:00
"after_sky_pass" : {
2021-03-21 15:18:38 +01:00
"title" : "First Pass" ,
2021-02-06 14:00:02 +01:00
"description" : "UNDOCUMENTED" ,
"type" : "array" ,
2021-03-21 15:18:38 +01:00
"items" : {
2021-05-19 18:42:19 +02:00
"$ref" : "#/definitions/iteration"
2021-03-21 15:18:38 +01:00
}
2021-02-06 14:00:02 +01:00
} ,
"after_surface_pass" : {
2021-03-21 15:18:38 +01:00
"title" : "First Pass" ,
2021-02-06 14:00:02 +01:00
"description" : "UNDOCUMENTED" ,
"type" : "array" ,
2021-03-21 15:18:38 +01:00
"items" : {
2021-05-19 18:42:19 +02:00
"$ref" : "#/definitions/iteration"
2021-03-21 15:18:38 +01:00
}
2021-02-06 14:00:02 +01:00
} ,
"after_underground_pass" : {
2021-03-21 15:18:38 +01:00
"title" : "First Pass" ,
2021-02-06 14:00:02 +01:00
"description" : "UNDOCUMENTED" ,
"type" : "array" ,
2021-03-21 15:18:38 +01:00
"items" : {
2021-05-19 18:42:19 +02:00
"$ref" : "#/definitions/iteration"
2021-03-21 15:18:38 +01:00
}
2021-02-06 14:00:02 +01:00
} ,
"before_sky_pass" : {
2021-03-21 15:18:38 +01:00
"title" : "First Pass" ,
2021-02-06 14:00:02 +01:00
"description" : "UNDOCUMENTED" ,
"type" : "array" ,
2021-03-21 15:18:38 +01:00
"items" : {
2021-05-19 18:42:19 +02:00
"$ref" : "#/definitions/iteration"
2021-03-21 15:18:38 +01:00
}
2021-02-06 14:00:02 +01:00
} ,
"before_surface_pass" : {
2021-03-21 15:18:38 +01:00
"title" : "First Pass" ,
2021-02-06 14:00:02 +01:00
"description" : "UNDOCUMENTED" ,
"type" : "array" ,
2021-03-21 15:18:38 +01:00
"items" : {
2021-05-19 18:42:19 +02:00
"$ref" : "#/definitions/iteration"
2021-03-21 15:18:38 +01:00
}
2021-02-06 14:00:02 +01:00
} ,
"before_underground_pass" : {
2021-03-21 15:18:38 +01:00
"title" : "First Pass" ,
2021-02-06 14:00:02 +01:00
"description" : "UNDOCUMENTED" ,
"type" : "array" ,
2021-03-21 15:18:38 +01:00
"items" : {
2021-05-19 18:42:19 +02:00
"$ref" : "#/definitions/iteration"
2021-03-21 15:18:38 +01:00
}
2021-02-06 14:00:02 +01:00
} ,
"final_pass" : {
2021-03-21 15:18:38 +01:00
"title" : "First Pass" ,
2021-02-06 14:00:02 +01:00
"description" : "UNDOCUMENTED" ,
"type" : "array" ,
2021-03-21 15:18:38 +01:00
"items" : {
2021-05-19 18:42:19 +02:00
"$ref" : "#/definitions/iteration"
2021-03-21 15:18:38 +01:00
}
2021-02-06 14:00:02 +01:00
} ,
"first_pass" : {
2021-03-21 15:18:38 +01:00
"title" : "First Pass" ,
2021-02-06 14:00:02 +01:00
"description" : "UNDOCUMENTED" ,
"type" : "array" ,
2021-03-21 15:18:38 +01:00
"items" : {
2021-05-19 18:42:19 +02:00
"$ref" : "#/definitions/iteration"
2021-03-21 15:18:38 +01:00
}
2021-02-06 14:00:02 +01:00
} ,
"surface_pass" : {
2021-03-21 15:18:38 +01:00
"title" : "First Pass" ,
2021-02-06 14:00:02 +01:00
"description" : "UNDOCUMENTED" ,
"type" : "array" ,
2021-03-21 15:18:38 +01:00
"items" : {
2021-05-19 18:42:19 +02:00
"$ref" : "#/definitions/iteration"
2021-03-21 15:18:38 +01:00
}
2021-02-06 14:00:02 +01:00
} ,
"sky_pass" : {
2021-03-21 15:18:38 +01:00
"title" : "First Pass" ,
2021-02-06 14:00:02 +01:00
"description" : "UNDOCUMENTED" ,
"type" : "array" ,
2021-03-21 15:18:38 +01:00
"items" : {
2021-05-19 18:42:19 +02:00
"$ref" : "#/definitions/iteration"
2021-03-21 15:18:38 +01:00
}
2021-02-06 14:00:02 +01:00
} ,
"underground_pass" : {
2021-03-21 15:18:38 +01:00
"title" : "First Pass" ,
2021-02-06 14:00:02 +01:00
"description" : "UNDOCUMENTED" ,
"type" : "array" ,
2021-03-21 15:18:38 +01:00
"items" : {
2021-05-19 18:42:19 +02:00
"$ref" : "#/definitions/iteration"
2021-03-21 15:18:38 +01:00
}
2021-02-06 14:00:02 +01:00
}
2021-02-04 11:21:51 +01:00
}
}