Updated for 1.21.70 along with other improvements (#337)

* Update vscode-settings.json

* - Updated map color

* - Added replaceable block component

* - Effect durations can be set to infinite now

* - Added support for entity sound variants

* - Fix description for renders_when_invisible entity component

* - Added is_collidable component

* - Updated entity_sensor

* - Added body_rotation_axis_aligned

* - Updated projectile > on_hit

* - Set min and max for collision_box

* - Added locator field to sounds in animation controllers and animations

* - Added new event response

* - Removed peak_factor from mountain_parameters component

* - Added isotropic field to material_instances

* - Added tint field to material_instances

* - Added input_air_controlled entity component

* - Added use_beta_features property to entity.json

* - Added missing match_tool property

* - Added use_home_position_restriction to float_wander goal

* - Added deferred client biome components

* - Added dry_foliage_color client biome component

* - Added destruction_particles

* - Marked biome tinting as experimental

* - Fix property_inheritance under breedable

* - Fix inconsistency with scatter feature

* - Update rideable description

* - Allowed event.add/remove to be strings

* - Added missing property in move_around_target behavior

* - Made features accept block references

* - Allowed repairable to use item descriptors

* - Fix typo
This commit is contained in:
Xterionix
2025-03-03 12:44:05 +05:00
committed by GitHub
parent 8de19607a3
commit c9449c75d6
51 changed files with 589 additions and 139 deletions

View File

@@ -11,7 +11,7 @@
"fill_with": {
"title": "Fill With",
"description": "Reference to the block to fill the cave with.",
"$ref": "../../../general/block/identifier.json"
"$ref": "../../../general/block/reference.json"
},
"width_modifier": {
"title": "Width Modifier",

View File

@@ -11,7 +11,7 @@
"ore_block": {
"title": "Ore Block",
"description": "Reference to the block to fill the cave with.",
"$ref": "../../../general/block/identifier.json"
"$ref": "../../../general/block/reference.json"
},
"max_empty_corners": {
"title": "Max Empty Corners",

View File

@@ -70,31 +70,31 @@
"title": "Filler",
"type": "string",
"description": "The block to fill the inside of the geode.",
"$ref": "../../../general/block/identifier.json"
"$ref": "../../../general/block/reference.json"
},
"inner_layer": {
"title": "Inner Layer",
"type": "string",
"description": "The block that forms the inside layer of the geode shell.",
"$ref": "../../../general/block/identifier.json"
"$ref": "../../../general/block/reference.json"
},
"alternate_inner_layer": {
"title": "Alternate Inner Layer",
"type": "string",
"description": "The block that has a chance of generating instead of inner_layer.",
"$ref": "../../../general/block/identifier.json"
"$ref": "../../../general/block/reference.json"
},
"middle_layer": {
"title": "Middle Layer",
"type": "string",
"description": "The block that forms the middle layer of the geode shell.",
"$ref": "../../../general/block/identifier.json"
"$ref": "../../../general/block/reference.json"
},
"outer_layer": {
"title": "Outer Layer",
"type": "string",
"description": "The block that forms the outer shell of the geode.",
"$ref": "../../../general/block/identifier.json"
"$ref": "../../../general/block/reference.json"
},
"inner_placements": {
"title": "Inner Placements",
@@ -104,7 +104,7 @@
"items": {
"title": "Block Reference",
"description": "A block that may be replaced during placement.",
"$ref": "../../../general/block/identifier.json"
"$ref": "../../../general/block/reference.json"
}
},
"min_outer_wall_distance": {

View File

@@ -44,7 +44,7 @@
"title": "Plant Body Block",
"description": "Plant body block.",
"type": "string",
"$ref": "../../../general/block/identifier.json"
"$ref": "../../../general/block/reference.json"
},
{
"title": "Age",

View File

@@ -12,7 +12,7 @@
"title": "Places Block",
"description": "Reference to the block to be placed.",
"type": "string",
"$ref": "../../../general/block/identifier.json"
"$ref": "../../../general/block/reference.json"
},
"search_range": {
"title": "Search Range",
@@ -51,7 +51,7 @@
"items": {
"title": "Block",
"description": " A list of blocks that the block in this feature can be placed on. Omit this field to allow any block to be placed on.",
"$ref": "../../../general/block/identifier.json"
"$ref": "../../../general/block/reference.json"
}
}
}

View File

@@ -12,7 +12,7 @@
"title": "Identifier",
"description": "Reference to the block to fill the cave with.",
"type": "string",
"$ref": "../../../general/block/identifier.json"
"$ref": "../../../general/block/reference.json"
},
"width_modifier": {
"title": "Identifier",

View File

@@ -28,7 +28,7 @@
"places_block": {
"title": "Places Block",
"description": "Reference to the block to be placed.",
"$ref": "../../../general/block/identifier.json"
"$ref": "../../../general/block/reference.json"
},
"may_replace": {
"title": "May Replace",
@@ -36,7 +36,7 @@
"type": "array",
"minItems": 1,
"items": {
"$ref": "../../../general/block/identifier.json"
"$ref": "../../../general/block/reference.json"
}
}
}

