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

@@ -12,7 +12,7 @@
}
}
],
"examples": [{ "format_version": "1.10.0", "animations": { "animation.annie.idle": { "loop": true, "animation_length": 2.12, "bones": {} } } }],
"examples": [ { "format_version": "1.10.0", "animations": { "animation.annie.idle": { "loop": true, "animation_length": 2.12, "bones": { } } } } ],
"additionalProperties": false,
"type": "object",
"title": "Actor Animation",
@@ -23,7 +23,7 @@
"type": "object",
"title": "Particle Effect",
"additionalProperties": false,
"required": ["effect"],
"required": [ "effect" ],
"properties": {
"effect": { "type": "string", "title": "Particle Id", "description": "The name of a particle effect that should be played." },
"locator": { "type": "string", "title": "Locator", "description": "The name of a locator on the actor where the effect should be located." },
@@ -44,7 +44,7 @@
"title": "Position Array",
"description": "An array of 3 items that describe the bones position.",
"type": "array",
"examples": [[0, 0, 0]],
"examples": [ [ 0, 0, 0 ] ],
"maxItems": 3,
"minItems": 3,
"items": [
@@ -57,7 +57,7 @@
"title": "Rotation Array",
"description": "An array of 3 items that describe the bones rotation.",
"type": "array",
"examples": [[0, 0, 0]],
"examples": [ [ 0, 0, 0 ] ],
"maxItems": 3,
"minItems": 3,
"items": [
@@ -70,7 +70,7 @@
"title": "Scale Array",
"description": "An array of 3 items that describe the bones scale.",
"type": "array",
"examples": [[0, 0, 0]],
"examples": [ [ 0, 0, 0 ] ],
"maxItems": 3,
"minItems": 3,
"items": [
@@ -88,13 +88,19 @@
"title": "Effect",
"type": "string",
"description": "Valid sound effect names should be listed in the entity's resource_definition json file."
},
"locator": {
"type": "string",
"title": "Locator",
"description":
"The name of a locator on the actor where the effect should be located."
}
}
}
},
"required": ["format_version", "animations"],
"required": [ "format_version", "animations" ],
"properties": {
"format_version": { "type": "string", "enum": ["1.8.0", "1.10.0"] },
"format_version": { "type": "string", "enum": [ "1.8.0", "1.10.0" ] },
"animations": {
"title": "Animations Schema",
"description": "The animation specification.",
@@ -125,7 +131,7 @@
"bones": {
"title": "Bones",
"description": "Defines how the bones in an animation move or transform.",
"propertyNames": { "examples": ["leftArm"] },
"propertyNames": { "examples": [ "leftArm" ] },
"type": "object",
"minProperties": 1,
"additionalProperties": {
@@ -141,7 +147,7 @@
{ "type": "array", "$ref": "#/definitions/PositionV3" },
{
"type": "object",
"propertyNames": { "pattern": "^(\\d+\\.\\d+|\\d+)$", "examples": ["0.0", "1.0"] },
"propertyNames": { "pattern": "^(\\d+\\.\\d+|\\d+)$", "examples": [ "0.0", "1.0" ] },
"additionalProperties": {
"title": "Timeline Object",
"description": "A single point in time.",
@@ -157,7 +163,7 @@
"title": "Lerp Mode",
"description": "UNDOCUMENTED.",
"$comment": "UNDOCUMENTED",
"enum": ["linear", "catmullrom"]
"enum": [ "linear", "catmullrom" ]
},
"pre": {
"title": "Pre",
@@ -185,7 +191,7 @@
{ "type": "array", "$ref": "#/definitions/RotationV3" },
{
"type": "object",
"propertyNames": { "pattern": "^(\\d+\\.\\d+|\\d+)$", "examples": ["0.0", "1.0"] },
"propertyNames": { "pattern": "^(\\d+\\.\\d+|\\d+)$", "examples": [ "0.0", "1.0" ] },
"additionalProperties": {
"title": "Timeline Object",
"description": "A single point in time.",
@@ -206,7 +212,7 @@
"title": "Lerp Mode",
"description": "UNDOCUMENTED.",
"$comment": "UNDOCUMENTED",
"enum": ["linear", "catmullrom"]
"enum": [ "linear", "catmullrom" ]
},
"pre": {
"title": "Pre",
@@ -247,7 +253,7 @@
{ "$ref": "#/definitions/ScaleV3" },
{
"type": "object",
"propertyNames": { "pattern": "^(\\d+\\.\\d+|\\d+)$", "examples": ["0.0", "1.0"] },
"propertyNames": { "pattern": "^(\\d+\\.\\d+|\\d+)$", "examples": [ "0.0", "1.0" ] },
"additionalProperties": {
"title": "Timeline Object",
"description": "A single point in time.",
@@ -268,7 +274,7 @@
"title": "Lerp Mode",
"description": "UNDOCUMENTED.",
"$comment": "UNDOCUMENTED",
"enum": ["linear", "catmullrom"]
"enum": [ "linear", "catmullrom" ]
},
"pre": {
"title": "Pre",
@@ -295,7 +301,7 @@
"loop": {
"title": "Loop",
"description": "Should this animation stop, loop, or stay on the last frame when finished (true, false, hold_on_last_frame).",
"oneOf": [{ "type": "boolean" }, { "type": "string", "enum": ["hold_on_last_frame"] }]
"oneOf": [ { "type": "boolean" }, { "type": "string", "enum": [ "hold_on_last_frame" ] } ]
},
"loop_delay": {
"title": "Loop Delay",
@@ -312,8 +318,8 @@
"description": "UNDOCUMENTED.",
"$comment": "UNDOCUMENTED",
"type": "object",
"propertyNames": { "pattern": "^(\\d+\\.\\d+|\\d+)$", "examples": ["0.0", "1.0"] },
"examples": [{ "0.0": {} }],
"propertyNames": { "pattern": "^(\\d+\\.\\d+|\\d+)$", "examples": [ "0.0", "1.0" ] },
"examples": [ { "0.0": { } } ],
"additionalProperties": {
"title": "Timeline Object",
"description": "A single point in time.",
@@ -333,7 +339,7 @@
"description": "UNDOCUMENTED.",
"$comment": "UNDOCUMENTED",
"type": "object",
"propertyNames": { "pattern": "^(\\d+\\.\\d+|\\d+)$", "examples": ["0.0", "1.0"] },
"propertyNames": { "pattern": "^(\\d+\\.\\d+|\\d+)$", "examples": [ "0.0", "1.0" ] },
"additionalProperties": {
"title": "Timeline Object",
"description": "A single point in time.",
@@ -347,8 +353,8 @@
"title": "Timeline",
"description": "The time line.",
"type": "object",
"propertyNames": { "pattern": "^(\\d+\\.\\d+|\\d+)$", "examples": ["0.0", "1.0"] },
"examples": [{ "0.0": {} }],
"propertyNames": { "pattern": "^(\\d+\\.\\d+|\\d+)$", "examples": [ "0.0", "1.0" ] },
"examples": [ { "0.0": { } } ],
"additionalProperties": {
"oneOf": [
{ "type": "string", "title": "Molang", "description": "Variable definition.", "pattern": "^(v|variable)\\..*=.*;$" },