Update from 1.21.0 to 1.21.30 (#307)

* - Remove deprecated biome components
* - Remove block hcf
* - Add item specific destroy speeds
* - Add owner distance filter
* - Update scatter feature distribution property
* - Add new entity components
- Remove behavior.peek
* - Add new item components
- Remove hcf item stuff
* - Remove volumes
* - Add set_potion loot table function
* - Mark fields as required
* - Add item display transforms
* - Add redstone conductivity block component
* - Add is_navigating filter
* - Fix move around target ref
* - Add pack namespaced loot tables functions
This commit is contained in:
Xterionix
2024-09-22 16:25:16 +05:00
committed by GitHub
parent a3e2eaabe4
commit ca1b07bc2d
68 changed files with 1489 additions and 1238 deletions

View File

@@ -19,9 +19,7 @@
"minecraft:capped_surface": { "$ref": "./components/capped_surface.json" },
"minecraft:climate": { "$ref": "./components/climate.json" },
"minecraft:consolidated_features": { "$ref": "./components/consolidated_features.json" },
"minecraft:forced_features": { "$ref": "./components/forced_features.json" },
"minecraft:frozen_ocean_surface": { "$ref": "./components/frozen_ocean_surface.json" },
"minecraft:ignore_automatic_features": { "$ref": "./components/ignore_automatic_features.json" },
"minecraft:legacy_world_generation_rules": {
"$ref": "./components/legacy_world_generation_rules.json"
},

View File

@@ -1,249 +0,0 @@
{
"$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",
"$ref": "../../../molang/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", "triangle", "fixed_grid", "jittered_grid"]
},
"extent": {
"title": "Extent",
"description": "UNDOCUMENTED.",
"$comment": "UNDOCUMENTED",
"type": "array",
"items": [
{
"title": "Lower Bound",
"description": "Lower bound (inclusive) of the scatter range, as an offset from the input point to scatter around.",
"$ref": "../../../molang/number.json"
},
{
"title": "Upper Bound",
"description": "Upper bound (inclusive) of the scatter range, as an offset from the input point to scatter around.",
"$ref": "../../../molang/number.json"
}
]
},
"grid_offset": {
"title": "Step Size",
"description": "When the distribution type is grid, defines the offset along this axis.",
"type": "integer",
"minimum": 0
},
"step_size": {
"title": "Step Size",
"description": "When the distribution type is grid, defines the distance between steps along this axis.",
"type": "integer",
"minimum": 1
}
}
}
]
},
"iteration": {
"title": "Iteration",
"description": "UNDOCUMENTED.",
"$comment": "UNDOCUMENTED",
"additionalProperties": false,
"type": "object",
"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",
"description": "UNDOCUMENTED.",
"$comment": "UNDOCUMENTED",
"type": "string"
},
"iterations": {
"title": "Iterations",
"description": "Number of scattered positions to generate.",
"$ref": "../../../molang/number.json"
},
"places_feature": {
"title": "Places Feature",
"description": "UNDOCUMENTED.",
"$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",
"description": "UNDOCUMENTED.",
"$comment": "UNDOCUMENTED",
"type": "integer",
"minimum": 1
},
"numerator": {
"title": "Numerator",
"description": "UNDOCUMENTED.",
"$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.",
"$ref": "../../../molang/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."
}
]
},
"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",
"description": "UNDOCUMENTED.",
"$comment": "UNDOCUMENTED",
"type": "array",
"items": {
"$ref": "#/definitions/iteration"
}
},
"after_surface_pass": {
"title": "First Pass",
"description": "UNDOCUMENTED.",
"$comment": "UNDOCUMENTED",
"type": "array",
"items": {
"$ref": "#/definitions/iteration"
}
},
"after_underground_pass": {
"title": "First Pass",
"description": "UNDOCUMENTED.",
"$comment": "UNDOCUMENTED",
"type": "array",
"items": {
"$ref": "#/definitions/iteration"
}
},
"before_sky_pass": {
"title": "First Pass",
"description": "UNDOCUMENTED.",
"$comment": "UNDOCUMENTED",
"type": "array",
"items": {
"$ref": "#/definitions/iteration"
}
},
"before_surface_pass": {
"title": "First Pass",
"description": "UNDOCUMENTED.",
"$comment": "UNDOCUMENTED",
"type": "array",
"items": {
"$ref": "#/definitions/iteration"
}
},
"before_underground_pass": {
"title": "First Pass",
"description": "UNDOCUMENTED.",
"$comment": "UNDOCUMENTED",
"type": "array",
"items": {
"$ref": "#/definitions/iteration"
}
},
"final_pass": {
"title": "First Pass",
"description": "UNDOCUMENTED.",
"$comment": "UNDOCUMENTED",
"type": "array",
"items": {
"$ref": "#/definitions/iteration"
}
},
"first_pass": {
"title": "First Pass",
"description": "UNDOCUMENTED.",
"$comment": "UNDOCUMENTED",
"type": "array",
"items": {
"$ref": "#/definitions/iteration"
}
},
"surface_pass": {
"title": "First Pass",
"description": "UNDOCUMENTED.",
"$comment": "UNDOCUMENTED",
"type": "array",
"items": {
"$ref": "#/definitions/iteration"
}
},
"sky_pass": {
"title": "First Pass",
"description": "UNDOCUMENTED.",
"$comment": "UNDOCUMENTED",
"type": "array",
"items": {
"$ref": "#/definitions/iteration"
}
},
"underground_pass": {
"title": "First Pass",
"description": "UNDOCUMENTED.",
"$comment": "UNDOCUMENTED",
"type": "array",
"items": {
"$ref": "#/definitions/iteration"
}
}
}
}

View File

@@ -1,8 +0,0 @@
{
"$id": "minecraft.behavior.biomes.1.12.0.components.minecraft.ignore_automatic_features",
"title": "Ignore Automatic Features",
"description": "No features will be automatically attached to this Biome, only features specified in the minecraft:forced_features component will appear.",
"type": "object",
"additionalProperties": false,
"properties": {}
}