View File

@@ -11,7 +11,7 @@
"places_block": {
"title": "Places Block",
"description": "Reference to the block to be placed.",
"$ref": "../../../general/block/identifier.json"
"$ref": "../../../general/block/reference.json"
},
"placement_radius_around_floor": {
"title": "Placement Radius Around Floor",

View File

@@ -3,7 +3,7 @@
"title": "Scatter Feature",
"description": "`minecraft:scatter_feature` scatters a feature throughout a chunk. The `x`, `y`, and `z` fields are per-coordinate parameters.\nNote that coordinates represent an offset from the input position, not an absolute position. Coordinates may be a single value, a random distribution, or molang expression that resolves to a numeric value. The `coordinate_eval_order` field is provided for finer control of coordinate resolution (particularly when using the `grid` distribution). `iterations` controls how many individual placements should occur if the `scatter_chance` check succeeds. The `scatter_chance` check happens once, so either all placements will run or none will.\nSucceeds if: At least one feature placement succeeds.\nFails if: All feature placements fail.",
"additionalProperties": false,
"required": ["description", "places_feature", "iterations"],
"required": ["description", "places_feature"],
"definitions": {
"coord_dist": {
"title": "Coordinate",

View File

@@ -7,8 +7,8 @@
"definitions": {
"block_side": {
"oneOf": [
{ "title": "Block", "description": "Reference to the block it may attach to.", "type": "string", "$ref": "../../../general/block/identifier.json" },
{ "type": "array", "items": { "title": "Block", "description": "Reference to the block it may attach to.", "type": "string", "$ref": "../../../general/block/identifier.json" } }
{ "title": "Block", "description": "Reference to the block it may attach to.", "type": "string", "$ref": "../../../general/block/reference.json" },
{ "type": "array", "items": { "title": "Block", "description": "Reference to the block it may attach to.", "type": "string", "$ref": "../../../general/block/reference.json" } }
]
}
},
@@ -22,7 +22,7 @@
"title": "Places Block",
"description": "Reference to the block to be placed.",
"type": "string",
"$ref": "../../../general/block/identifier.json"
"$ref": "../../../general/block/reference.json"
},
{
"title": "Places Block",
@@ -34,7 +34,7 @@
"description": "Reference to the block to be placed.",
"type": "array",
"items": [
{ "title": "Block", "description": "Reference to the block to be placed.", "$ref": "../../../general/block/identifier.json" },
{ "title": "Block", "description": "Reference to the block to be placed.", "$ref": "../../../general/block/reference.json" },
{
"title": "Weight",
"description": "Random weight of this block. A higher number will increase the probability of this block to be picked during placement.",
@@ -113,7 +113,7 @@
"title": "Block",
"description": "A block that may be replaced during placement. Omit this field to allow any block to be replaced.",
"type": "string",
"$ref": "../../../general/block/identifier.json"
"$ref": "../../../general/block/reference.json"
}
}
}

View File

@@ -60,7 +60,7 @@
"items": {
"title": "Block",
"type": "string",
"$ref": "../../../general/block/identifier.json"
"$ref": "../../../general/block/reference.json"
}
},
"block_whitelist": {
@@ -70,7 +70,7 @@
"items": {
"title": "Block",
"type": "string",
"$ref": "../../../general/block/identifier.json"
"$ref": "../../../general/block/reference.json"
}
}
}

View File

@@ -112,7 +112,7 @@
"title": "Decoration Block",
"description": "The block used for decorating the trunk.",
"type": "string",
"$ref": "../../../general/block/identifier.json"
"$ref": "../../../general/block/reference.json"
},
"num_steps": {
"title": "Num Steps",
@@ -228,7 +228,7 @@
"hanging_block": {
"title": "Hanging Block",
"description": "The block to be used as a hanging block.",
"$ref": "../../../general/block/identifier.json"
"$ref": "../../../general/block/reference.json"
},
"hanging_block_placement_chance": {
"title": "Hanging Block Placement Chance",
@@ -380,7 +380,7 @@
"title": "Leaf Block",
"description": "The block thata forms the canopy of the tree.",
"type": "string",
"$ref": "../../../general/block/identifier.json"
"$ref": "../../../general/block/reference.json"
},
"trunk_width": {
"title": "Trunk Width",
@@ -415,7 +415,7 @@
"title": "Decoration Block",
"description": "The block used for decorating the trunk.",
"type": "string",
"$ref": "../../../general/block/identifier.json"
"$ref": "../../../general/block/reference.json"
},
"num_steps": {
"title": "Num Steps",
@@ -440,7 +440,7 @@
"title": "Trunk Block",
"description": "The block that forms the tree trunk.",
"type": "string",
"$ref": "../../../general/block/identifier.json"
"$ref": "../../../general/block/reference.json"
}
},
"properties": {
@@ -450,10 +450,10 @@
"base_block": {
"title": "Base Block",
"oneOf": [
{ "$ref": "../../../general/block/identifier.json" },
{ "$ref": "../../../general/block/reference.json" },
{
"type": "array",
"items": { "title": "Block", "$ref": "../../../general/block/identifier.json" }
"items": { "title": "Block", "$ref": "../../../general/block/reference.json" }
}
]
},
@@ -469,7 +469,7 @@
"description": "List of blocks that the base cluster of a tree can replace.",
"type": "array",
"items": {
"$ref": "../../../general/block/identifier.json"
"$ref": "../../../general/block/reference.json"
}
},
"num_clusters": {
@@ -491,7 +491,7 @@
"description": "List of blocks where a tree can grow on.",
"type": "array",
"items": {
"$ref": "../../../general/block/identifier.json"
"$ref": "../../../general/block/reference.json"
}
},
"may_replace": {
@@ -499,7 +499,7 @@
"description": "List of blocks that a tree can replace.",
"type": "array",
"items": {
"$ref": "../../../general/block/identifier.json"
"$ref": "../../../general/block/reference.json"
}
},
"may_grow_through": {
@@ -507,7 +507,7 @@
"description": "List of blocks that a tree can grow through.",
"type": "array",
"items": {
"$ref": "../../../general/block/identifier.json"
"$ref": "../../../general/block/reference.json"
}
},
"acacia_trunk": {
@@ -1131,7 +1131,7 @@
"title": "Decoration Block",
"description": "The block used for decorating the trunk.",
"type": "string",
"$ref": "../../../general/block/identifier.json"
"$ref": "../../../general/block/reference.json"
},
"num_steps": {
"title": "Num Steps",
@@ -1247,7 +1247,7 @@
"hanging_block": {
"title": "Hanging Block",
"description": "The block to be used as a hanging block.",
"$ref": "../../../general/block/identifier.json"
"$ref": "../../../general/block/reference.json"
},
"hanging_block_placement_chance": {
"title": "Hanging Block Placement Chance",
@@ -1452,7 +1452,7 @@
"title": "Root Block",
"description": "Block used for roots.",
"type": "string",
"$ref": "../../../general/block/identifier.json"
"$ref": "../../../general/block/reference.json"
},
"above_root": {
"title": "Above Root",
@@ -1469,19 +1469,19 @@
"title": "Above Root Block",
"description": "The block placed on the top of the roots.",
"type": "string",
"$ref": "../../../general/block/identifier.json"
"$ref": "../../../general/block/reference.json"
},
"muddy_root_block": {
"title": "Muddy Root Block",
"description": "The block used for muddy roots.",
"type": "string",
"$ref": "../../../general/block/identifier.json"
"$ref": "../../../general/block/reference.json"
},
"mud_block": {
"title": "Mud Block",
"description": "The block used to determine if a muddy root should be placed.",
"type": "string",
"$ref": "../../../general/block/identifier.json"
"$ref": "../../../general/block/reference.json"
},
"y_offset": {
"title": "Y Offset",
@@ -1493,7 +1493,7 @@
"description": "List of blocks that a root can grow through.",
"type": "array",
"items": {
"$ref": "../../../general/block/identifier.json"
"$ref": "../../../general/block/reference.json"
}
},
"root_decoration": {

View File

@@ -11,7 +11,7 @@
"fill_with": {
"title": "Fill With",
"description": "Reference to the block to fill the cave with.",
"$ref": "../../../general/block/identifier.json"
"$ref": "../../../general/block/reference.json"
},
"width_modifier": {
"title": "Width Modifier",
@@ -73,7 +73,7 @@
"replace_air_with": {
"title": "Replace Air With",
"description": "Reference to the block to replace air blocks with.",
"$ref": "../../../general/block/identifier.json"
"$ref": "../../../general/block/reference.json"
}
}
}

View File

@@ -15,14 +15,14 @@
"items": {
"title": "Replace Block",
"type": "string",
"$ref": "../../../general/block/identifier.json"
"$ref": "../../../general/block/reference.json"
}
},
"ground_block": {
"title": "Ground Block",
"description": "Block used to create a base for the vegetation patch.",
"type": "string",
"$ref": "../../../general/block/identifier.json"
"$ref": "../../../general/block/reference.json"
},
"vegetation_feature": {
"title": "Vegetation Feature",