From a0e4135b590d4339ebb800c1455708e8d5fb8ac3 Mon Sep 17 00:00:00 2001 From: DaanV2 Date: Sat, 5 Jun 2021 21:54:49 +0200 Subject: [PATCH] Updated --- .../animation_controller.json | 404 +++++++++++++++++- .../1.10.0/animation_controller.json | 4 +- .../1.8.0/animation_controller.json | 4 +- .../animations/1.10.0/animations.json | 2 +- .../behavior/animations/1.8.0/animations.json | 2 +- .../components/minecraft.forced_features.json | 10 +- ...inecraft.surface_material_adjustments.json | 4 +- source/behavior/blocks/1.16.100/blocks.json | 2 +- source/behavior/blocks/1.16.200/blocks.json | 2 +- .../1.13.0/components/minecraft.rideable.json | 2 +- .../1.16.0/components/minecraft.rideable.json | 2 +- .../feature_rules/1.13.0/feature_rules.json | 147 +++++++ .../behavior/feature_rules/feature_rules.json | 21 + source/behavior/features/1.13.0/features.json | 2 +- .../components/minecraft.block_placer.json | 2 +- .../components/minecraft.repairable.json | 2 +- .../components/minecraft.block_placer.json | 2 +- .../components/minecraft.repairable.json | 2 +- source/molang/{1.8.0 => }/arraynumber3.json | 0 source/molang/{1.8.0 => }/number.json | 0 source/molang/{1.8.0 => }/string.json | 0 .../1.10.0/animation_controller.json | 4 +- .../1.8.0/animation_controller.json | 4 +- .../animations/1.10.0/actor_animation.json | 34 +- .../animations/1.8.0/actor_animation.json | 34 +- .../attachables/1.10.0/attachables.json | 8 +- .../attachables/1.8.0/attachables.json | 4 +- source/resource/entity/1.10.0/entity.json | 18 +- source/resource/entity/1.8.0/entity.json | 12 +- .../models/entity/1.16.0/model_entity.json | 2 +- .../minecraft.emitter_initialization.json | 4 +- ...minecraft.emitter_lifetime_expression.json | 4 +- .../minecraft.emitter_lifetime_looping.json | 4 +- .../minecraft.emitter_lifetime_once.json | 2 +- .../minecraft.emitter_rate_instant.json | 2 +- .../minecraft.emitter_rate_manual.json | 2 +- .../minecraft.emitter_rate_steady.json | 4 +- .../minecraft.emitter_shape_box.json | 8 +- .../minecraft.emitter_shape_custom.json | 4 +- .../minecraft.emitter_shape_disc.json | 12 +- .../minecraft.emitter_shape_entity_aabb.json | 4 +- .../minecraft.emitter_shape_point.json | 4 +- .../minecraft.emitter_shape_sphere.json | 6 +- ...necraft.particle_appearance_billboard.json | 16 +- ...minecraft.particle_appearance_tinting.json | 4 +- .../minecraft.particle_initial_speed.json | 4 +- .../minecraft.particle_initial_spin.json | 4 +- .../minecraft.particle_initialization.json | 4 +- .../minecraft.particle_kill_plane.json | 2 +- ...inecraft.particle_lifetime_expression.json | 4 +- .../minecraft.particle_motion_collision.json | 2 +- .../minecraft.particle_motion_dynamic.json | 8 +- .../minecraft.particle_motion_parametric.json | 4 +- .../resource/particles/1.10.0/particle.json | 4 +- .../1.10.0/render_controllers.json | 6 +- .../1.8.0/render_controllers.json | 6 +- 56 files changed, 717 insertions(+), 147 deletions(-) create mode 100644 source/behavior/feature_rules/1.13.0/feature_rules.json create mode 100644 source/behavior/feature_rules/feature_rules.json rename source/molang/{1.8.0 => }/arraynumber3.json (100%) rename source/molang/{1.8.0 => }/number.json (100%) rename source/molang/{1.8.0 => }/string.json (100%) diff --git a/resource/animation_controllers/animation_controller.json b/resource/animation_controllers/animation_controller.json index 24e7f602..ad240a8e 100644 --- a/resource/animation_controllers/animation_controller.json +++ b/resource/animation_controllers/animation_controller.json @@ -1 +1,403 @@ -{"$id":"blockception.minecraft.resource.animation_controller","examples":[{"format_version":"1.10.0","animation_controllers":{"controller.animation.example":{"states":{"default":{"transitions":[{"state_1":"query.is_baby"}]},"state_1":{"animations":["state_1"],"transitions":[{"default":"query.all_animations_finished"}]}}}}}],"allOf":[{"if":{"properties":{"format_version":{"type":"string","const":"1.8.0"}}},"then":{"$ref":"#/definitions/A"}},{"if":{"properties":{"format_version":{"type":"string","const":"1.10.0"}}},"then":{"$ref":"#/definitions/D"}},{"properties":{"format_version":{"$ref":"#/definitions/E"}}}],"definitions":{"A_animationspec":{"anyOf":[{"title":"Animation Specification","description":"A single string that specifies which animation there are","type":"string"},{"type":"object","title":"Animation Specification","description":"A object specification on how to transition","maxProperties":1,"minProperties":1,"additionalProperties":{"oneOf":[{"type":"string","$ref":"#/definitions/B"},{"type":"number","description":"A blend weight"}]}}]},"A_particle_effect_spec":{"additionalProperties":false,"type":"object","required":["effect"],"properties":{"bind_to_actor":{"type":"boolean","title":"Bind To Actor","description":"Set to false to have the effect spawned in the world without being bound to an actor (by default an effect is bound to the actor).","const":false},"effect":{"type":"string","title":"Effect","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"},"pre_effect_script":{"type":"string","title":"Pre Effect Script","description":"A molang script that will be run when the particle emitter is initialized","pattern":"^.+;$"}}},"A_commands":{"type":"string","description":"The event or commands to execute","pattern":"^(@s .+|/.+)$"},"B":{"type":"string","title":"Molang / String","description":"Molang definition","format":"molang"},"C":{"title":"Molang Number","description":"The minecraft molang definition that results in a float","anyOf":[{"type":"string","minLength":0,"format":"molang"},{"type":"number"}]},"A":{"type":"object","title":"Resourcepack Animation Controller 1.8.0","description":"TODO description","required":["format_version","animation_controllers"],"additionalProperties":false,"properties":{"format_version":{"title":"1.8.0 Format Version","type":"string","pattern":"^1.8.0$","description":"A version that tells minecraft what type of data format can be expected when reading this file."},"animation_controllers":{"type":"object","title":"Animation Controllers Schema","description":"The animation controllers schema for 1.8.0","propertyNames":{"pattern":"^controller\\.animation\\.[a-z\\.]+","examples":["controller.animation.example","controller.animation.example.foo"]},"additionalProperties":{"additionalProperties":false,"type":"object","title":"A Animation Controller","description":"A single animation controller 1.8.0","required":["states"],"minProperties":1,"properties":{"states":{"title":"States","description":"The states of this animation controller","propertyNames":{"pattern":"[a-z\\.]+"},"minProperties":1,"additionalProperties":{"additionalProperties":false,"title":"Animation State","description":"Animation state","type":"object","properties":{"animations":{"title":"Animations","description":"The animations definition for 1.10.0","type":"array","items":{"$ref":"#/definitions/A_animationspec","title":"Animations"}},"blend_transition":{"title":"Blend Transition","oneOf":[{"type":"number","description":"A short-hand version of blend_out that simply sets the amount of time to fade out if the animation is interrupted"},{"type":"object","description":"Specifies the cross-fade time in seconds when transitioning to another state","additionalProperties":{"type":"number","description":"Mapping of time since the animation was canceled, to the blend value at that time. A default key of time=0 to a blend value of 1.0 is provided if any other key is set and a blend value at time=0 hasn't already been set."}}]},"blend_via_shortest_path":{"description":"When blending a transition to another state, animate each euler axis through the shortest rotation, instead of by value","type":"boolean","title":"Blend Via Shortest Path"},"particle_effects":{"description":"The effects to be emitted","type":"array","items":{"$ref":"#/definitions/A_particle_effect_spec","description":"TODO description: particle effects","title":"Particle Effects"},"title":"Particle Effects"},"sound_effects":{"type":"array","description":"Collection of sounds to trigger on entry to this animation state.","items":{"type":"object","additionalProperties":false,"required":["effect"],"properties":{"effect":{"description":"Valid sound effect names should be listed in the entity's resource_definition json file.","type":"string"}}}},"transitions":{"title":"Transition","description":"The transition definition for 1.8.0","minProperties":1,"type":"array","items":{"$ref":"#/definitions/A_animationspec","description":"The specification on when to transition to a new state","title":"Transitions"}},"variables":{"type":"object","additionalProperties":{"additionalProperties":false,"type":"object","required":["input"],"properties":{"input":{"$ref":"#/definitions/C"},"remap_curve":{"additionalProperties":{"type":"number"}}}}},"on_entry":{"title":"On Entry","description":"UNDOCUMENTATED","type":"array","items":{"pattern":"^.+;$","title":"Molang","description":"UNDOCUMENTATED","type":"string"}},"on_exit":{"title":"On Exit","description":"UNDOCUMENTATED","type":"array","items":{"pattern":"^.+;$","title":"Molang","description":"UNDOCUMENTATED","type":"string"}}}}},"initial_state":{"type":"string","description":"TODO description: initial state","title":"Initial State"}}}}}},"D_animationspec":{"anyOf":[{"title":"Animation Specification","description":"A single string that specifies which animation there are","type":"string"},{"type":"object","title":"Animation Specification","description":"A object specification on how to transition","maxProperties":1,"minProperties":1,"additionalProperties":{"oneOf":[{"type":"string","$ref":"#/definitions/B"},{"type":"number","description":"A blend weight"}]}}]},"D_particle_effect_spec":{"additionalProperties":false,"type":"object","required":["effect"],"properties":{"bind_to_actor":{"type":"boolean","title":"Bind To Actor","description":"Set to false to have the effect spawned in the world without being bound to an actor (by default an effect is bound to the actor).","const":false},"effect":{"type":"string","title":"Effect","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"},"pre_effect_script":{"type":"string","title":"Pre Effect Script","description":"A molang script that will be run when the particle emitter is initialized","pattern":"^.+;$"}}},"D_commands":{"type":"string","description":"The event or commands to execute","pattern":"^(@s .+|/.+)$"},"D":{"type":"object","title":"Resourcepack Animation Controller 1.10.0","description":"TODO description","required":["format_version","animation_controllers"],"additionalProperties":false,"properties":{"format_version":{"title":"1.10.0 Format Version","type":"string","pattern":"^1.10.0$","description":"A version that tells minecraft what type of data format can be expected when reading this file."},"animation_controllers":{"type":"object","title":"Animation Controllers Schema","description":"The animation controllers schema for 1.10.0","propertyNames":{"pattern":"^controller\\.animation\\.[a-z\\.]+","examples":["controller.animation.example","controller.animation.example.foo"]},"additionalProperties":{"additionalProperties":false,"type":"object","title":"A Animation Controller","description":"A single animation controller 1.10.0","required":["states"],"minProperties":1,"examples":[{"controller.animation.some_name":{"initial_state":"default","states":{"default":{"transitions":[{"state_1":"query.is_baby"}]},"state_1":{"animations":["state_1"],"transitions":[{"default":"query.all_animations_finished"}]}}}}],"properties":{"states":{"title":"States","description":"The states of this animation controller","propertyNames":{"pattern":"[a-z\\.]+","examples":["default"]},"minProperties":1,"additionalProperties":{"additionalProperties":false,"title":"Animation State","description":"Animation state","type":"object","properties":{"animations":{"title":"Animations","description":"The animations definition for 1.10.0","type":"array","items":{"$ref":"#/definitions/D_animationspec","title":"Animations"}},"blend_transition":{"title":"Blend Transition","description":"when transitioning away from this state, cross-fade over","oneOf":[{"type":"number","description":"A short-hand version of blend_out that simply sets the amount of time to fade out if the animation is interrupted"},{"type":"object","description":"Specifies the cross-fade time in seconds when transitioning to another state","additionalProperties":{"type":"number","description":"Mapping of time since the animation was canceled, to the blend value at that time. A default key of time=0 to a blend value of 1.0 is provided if any other key is set and a blend value at time=0 hasn't already been set."}}]},"blend_via_shortest_path":{"description":"When blending a transition to another state, animate each euler axis through the shortest rotation, instead of by value","type":"boolean","title":"Blend Via Shortest Path"},"particle_effects":{"description":"The effects to be emitted","type":"array","items":{"$ref":"#/definitions/D_particle_effect_spec","description":"TODO description: particle effects","title":"Particle Effects"},"title":"Particle Effects"},"sound_effects":{"type":"array","description":"Collection of sounds to trigger on entry to this animation state.","items":{"type":"object","additionalProperties":false,"required":["effect"],"properties":{"effect":{"description":"Valid sound effect names should be listed in the entity's resource_definition json file.","type":"string"}}}},"transitions":{"title":"Transition","description":"The transition definition for 1.10.0","minProperties":1,"type":"array","examples":[[{"some_state":"query.is_sheared"}]],"items":{"$ref":"#/definitions/D_animationspec","description":"TODO description: transitions","title":"Transitions","examples":[{"some_state":"query.is_sheared"}]}},"variables":{"type":"object","additionalProperties":{"additionalProperties":false,"type":"object","required":["input"],"properties":{"input":{"title":"Input","description":"","$ref":"#/definitions/C"},"remap_curve":{"title":"Remap Curve","additionalProperties":{"propertyNames":{"pattern":"^([\\-\\+0-9]+|[\\-\\+0-9]+.[0-9]+)$"},"type":"number"}}}}},"on_entry":{"title":"On Entry","description":"UNDOCUMENTATED","type":"array","items":{"pattern":"^.+=.+;$","title":"Molang","description":"UNDOCUMENTATED","type":"string"}},"on_exit":{"title":"On Exit","description":"UNDOCUMENTATED","type":"array","items":{"pattern":"^.+=.+;$","title":"Molang","description":"UNDOCUMENTATED","type":"string"}}}}},"initial_state":{"type":"string","description":"TODO description: initial state","title":"Initial State"}}}}}},"E":{"title":"Format Version","description":"A version that tells minecraft what type of data format can be expected when reading this file.","pattern":"^(1)\\.([0-9]+)\\.([0-9]+)$","type":"string"}}} \ No newline at end of file +{ + "$id": "blockception.minecraft.resource.animation_controller", + "examples": [ + { + "format_version": "1.10.0", + "animation_controllers": { + "controller.animation.example": { + "states": { + "default": { "transitions": [{ "state_1": "query.is_baby" }] }, + "state_1": { "animations": ["state_1"], "transitions": [{ "default": "query.all_animations_finished" }] } + } + } + } + } + ], + "allOf": [ + { "if": { "properties": { "format_version": { "type": "string", "const": "1.8.0" } } }, "then": { "$ref": "#/definitions/A" } }, + { "if": { "properties": { "format_version": { "type": "string", "const": "1.10.0" } } }, "then": { "$ref": "#/definitions/D" } }, + { "properties": { "format_version": { "$ref": "#/definitions/E" } } } + ], + "definitions": { + "A_animationspec": { + "anyOf": [ + { "title": "Animation Specification", "description": "A single string that specifies which animation there are", "type": "string" }, + { + "type": "object", + "title": "Animation Specification", + "description": "A object specification on how to transition", + "maxProperties": 1, + "minProperties": 1, + "additionalProperties": { + "oneOf": [ + { "type": "string", "$ref": "#/definitions/B" }, + { "type": "number", "description": "A blend weight" } + ] + } + } + ] + }, + "A_particle_effect_spec": { + "additionalProperties": false, + "type": "object", + "required": ["effect"], + "properties": { + "bind_to_actor": { + "type": "boolean", + "title": "Bind To Actor", + "description": "Set to false to have the effect spawned in the world without being bound to an actor (by default an effect is bound to the actor).", + "const": false + }, + "effect": { "type": "string", "title": "Effect", "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" }, + "pre_effect_script": { + "type": "string", + "title": "Pre Effect Script", + "description": "A molang script that will be run when the particle emitter is initialized", + "pattern": "^.+;$" + } + } + }, + "A_commands": { "type": "string", "description": "The event or commands to execute", "pattern": "^(@s .+|/.+)$" }, + "B": { "type": "string", "title": "Molang / String", "description": "Molang definition", "format": "molang" }, + "C": { + "title": "Molang Number", + "description": "The minecraft molang definition that results in a float", + "anyOf": [{ "type": "string", "minLength": 0, "format": "molang" }, { "type": "number" }] + }, + "A": { + "type": "object", + "title": "Resourcepack Animation Controller 1.8.0", + "description": "TODO description", + "required": ["format_version", "animation_controllers"], + "additionalProperties": false, + "properties": { + "format_version": { + "title": "1.8.0 Format Version", + "type": "string", + "pattern": "^1.8.0$", + "description": "A version that tells minecraft what type of data format can be expected when reading this file." + }, + "animation_controllers": { + "type": "object", + "title": "Animation Controllers Schema", + "description": "The animation controllers schema for 1.8.0", + "propertyNames": { + "pattern": "^controller\\.animation\\.[a-z\\.]+", + "examples": ["controller.animation.example", "controller.animation.example.foo"] + }, + "additionalProperties": { + "additionalProperties": false, + "type": "object", + "title": "A Animation Controller", + "description": "A single animation controller 1.8.0", + "required": ["states"], + "minProperties": 1, + "properties": { + "states": { + "title": "States", + "description": "The states of this animation controller", + "propertyNames": { "pattern": "[a-z\\.]+" }, + "minProperties": 1, + "additionalProperties": { + "additionalProperties": false, + "title": "Animation State", + "description": "Animation state", + "type": "object", + "properties": { + "animations": { + "title": "Animations", + "description": "The animations definition for 1.10.0", + "type": "array", + "items": { "$ref": "#/definitions/A_animationspec", "title": "Animations" } + }, + "blend_transition": { + "title": "Blend Transition", + "oneOf": [ + { + "type": "number", + "description": "A short-hand version of blend_out that simply sets the amount of time to fade out if the animation is interrupted" + }, + { + "type": "object", + "description": "Specifies the cross-fade time in seconds when transitioning to another state", + "additionalProperties": { + "type": "number", + "description": "Mapping of time since the animation was canceled, to the blend value at that time. A default key of time=0 to a blend value of 1.0 is provided if any other key is set and a blend value at time=0 hasn't already been set." + } + } + ] + }, + "blend_via_shortest_path": { + "description": "When blending a transition to another state, animate each euler axis through the shortest rotation, instead of by value", + "type": "boolean", + "title": "Blend Via Shortest Path" + }, + "particle_effects": { + "description": "The effects to be emitted", + "type": "array", + "items": { + "$ref": "#/definitions/A_particle_effect_spec", + "description": "TODO description: particle effects", + "title": "Particle Effects" + }, + "title": "Particle Effects" + }, + "sound_effects": { + "type": "array", + "description": "Collection of sounds to trigger on entry to this animation state.", + "items": { + "type": "object", + "additionalProperties": false, + "required": ["effect"], + "properties": { + "effect": { + "description": "Valid sound effect names should be listed in the entity's resource_definition json file.", + "type": "string" + } + } + } + }, + "transitions": { + "title": "Transition", + "description": "The transition definition for 1.8.0", + "minProperties": 1, + "type": "array", + "items": { + "$ref": "#/definitions/A_animationspec", + "description": "The specification on when to transition to a new state", + "title": "Transitions" + } + }, + "variables": { + "type": "object", + "additionalProperties": { + "additionalProperties": false, + "type": "object", + "required": ["input"], + "properties": { "input": { "$ref": "#/definitions/C" }, "remap_curve": { "additionalProperties": { "type": "number" } } } + } + }, + "on_entry": { + "title": "On Entry", + "description": "UNDOCUMENTATED", + "type": "array", + "items": { "pattern": "^.+;$", "title": "Molang", "description": "UNDOCUMENTATED", "type": "string" } + }, + "on_exit": { + "title": "On Exit", + "description": "UNDOCUMENTATED", + "type": "array", + "items": { "pattern": "^.+;$", "title": "Molang", "description": "UNDOCUMENTATED", "type": "string" } + } + } + } + }, + "initial_state": { "type": "string", "description": "TODO description: initial state", "title": "Initial State" } + } + } + } + } + }, + "D_animationspec": { + "anyOf": [ + { "title": "Animation Specification", "description": "A single string that specifies which animation there are", "type": "string" }, + { + "type": "object", + "title": "Animation Specification", + "description": "A object specification on how to transition", + "maxProperties": 1, + "minProperties": 1, + "additionalProperties": { + "oneOf": [ + { "type": "string", "$ref": "#/definitions/B" }, + { "type": "number", "description": "A blend weight" } + ] + } + } + ] + }, + "D_particle_effect_spec": { + "additionalProperties": false, + "type": "object", + "required": ["effect"], + "properties": { + "bind_to_actor": { + "type": "boolean", + "title": "Bind To Actor", + "description": "Set to false to have the effect spawned in the world without being bound to an actor (by default an effect is bound to the actor).", + "const": false + }, + "effect": { "type": "string", "title": "Effect", "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" }, + "pre_effect_script": { + "type": "string", + "title": "Pre Effect Script", + "description": "A molang script that will be run when the particle emitter is initialized", + "pattern": "^.+;$" + } + } + }, + "D_commands": { "type": "string", "description": "The event or commands to execute", "pattern": "^(@s .+|/.+)$" }, + "D": { + "type": "object", + "title": "Resourcepack Animation Controller 1.10.0", + "description": "TODO description", + "required": ["format_version", "animation_controllers"], + "additionalProperties": false, + "properties": { + "format_version": { + "title": "1.10.0 Format Version", + "type": "string", + "pattern": "^1.10.0$", + "description": "A version that tells minecraft what type of data format can be expected when reading this file." + }, + "animation_controllers": { + "type": "object", + "title": "Animation Controllers Schema", + "description": "The animation controllers schema for 1.10.0", + "propertyNames": { + "pattern": "^controller\\.animation\\.[a-z\\.]+", + "examples": ["controller.animation.example", "controller.animation.example.foo"] + }, + "additionalProperties": { + "additionalProperties": false, + "type": "object", + "title": "A Animation Controller", + "description": "A single animation controller 1.10.0", + "required": ["states"], + "minProperties": 1, + "examples": [ + { + "controller.animation.some_name": { + "initial_state": "default", + "states": { + "default": { "transitions": [{ "state_1": "query.is_baby" }] }, + "state_1": { "animations": ["state_1"], "transitions": [{ "default": "query.all_animations_finished" }] } + } + } + } + ], + "properties": { + "states": { + "title": "States", + "description": "The states of this animation controller", + "propertyNames": { "pattern": "[a-z\\.]+", "examples": ["default"] }, + "minProperties": 1, + "additionalProperties": { + "additionalProperties": false, + "title": "Animation State", + "description": "Animation state", + "type": "object", + "properties": { + "animations": { + "title": "Animations", + "description": "The animations definition for 1.10.0", + "type": "array", + "items": { "$ref": "#/definitions/D_animationspec", "title": "Animations" } + }, + "blend_transition": { + "title": "Blend Transition", + "description": "when transitioning away from this state, cross-fade over", + "oneOf": [ + { + "type": "number", + "description": "A short-hand version of blend_out that simply sets the amount of time to fade out if the animation is interrupted" + }, + { + "type": "object", + "description": "Specifies the cross-fade time in seconds when transitioning to another state", + "additionalProperties": { + "type": "number", + "description": "Mapping of time since the animation was canceled, to the blend value at that time. A default key of time=0 to a blend value of 1.0 is provided if any other key is set and a blend value at time=0 hasn't already been set." + } + } + ] + }, + "blend_via_shortest_path": { + "description": "When blending a transition to another state, animate each euler axis through the shortest rotation, instead of by value", + "type": "boolean", + "title": "Blend Via Shortest Path" + }, + "particle_effects": { + "description": "The effects to be emitted", + "type": "array", + "items": { + "$ref": "#/definitions/D_particle_effect_spec", + "description": "TODO description: particle effects", + "title": "Particle Effects" + }, + "title": "Particle Effects" + }, + "sound_effects": { + "type": "array", + "description": "Collection of sounds to trigger on entry to this animation state.", + "items": { + "type": "object", + "additionalProperties": false, + "required": ["effect"], + "properties": { + "effect": { + "description": "Valid sound effect names should be listed in the entity's resource_definition json file.", + "type": "string" + } + } + } + }, + "transitions": { + "title": "Transition", + "description": "The transition definition for 1.10.0", + "minProperties": 1, + "type": "array", + "examples": [[{ "some_state": "query.is_sheared" }]], + "items": { + "$ref": "#/definitions/D_animationspec", + "description": "TODO description: transitions", + "title": "Transitions", + "examples": [{ "some_state": "query.is_sheared" }] + } + }, + "variables": { + "type": "object", + "additionalProperties": { + "additionalProperties": false, + "type": "object", + "required": ["input"], + "properties": { + "input": { "title": "Input", "description": "", "$ref": "#/definitions/C" }, + "remap_curve": { + "title": "Remap Curve", + "additionalProperties": { "propertyNames": { "pattern": "^([\\-\\+0-9]+|[\\-\\+0-9]+.[0-9]+)$" }, "type": "number" } + } + } + } + }, + "on_entry": { + "title": "On Entry", + "description": "UNDOCUMENTATED", + "type": "array", + "items": { "pattern": "^.+=.+;$", "title": "Molang", "description": "UNDOCUMENTATED", "type": "string" } + }, + "on_exit": { + "title": "On Exit", + "description": "UNDOCUMENTATED", + "type": "array", + "items": { "pattern": "^.+=.+;$", "title": "Molang", "description": "UNDOCUMENTATED", "type": "string" } + } + } + } + }, + "initial_state": { "type": "string", "description": "TODO description: initial state", "title": "Initial State" } + } + } + } + } + }, + "E": { + "title": "Format Version", + "description": "A version that tells minecraft what type of data format can be expected when reading this file.", + "pattern": "^(1)\\.([0-9]+)\\.([0-9]+)$", + "type": "string" + } + } +} diff --git a/source/behavior/animation_controllers/1.10.0/animation_controller.json b/source/behavior/animation_controllers/1.10.0/animation_controller.json index cab0bead..f267884b 100644 --- a/source/behavior/animation_controllers/1.10.0/animation_controller.json +++ b/source/behavior/animation_controllers/1.10.0/animation_controller.json @@ -16,7 +16,7 @@ "maxProperties": 1, "minProperties": 1, "additionalProperties": { - "$ref": "../../../molang/1.8.0/string.json" + "$ref": "../../../molang/string.json" } } ] @@ -139,7 +139,7 @@ "maxProperties": 1, "minProperties": 1, "additionalProperties": { - "$ref": "../../../molang/1.8.0/string.json" + "$ref": "../../../molang/string.json" } } } diff --git a/source/behavior/animation_controllers/1.8.0/animation_controller.json b/source/behavior/animation_controllers/1.8.0/animation_controller.json index 6e0a2fdf..e22a2eee 100644 --- a/source/behavior/animation_controllers/1.8.0/animation_controller.json +++ b/source/behavior/animation_controllers/1.8.0/animation_controller.json @@ -15,7 +15,7 @@ "maxProperties": 1, "minProperties": 1, "additionalProperties": { - "$ref": "../../../molang/1.8.0/string.json" + "$ref": "../../../molang/string.json" } } ] @@ -135,7 +135,7 @@ "type": "object", "examples": [{ "default": "query.is_chested" }], "additionalProperties": { - "$ref": "../../../molang/1.8.0/string.json" + "$ref": "../../../molang/string.json" }, "minProperties": 1, "maxProperties": 1 diff --git a/source/behavior/animations/1.10.0/animations.json b/source/behavior/animations/1.10.0/animations.json index 447bb9b6..acb70cc4 100644 --- a/source/behavior/animations/1.10.0/animations.json +++ b/source/behavior/animations/1.10.0/animations.json @@ -10,7 +10,7 @@ "description": "A object specification on how to transition", "maxProperties": 1, "minProperties": 1, - "additionalProperties": { "$ref": "../../../molang/1.8.0/string.json" } + "additionalProperties": { "$ref": "../../../molang/string.json" } } ] }, diff --git a/source/behavior/animations/1.8.0/animations.json b/source/behavior/animations/1.8.0/animations.json index 61081a03..ff22d8f7 100644 --- a/source/behavior/animations/1.8.0/animations.json +++ b/source/behavior/animations/1.8.0/animations.json @@ -10,7 +10,7 @@ "description": "A object specification on how to transition", "maxProperties": 1, "minProperties": 1, - "additionalProperties": { "$ref": "../../../molang/1.8.0/string.json" } + "additionalProperties": { "$ref": "../../../molang/string.json" } } ] }, diff --git a/source/behavior/biomes/1.12.0/components/minecraft.forced_features.json b/source/behavior/biomes/1.12.0/components/minecraft.forced_features.json index 89676acd..7d74fd22 100644 --- a/source/behavior/biomes/1.12.0/components/minecraft.forced_features.json +++ b/source/behavior/biomes/1.12.0/components/minecraft.forced_features.json @@ -11,7 +11,7 @@ "oneOf": [ { "type": "string", - "$ref": "../../../../molang/1.8.0/number.json", + "$ref": "../../../../molang/number.json", "description": "Expression for the coordinate (evaluated each iteration). Mutually exclusive with random distribution object below." }, { @@ -38,12 +38,12 @@ { "title": "Lower Bound", "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" + "$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/1.8.0/number.json" + "$ref": "../../../../molang/number.json" } ] }, @@ -83,7 +83,7 @@ "iterations": { "title": "Iterations", "description": "Number of scattered positions to generate", - "$ref": "../../../../molang/1.8.0/number.json" + "$ref": "../../../../molang/number.json" }, "places_feature": { "title": "Places Feature", @@ -115,7 +115,7 @@ { "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" + "$ref": "../../../../molang/number.json" }, { "type": "number", diff --git a/source/behavior/biomes/1.12.0/components/minecraft.surface_material_adjustments.json b/source/behavior/biomes/1.12.0/components/minecraft.surface_material_adjustments.json index e1dcc7b9..911ae1e1 100644 --- a/source/behavior/biomes/1.12.0/components/minecraft.surface_material_adjustments.json +++ b/source/behavior/biomes/1.12.0/components/minecraft.surface_material_adjustments.json @@ -20,11 +20,11 @@ "type": "array", "items": [ { - "$ref": "../../../../molang/1.8.0/number.json", + "$ref": "../../../../molang/number.json", "title": "Min" }, { - "$ref": "../../../../molang/1.8.0/number.json", + "$ref": "../../../../molang/number.json", "title": "Max" } ] diff --git a/source/behavior/blocks/1.16.100/blocks.json b/source/behavior/blocks/1.16.100/blocks.json index 98d7935b..3f107880 100644 --- a/source/behavior/blocks/1.16.100/blocks.json +++ b/source/behavior/blocks/1.16.100/blocks.json @@ -125,7 +125,7 @@ "condition": { "title": "Condition", "description": "UNDOCUMENATED", - "$ref": "../../../molang/1.8.0/string.json" + "$ref": "../../../molang/string.json" }, "components": { "type": "object", diff --git a/source/behavior/blocks/1.16.200/blocks.json b/source/behavior/blocks/1.16.200/blocks.json index 5787d594..fe9a6528 100644 --- a/source/behavior/blocks/1.16.200/blocks.json +++ b/source/behavior/blocks/1.16.200/blocks.json @@ -125,7 +125,7 @@ "condition": { "title": "Condition", "description": "UNDOCUMENATED", - "$ref": "../../../molang/1.8.0/string.json" + "$ref": "../../../molang/string.json" }, "components": { "type": "object", diff --git a/source/behavior/entities/1.13.0/components/minecraft.rideable.json b/source/behavior/entities/1.13.0/components/minecraft.rideable.json index b8a2432c..7070b4a9 100644 --- a/source/behavior/entities/1.13.0/components/minecraft.rideable.json +++ b/source/behavior/entities/1.13.0/components/minecraft.rideable.json @@ -29,7 +29,7 @@ "default": [0.0, 0.0, 0.0], "description": "Position of this seat relative to this entity's position" }, - "rotate_rider_by": { "$ref": "../../../../molang/1.8.0/number.json", "description": "Offset to rotate riders by" } + "rotate_rider_by": { "$ref": "../../../../molang/number.json", "description": "Offset to rotate riders by" } } } }, diff --git a/source/behavior/entities/1.16.0/components/minecraft.rideable.json b/source/behavior/entities/1.16.0/components/minecraft.rideable.json index 647780bb..794158c0 100644 --- a/source/behavior/entities/1.16.0/components/minecraft.rideable.json +++ b/source/behavior/entities/1.16.0/components/minecraft.rideable.json @@ -29,7 +29,7 @@ "default": [0.0, 0.0, 0.0], "description": "Position of this seat relative to this entity's position" }, - "rotate_rider_by": { "$ref": "../../../../molang/1.8.0/number.json", "description": "Offset to rotate riders by" } + "rotate_rider_by": { "$ref": "../../../../molang/number.json", "description": "Offset to rotate riders by" } } } }, diff --git a/source/behavior/feature_rules/1.13.0/feature_rules.json b/source/behavior/feature_rules/1.13.0/feature_rules.json new file mode 100644 index 00000000..206d2e89 --- /dev/null +++ b/source/behavior/feature_rules/1.13.0/feature_rules.json @@ -0,0 +1,147 @@ +{ + "$id": "blockception.minecraft.behavior.feature_rules.1.13.0", + "type": "object", + "title": "Feature Rules 1.13.0", + "description": " Each feature rule controls exactly one feature and serves as the root of a chain of feature data.", + "additionalProperties": false, + "required": ["format_version", "minecraft:feature_rules"], + "minProperties": 2, + "maxProperties": 2, + "definitions": { + "coord_dist": { + "title": "", + "description": "", + "oneOf": [ + { + "$ref": "../../../molang/number.json", + "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, + "properties": { + "numerator": { + "title": "Numerator", + "description": "UNDOCUMENTATED", + "type": "number", + "minimum": 1 + }, + "denominator": { + "title": "Denominator", + "description": "UNDOCUMENTATED", + "type": "number", + "minimum": 1 + } + } + } + ] + } + }, + "properties": { + "format_version": { + "const": "1.13.0", + "description": "Specifies the version of the game this entity was made in. Minimum supported version is 1.13.0. Current supported version is 1.13.0.", + "title": "Format Version" + }, + "minecraft:feature_rules": { + "title": "Feature rules", + "description": "", + "type": "object", + "additionalProperties": false, + "required": ["description", "conditions"], + "properties": { + "description": { + "title": "Description", + "description": "", + "type": "object", + "additionalProperties": false, + "required": ["identifier", "feature_reference"], + "properties": { + "identifier": { + "title": "Identifier", + "description": "The name of this feature in the form 'namespace_name:feature_name'. 'feature_name' must match the filename.", + "type": "string", + "$ref": "../../../general/feature/identifier.json" + }, + "places_feature": { + "title": "Places Feature", + "description": "Named reference to the feature controlled by this rule.", + "type": "string" + } + } + }, + "conditions": { + "title": "Conditions", + "description": "Parameters to control where and when the feature will be placed.", + "type": "object", + "additionalProperties": false, + "required": ["placement_pass"], + "properties": { + "placement_pass": { + "title": "Placement pass", + "description": "When the feature should be placed relative to others. Earlier passes in the list are guaranteed to occur before later passes. Order is not guaranteed within each pass.", + "type": "string" + }, + "minecraft:biome_filter": { + "title": "Placement pass", + "description": "List of filter tests to determine which biomes this rule will attach to.", + "$ref": "../../entities/filters/filters.json" + } + } + }, + "distribution": { + "title": "Distribution", + "description": "Parameters controlling the initial scatter of the feature.", + "type": "object", + "additionalProperties": false, + "required": ["iterations"], + "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"] + }, + "iterations": { + "title": "Iterations", + "description": "Number of scattered positions to generate", + "$ref": "../../../molang/number.json" + }, + "scatter_chance": { + "title": "Scatter Chance", + "oneOf": [ + { + "$ref": "../../../molang/number.json", + "description": "Probability (0-100] that this scatter will occur. Not evaluated each iteration; either no iterations will run, or all will." + }, + { + "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": { + "numerator": { + "title": "Numerator", + "description": "UNDOCUMENTATED", + "type": "number", + "minimum": 1 + }, + "denominator": { + "title": "Denominator", + "description": "UNDOCUMENTATED", + "type": "number", + "minimum": 1 + } + } + } + ] + }, + "x": { "title": "X", "$ref": "#/definitions/coord_dist" }, + "z": { "title": "Y", "$ref": "#/definitions/coord_dist" }, + "y": { "title": "Z", "$ref": "#/definitions/coord_dist" } + } + } + } + } + } +} diff --git a/source/behavior/feature_rules/feature_rules.json b/source/behavior/feature_rules/feature_rules.json new file mode 100644 index 00000000..9c24b514 --- /dev/null +++ b/source/behavior/feature_rules/feature_rules.json @@ -0,0 +1,21 @@ +{ + "$id": "blockception.minecraft.behavior.feature_rules", + "examples": [ + { + "format_version": "1.13.0", + "minecraft:feature_rules": { + "minecraft:ore_feature": { + "description": { + "identifier": "example:foo", + "places_feature": "minecraft:legacy:birch_forest_tree_feature" + }, + "conditions": {} + } + } + } + ], + "allOf": [ + { "if": { "properties": { "format_version": { "type": "string", "const": "1.17.0" } } }, "then": { "$ref": "./1.17.0/feature_rules.json" } }, + { "properties": { "format_version": { "$ref": "../../general/format_version.json" } } } + ] +} diff --git a/source/behavior/features/1.13.0/features.json b/source/behavior/features/1.13.0/features.json index e145dfc3..b9026afa 100644 --- a/source/behavior/features/1.13.0/features.json +++ b/source/behavior/features/1.13.0/features.json @@ -1,7 +1,7 @@ { "$id": "blockception.minecraft.behavior.features.1.13.0", "type": "object", - "title": "Spawn Rules 1.13.0", + "title": "Features 1.13.0", "description": "Features are decorations scattered throughout the world. Things such as trees, plants, flowers, springs, ore, and coral are all features. Basically, if it isn't the terrain or a mob, it's probably a feature!", "additionalProperties": false, "required": ["format_version"], diff --git a/source/behavior/items/1.16.100/components/minecraft.block_placer.json b/source/behavior/items/1.16.100/components/minecraft.block_placer.json index 79b983f3..4d3a78ea 100644 --- a/source/behavior/items/1.16.100/components/minecraft.block_placer.json +++ b/source/behavior/items/1.16.100/components/minecraft.block_placer.json @@ -10,7 +10,7 @@ "type": "object", "title": "Allowed Block", "description": "A block descriptor that allows to be placed", - "properties": { "tags": { "title": "Tags", "description": "Tags", "$ref": "../../../../molang/1.8.0/string.json" } } + "properties": { "tags": { "title": "Tags", "description": "Tags", "$ref": "../../../../molang/string.json" } } } }, "properties": { diff --git a/source/behavior/items/1.16.100/components/minecraft.repairable.json b/source/behavior/items/1.16.100/components/minecraft.repairable.json index 2a024099..97b106aa 100644 --- a/source/behavior/items/1.16.100/components/minecraft.repairable.json +++ b/source/behavior/items/1.16.100/components/minecraft.repairable.json @@ -22,7 +22,7 @@ "type": "array", "items": { "type": "string", "title": "Item", "description": "UNDOCUMENATED" } }, - "repair_amount": { "title": "Repair Amount", "description": "UNDOCUMENATED", "$ref": "../../../../molang/1.8.0/number.json" } + "repair_amount": { "title": "Repair Amount", "description": "UNDOCUMENATED", "$ref": "../../../../molang/number.json" } } } } diff --git a/source/behavior/items/1.16.200/components/minecraft.block_placer.json b/source/behavior/items/1.16.200/components/minecraft.block_placer.json index 0d755e74..cc2cb897 100644 --- a/source/behavior/items/1.16.200/components/minecraft.block_placer.json +++ b/source/behavior/items/1.16.200/components/minecraft.block_placer.json @@ -10,7 +10,7 @@ "type": "object", "title": "Allowed Block", "description": "A block descriptor that allows to be placed", - "properties": { "tags": { "title": "Tags", "description": "Tags", "$ref": "../../../../molang/1.8.0/string.json" } } + "properties": { "tags": { "title": "Tags", "description": "Tags", "$ref": "../../../../molang/string.json" } } } }, "properties": { diff --git a/source/behavior/items/1.16.200/components/minecraft.repairable.json b/source/behavior/items/1.16.200/components/minecraft.repairable.json index 1f5eec30..9f688d98 100644 --- a/source/behavior/items/1.16.200/components/minecraft.repairable.json +++ b/source/behavior/items/1.16.200/components/minecraft.repairable.json @@ -22,7 +22,7 @@ "type": "array", "items": { "type": "string", "title": "Item", "description": "UNDOCUMENATED" } }, - "repair_amount": { "title": "Repair Amount", "description": "UNDOCUMENATED", "$ref": "../../../../molang/1.8.0/number.json" } + "repair_amount": { "title": "Repair Amount", "description": "UNDOCUMENATED", "$ref": "../../../../molang/number.json" } } } } diff --git a/source/molang/1.8.0/arraynumber3.json b/source/molang/arraynumber3.json similarity index 100% rename from source/molang/1.8.0/arraynumber3.json rename to source/molang/arraynumber3.json diff --git a/source/molang/1.8.0/number.json b/source/molang/number.json similarity index 100% rename from source/molang/1.8.0/number.json rename to source/molang/number.json diff --git a/source/molang/1.8.0/string.json b/source/molang/string.json similarity index 100% rename from source/molang/1.8.0/string.json rename to source/molang/string.json diff --git a/source/resource/animation_controllers/1.10.0/animation_controller.json b/source/resource/animation_controllers/1.10.0/animation_controller.json index 0a3c9c83..d9c55513 100644 --- a/source/resource/animation_controllers/1.10.0/animation_controller.json +++ b/source/resource/animation_controllers/1.10.0/animation_controller.json @@ -15,7 +15,7 @@ "minProperties": 1, "additionalProperties": { "oneOf": [ - { "type": "string", "$ref": "../../../molang/1.8.0/string.json" }, + { "type": "string", "$ref": "../../../molang/string.json" }, { "type": "number", "description": "A blend weight" } ] } @@ -166,7 +166,7 @@ "type": "object", "required": ["input"], "properties": { - "input": { "title": "Input", "description": "", "$ref": "../../../molang/1.8.0/number.json" }, + "input": { "title": "Input", "description": "", "$ref": "../../../molang/number.json" }, "remap_curve": { "title": "Remap Curve", "additionalProperties": { "propertyNames": { "pattern": "^([\\-\\+0-9]+|[\\-\\+0-9]+.[0-9]+)$" }, "type": "number" } diff --git a/source/resource/animation_controllers/1.8.0/animation_controller.json b/source/resource/animation_controllers/1.8.0/animation_controller.json index eddcd099..c71f7174 100644 --- a/source/resource/animation_controllers/1.8.0/animation_controller.json +++ b/source/resource/animation_controllers/1.8.0/animation_controller.json @@ -15,7 +15,7 @@ "minProperties": 1, "additionalProperties": { "oneOf": [ - { "type": "string", "$ref": "../../../molang/1.8.0/string.json" }, + { "type": "string", "$ref": "../../../molang/string.json" }, { "type": "number", "description": "A blend weight" } ] } @@ -152,7 +152,7 @@ "type": "object", "required": ["input"], "properties": { - "input": { "$ref": "../../../molang/1.8.0/number.json" }, + "input": { "$ref": "../../../molang/number.json" }, "remap_curve": { "additionalProperties": { "type": "number" } } } } diff --git a/source/resource/animations/1.10.0/actor_animation.json b/source/resource/animations/1.10.0/actor_animation.json index e68278b2..ab59129a 100644 --- a/source/resource/animations/1.10.0/actor_animation.json +++ b/source/resource/animations/1.10.0/actor_animation.json @@ -16,7 +16,7 @@ "pre_effect_script": { "title": "Pre Effect Script", "description": "A molang script that will be run when the particle emitter is initialized", - "$ref": "../../../molang/1.8.0/string.json" + "$ref": "../../../molang/string.json" }, "bind_to_actor": { "type": "boolean", @@ -34,17 +34,17 @@ { "title": "Position X", "description": "The position over the X-axis or forwards/backwards.\nCan be molang or a float", - "$ref": "../../../molang/1.8.0/number.json" + "$ref": "../../../molang/number.json" }, { "title": "Position Y", "description": "The position over the Y-axis, or up/down.\nCan be molang or a float", - "$ref": "../../../molang/1.8.0/number.json" + "$ref": "../../../molang/number.json" }, { "title": "Position Z", "description": "The position over the Z-axis, or left/right.\nCan be molang or a float", - "$ref": "../../../molang/1.8.0/number.json" + "$ref": "../../../molang/number.json" } ] }, @@ -56,17 +56,17 @@ { "title": "Rotation X", "description": "The rotation over the X-axis, or up or down.\nCan be molang or a float", - "$ref": "../../../molang/1.8.0/number.json" + "$ref": "../../../molang/number.json" }, { "title": "Rotation Y", "description": "The rotation over the Y-axis, or yaw.\nCan be molang or a float", - "$ref": "../../../molang/1.8.0/number.json" + "$ref": "../../../molang/number.json" }, { "title": "Rotation Z", "description": "The rotation over the Z-axis, or roll.\nCan be molang or a float", - "$ref": "../../../molang/1.8.0/number.json" + "$ref": "../../../molang/number.json" } ] }, @@ -78,17 +78,17 @@ { "title": "Position X", "description": "The position over the X-axis or forwards/backwards.\nCan be molang or a float", - "$ref": "../../../molang/1.8.0/number.json" + "$ref": "../../../molang/number.json" }, { "title": "Position Y", "description": "The position over the Y-axis, or up/down.\nCan be molang or a float", - "$ref": "../../../molang/1.8.0/number.json" + "$ref": "../../../molang/number.json" }, { "title": "Position Z", "description": "The position over the Z-axis, or left/right.\nCan be molang or a float", - "$ref": "../../../molang/1.8.0/number.json" + "$ref": "../../../molang/number.json" } ] }, @@ -127,14 +127,14 @@ "anim_time_update": { "title": "Start Delay", "description": "How does time pass when playing the animation. Defaults to \"query.anim_time + query.delta_time\" which means advance in seconds.", - "$ref": "../../../molang/1.8.0/number.json" + "$ref": "../../../molang/number.json" }, "animation_length": { "title": "Animation Length", "description": "Override calculated value (set as the last keyframe time) and set animation length in seconds.", "type": "number" }, - "blend_weight": { "title": "Blend Weight", "description": "TODO", "$ref": "../../../molang/1.8.0/number.json" }, + "blend_weight": { "title": "Blend Weight", "description": "TODO", "$ref": "../../../molang/number.json" }, "bones": { "title": "Bones", "description": "Defines how the bones in an animation move or transform", @@ -151,7 +151,7 @@ "description": "The Position transformation during this animation", "oneOf": [ { "$ref": "#/definitions/PositionV3" }, - { "$ref": "../../../molang/1.8.0/arraynumber3.json" }, + { "$ref": "../../../molang/arraynumber3.json" }, { "type": "object", "propertyNames": { "pattern": "^(\\d+\\.\\d+|\\d+)$" }, @@ -173,7 +173,7 @@ "description": "The rotation transformation during this animation", "oneOf": [ { "$ref": "#/definitions/RotationV3" }, - { "$ref": "../../../molang/1.8.0/arraynumber3.json" }, + { "$ref": "../../../molang/arraynumber3.json" }, { "type": "object", "propertyNames": { "pattern": "^(\\d+\\.\\d+|\\d+)$" }, @@ -205,7 +205,7 @@ "title": "Scale", "description": "TODO", "oneOf": [ - { "$ref": "../../../molang/1.8.0/number.json" }, + { "$ref": "../../../molang/number.json" }, { "$ref": "#/definitions/ScaleV3" }, { "type": "object", @@ -234,7 +234,7 @@ "loop_delay": { "title": "Loop Delay", "description": "How long to wait in seconds before looping this animation. Note that this expression is evaluated after each loop and on looping animation only.", - "$ref": "../../../molang/1.8.0/number.json" + "$ref": "../../../molang/number.json" }, "override_previous_animation": { "title": "Override Previous Animation", @@ -258,7 +258,7 @@ "start_delay": { "title": "Start Delay", "description": "How long to wait in seconds before playing this animation. Note that this expression is evaluated once before playing, and only re-evaluated if asked to play from the beginning again. A looping animation should use 'loop_delay' if it wants a delay between loops.", - "$ref": "../../../molang/1.8.0/number.json" + "$ref": "../../../molang/number.json" }, "sound_effects": { "title": "Sound Effect", diff --git a/source/resource/animations/1.8.0/actor_animation.json b/source/resource/animations/1.8.0/actor_animation.json index 467b0de6..3c0442fc 100644 --- a/source/resource/animations/1.8.0/actor_animation.json +++ b/source/resource/animations/1.8.0/actor_animation.json @@ -16,7 +16,7 @@ "pre_effect_script": { "title": "Pre Effect Script", "description": "A molang script that will be run when the particle emitter is initialized", - "$ref": "../../../molang/1.8.0/string.json" + "$ref": "../../../molang/string.json" }, "bind_to_actor": { "type": "boolean", @@ -34,17 +34,17 @@ { "title": "Position X", "description": "The position over the X-axis or forwards/backwards.\nCan be molang or a float", - "$ref": "../../../molang/1.8.0/number.json" + "$ref": "../../../molang/number.json" }, { "title": "Position Y", "description": "The position over the Y-axis, or up/down.\nCan be molang or a float", - "$ref": "../../../molang/1.8.0/number.json" + "$ref": "../../../molang/number.json" }, { "title": "Position Z", "description": "The position over the Z-axis, or left/right.\nCan be molang or a float", - "$ref": "../../../molang/1.8.0/number.json" + "$ref": "../../../molang/number.json" } ] }, @@ -56,17 +56,17 @@ { "title": "Rotation X", "description": "The rotation over the X-axis, or up or down.\nCan be molang or a float", - "$ref": "../../../molang/1.8.0/number.json" + "$ref": "../../../molang/number.json" }, { "title": "Rotation Y", "description": "The rotation over the Y-axis, or yaw.\nCan be molang or a float", - "$ref": "../../../molang/1.8.0/number.json" + "$ref": "../../../molang/number.json" }, { "title": "Rotation Z", "description": "The rotation over the Z-axis, or roll.\nCan be molang or a float", - "$ref": "../../../molang/1.8.0/number.json" + "$ref": "../../../molang/number.json" } ] }, @@ -78,17 +78,17 @@ { "title": "Position X", "description": "The position over the X-axis or forwards/backwards.\nCan be molang or a float", - "$ref": "../../../molang/1.8.0/number.json" + "$ref": "../../../molang/number.json" }, { "title": "Position Y", "description": "The position over the Y-axis, or up/down.\nCan be molang or a float", - "$ref": "../../../molang/1.8.0/number.json" + "$ref": "../../../molang/number.json" }, { "title": "Position Z", "description": "The position over the Z-axis, or left/right.\nCan be molang or a float", - "$ref": "../../../molang/1.8.0/number.json" + "$ref": "../../../molang/number.json" } ] }, @@ -127,14 +127,14 @@ "anim_time_update": { "title": "Anim Time Update", "description": "How does time pass when playing the animation. Defaults to \"query.anim_time + query.delta_time\" which means advance in seconds.", - "$ref": "../../../molang/1.8.0/number.json" + "$ref": "../../../molang/number.json" }, "animation_length": { "title": "Animation Length", "description": "Override calculated value (set as the last keyframe time) and set animation length in seconds.", "type": "number" }, - "blend_weight": { "title": "Blend Weight", "description": "TODO", "$ref": "../../../molang/1.8.0/number.json" }, + "blend_weight": { "title": "Blend Weight", "description": "TODO", "$ref": "../../../molang/number.json" }, "bones": { "title": "Bones", "minProperties": 1, @@ -151,7 +151,7 @@ "description": "The Position transformation during this animation", "oneOf": [ { "$ref": "#/definitions/PositionV3" }, - { "$ref": "../../../molang/1.8.0/arraynumber3.json" }, + { "$ref": "../../../molang/arraynumber3.json" }, { "type": "object", "propertyNames": { "pattern": "^(\\d+\\.\\d+|\\d+)$" }, @@ -173,7 +173,7 @@ "description": "The rotation transformation during this animation", "oneOf": [ { "$ref": "#/definitions/RotationV3" }, - { "$ref": "../../../molang/1.8.0/arraynumber3.json" }, + { "$ref": "../../../molang/arraynumber3.json" }, { "type": "object", "propertyNames": { "pattern": "^(\\d+\\.\\d+|\\d+)$" }, @@ -205,7 +205,7 @@ "title": "Scale", "description": "TODO", "oneOf": [ - { "$ref": "../../../molang/1.8.0/number.json" }, + { "$ref": "../../../molang/number.json" }, { "$ref": "#/definitions/ScaleV3" }, { "type": "object", @@ -234,7 +234,7 @@ "loop_delay": { "title": "Loop Delay", "description": "How long to wait in seconds before looping this animation. Note that this expression is evaluated after each loop and on looping animation only.", - "$ref": "../../../molang/1.8.0/number.json" + "$ref": "../../../molang/number.json" }, "override_previous_animation": { "title": "Override Previous Animation", @@ -258,7 +258,7 @@ "start_delay": { "title": "Start Delay", "description": "How long to wait in seconds before playing this animation. Note that this expression is evaluated once before playing, and only re-evaluated if asked to play from the beginning again. A looping animation should use 'loop_delay' if it wants a delay between loops.", - "$ref": "../../../molang/1.8.0/number.json" + "$ref": "../../../molang/number.json" }, "sound_effects": { "title": "Sound Effect", diff --git a/source/resource/attachables/1.10.0/attachables.json b/source/resource/attachables/1.10.0/attachables.json index da6fd031..e85ff0a3 100644 --- a/source/resource/attachables/1.10.0/attachables.json +++ b/source/resource/attachables/1.10.0/attachables.json @@ -130,7 +130,7 @@ "title": "Initialize", "items": { "pattern": ";$", - "$ref": "../../../molang/1.8.0/number.json", + "$ref": "../../../molang/number.json", "description": "TODO description: initialize", "title": "Initialize" } @@ -141,7 +141,7 @@ "title": "Pre Animation", "items": { "pattern": ";$", - "$ref": "../../../molang/1.8.0/number.json", + "$ref": "../../../molang/number.json", "description": "TODO description: pre aninamtion", "title": "Pre Animation" } @@ -150,9 +150,9 @@ "type": "string", "description": "TODO description: parent setup", "title": "Parent Setup", - "$ref": "../../../molang/1.8.0/number.json" + "$ref": "../../../molang/number.json" }, - "scale": { "type": "string", "description": "TODO description: scale", "title": "Scale", "$ref": "../../../molang/1.8.0/number.json" } + "scale": { "type": "string", "description": "TODO description: scale", "title": "Scale", "$ref": "../../../molang/number.json" } } }, "sound_effects": { diff --git a/source/resource/attachables/1.8.0/attachables.json b/source/resource/attachables/1.8.0/attachables.json index 1393245d..6af70eae 100644 --- a/source/resource/attachables/1.8.0/attachables.json +++ b/source/resource/attachables/1.8.0/attachables.json @@ -127,7 +127,7 @@ "type": "array", "items": { "pattern": ";$", - "$ref": "../../../molang/1.8.0/number.json", + "$ref": "../../../molang/number.json", "description": "TODO description: pre aninamtion", "title": "Pre Animation" }, @@ -154,7 +154,7 @@ }, "description": "TODO description: animate" }, - "parent_setup": { "$ref": "../../../molang/1.8.0/number.json" } + "parent_setup": { "$ref": "../../../molang/number.json" } }, "description": "TODO description: scripts", "title": "Scripts" diff --git a/source/resource/entity/1.10.0/entity.json b/source/resource/entity/1.10.0/entity.json index ce71c3ae..3a4568c7 100644 --- a/source/resource/entity/1.10.0/entity.json +++ b/source/resource/entity/1.10.0/entity.json @@ -135,7 +135,7 @@ "minItems": 1, "items": { "pattern": ";$", - "$ref": "../../../molang/1.8.0/string.json", + "$ref": "../../../molang/string.json", "description": "Clientside molang variables that are to be evualated during the creation of the entity", "title": "Initialize" } @@ -146,7 +146,7 @@ "title": "Pre Animation", "items": { "pattern": ";$", - "$ref": "../../../molang/1.8.0/string.json", + "$ref": "../../../molang/string.json", "description": "Clientside molang variables that are to be evualated during the animation", "title": "Pre Animation" } @@ -155,26 +155,26 @@ "type": "string", "description": "TODO description: parent setup", "title": "Parent Setup", - "$ref": "../../../molang/1.8.0/number.json" + "$ref": "../../../molang/number.json" }, "scale": { "type": "string", "description": "Scale sets the scale of the mob's geometry.", "title": "Scale", - "$ref": "../../../molang/1.8.0/number.json" + "$ref": "../../../molang/number.json" }, - "scalex": { "$ref": "../../../molang/1.8.0/number.json", "title": "Scale X" }, - "scaley": { "$ref": "../../../molang/1.8.0/number.json", "title": "Scale Y" }, - "scalez": { "$ref": "../../../molang/1.8.0/number.json", "title": "Scale Z" }, + "scalex": { "$ref": "../../../molang/number.json", "title": "Scale X" }, + "scaley": { "$ref": "../../../molang/number.json", "title": "Scale Y" }, + "scalez": { "$ref": "../../../molang/number.json", "title": "Scale Z" }, "should_update_bones_and_effects_offscreen": { "title": "Should Update Bones And Effects Offscreen", "description": "Bones and effects will still be updated if the entity is off screen if this expression returns anything other than 0.0.", - "oneOf": [{ "type": "boolean" }, { "type": "string", "$ref": "../../../molang/1.8.0/string.json" }] + "oneOf": [{ "type": "boolean" }, { "type": "string", "$ref": "../../../molang/string.json" }] }, "should_update_effects_offscreen": { "title": "Should Update Effects Offscreen", "description": "Effects will still be updated if the entity is off screen if this expression or `should_update_bones_and_effects_offscreen` returns anything other than 0.0.", - "oneOf": [{ "type": "boolean" }, { "type": "string", "$ref": "../../../molang/1.8.0/string.json" }] + "oneOf": [{ "type": "boolean" }, { "type": "string", "$ref": "../../../molang/string.json" }] }, "variables": { "title": "Variables", diff --git a/source/resource/entity/1.8.0/entity.json b/source/resource/entity/1.8.0/entity.json index ddf7cdaf..f3ebd5b7 100644 --- a/source/resource/entity/1.8.0/entity.json +++ b/source/resource/entity/1.8.0/entity.json @@ -127,7 +127,7 @@ "title": "Pre Animation", "items": { "pattern": ";$", - "$ref": "../../../molang/1.8.0/string.json", + "$ref": "../../../molang/string.json", "description": "Clientside molang variables that are to be evualated during the animation", "title": "Pre Animation" } @@ -136,17 +136,17 @@ "type": "string", "description": "TODO description: parent setup", "title": "Parent Setup", - "$ref": "../../../molang/1.8.0/number.json" + "$ref": "../../../molang/number.json" }, "scale": { "type": "string", "description": "Scale sets the scale of the mob's geometry.", "title": "Scale", - "$ref": "../../../molang/1.8.0/number.json" + "$ref": "../../../molang/number.json" }, - "scalex": { "$ref": "../../../molang/1.8.0/number.json", "title": "Scale X" }, - "scaley": { "$ref": "../../../molang/1.8.0/number.json", "title": "Scale Y" }, - "scalez": { "$ref": "../../../molang/1.8.0/number.json", "title": "Scale Z" } + "scalex": { "$ref": "../../../molang/number.json", "title": "Scale X" }, + "scaley": { "$ref": "../../../molang/number.json", "title": "Scale Y" }, + "scalez": { "$ref": "../../../molang/number.json", "title": "Scale Z" } } }, "sound_effects": { diff --git a/source/resource/models/entity/1.16.0/model_entity.json b/source/resource/models/entity/1.16.0/model_entity.json index 4092ea56..149aebc4 100644 --- a/source/resource/models/entity/1.16.0/model_entity.json +++ b/source/resource/models/entity/1.16.0/model_entity.json @@ -107,7 +107,7 @@ "binding": { "title": "Binding", "description": "useful for items. A molang expression specifying the bone name of the parent skeletal hierarchy that this bone should use as the root transform. Without this field it will look for a bone in the parent entity with the same name as this bone. If both are missing, it will assume a local skeletal hierarchy (via the \"parent\" field). If that is also missing, it will attach to the owning entity's root transform.", - "$ref": "../../../../molang/1.8.0/string.json" + "$ref": "../../../../molang/string.json" }, "cubes": { "title": "Cubes", diff --git a/source/resource/particles/1.10.0/components/minecraft.emitter_initialization.json b/source/resource/particles/1.10.0/components/minecraft.emitter_initialization.json index 6e6a591d..7d029d92 100644 --- a/source/resource/particles/1.10.0/components/minecraft.emitter_initialization.json +++ b/source/resource/particles/1.10.0/components/minecraft.emitter_initialization.json @@ -6,12 +6,12 @@ "additionalProperties": false, "properties": { "creation_expression": { - "$ref": "../../../../molang/1.8.0/string.json", + "$ref": "../../../../molang/string.json", "description": "This is run once at emitter startup.", "title": "Creation Expression" }, "per_update_expression": { - "$ref": "../../../../molang/1.8.0/string.json", + "$ref": "../../../../molang/string.json", "description": "This is run once per emitter update.", "title": "Per Update Expression" } diff --git a/source/resource/particles/1.10.0/components/minecraft.emitter_lifetime_expression.json b/source/resource/particles/1.10.0/components/minecraft.emitter_lifetime_expression.json index ae752484..36398660 100644 --- a/source/resource/particles/1.10.0/components/minecraft.emitter_lifetime_expression.json +++ b/source/resource/particles/1.10.0/components/minecraft.emitter_lifetime_expression.json @@ -6,12 +6,12 @@ "additionalProperties": false, "properties": { "activation_expression": { - "$ref": "../../../../molang/1.8.0/number.json", + "$ref": "../../../../molang/number.json", "description": "When the expression is non-zero, the emitter will emit particles. Evaluated every frame", "title": "Activation Expression" }, "expiration_expression": { - "$ref": "../../../../molang/1.8.0/number.json", + "$ref": "../../../../molang/number.json", "description": "Emitter will expire if the expression is non-zero. Evaluated every frame", "title": "Expiration Expression" } diff --git a/source/resource/particles/1.10.0/components/minecraft.emitter_lifetime_looping.json b/source/resource/particles/1.10.0/components/minecraft.emitter_lifetime_looping.json index f3c165cb..3106e488 100644 --- a/source/resource/particles/1.10.0/components/minecraft.emitter_lifetime_looping.json +++ b/source/resource/particles/1.10.0/components/minecraft.emitter_lifetime_looping.json @@ -5,12 +5,12 @@ "additionalProperties": false, "properties": { "active_time": { - "$ref": "../../../../molang/1.8.0/number.json", + "$ref": "../../../../molang/number.json", "description": "Emitter will emit particles for this time per loop evaluated once per particle emitter loop", "title": "Active Time" }, "sleep_time": { - "$ref": "../../../../molang/1.8.0/number.json", + "$ref": "../../../../molang/number.json", "description": "Emitter will pause emitting particles for this time per loop evaluated once per particle emitter loop", "title": "Sleep Time" } diff --git a/source/resource/particles/1.10.0/components/minecraft.emitter_lifetime_once.json b/source/resource/particles/1.10.0/components/minecraft.emitter_lifetime_once.json index 09d5d0ab..c6314947 100644 --- a/source/resource/particles/1.10.0/components/minecraft.emitter_lifetime_once.json +++ b/source/resource/particles/1.10.0/components/minecraft.emitter_lifetime_once.json @@ -5,7 +5,7 @@ "additionalProperties": false, "properties": { "active_time": { - "$ref": "../../../../molang/1.8.0/number.json", + "$ref": "../../../../molang/number.json", "description": "How long the particles emit for evaluated once", "title": "Active Time" } diff --git a/source/resource/particles/1.10.0/components/minecraft.emitter_rate_instant.json b/source/resource/particles/1.10.0/components/minecraft.emitter_rate_instant.json index 993a0a55..be015155 100644 --- a/source/resource/particles/1.10.0/components/minecraft.emitter_rate_instant.json +++ b/source/resource/particles/1.10.0/components/minecraft.emitter_rate_instant.json @@ -5,7 +5,7 @@ "additionalProperties": false, "properties": { "num_particles": { - "$ref": "../../../../molang/1.8.0/number.json", + "$ref": "../../../../molang/number.json", "description": "This many particles are emitted at once evaluated once per particle emitter loop.", "title": "Num Particles", "default": 10 diff --git a/source/resource/particles/1.10.0/components/minecraft.emitter_rate_manual.json b/source/resource/particles/1.10.0/components/minecraft.emitter_rate_manual.json index 722719e6..b77e5c37 100644 --- a/source/resource/particles/1.10.0/components/minecraft.emitter_rate_manual.json +++ b/source/resource/particles/1.10.0/components/minecraft.emitter_rate_manual.json @@ -5,7 +5,7 @@ "additionalProperties": false, "properties": { "max_particles": { - "$ref": "../../../../molang/1.8.0/number.json", + "$ref": "../../../../molang/number.json", "description": "Evaluated once per particle emitted", "title": "Max Particles" } diff --git a/source/resource/particles/1.10.0/components/minecraft.emitter_rate_steady.json b/source/resource/particles/1.10.0/components/minecraft.emitter_rate_steady.json index 93724ed5..d8682c2b 100644 --- a/source/resource/particles/1.10.0/components/minecraft.emitter_rate_steady.json +++ b/source/resource/particles/1.10.0/components/minecraft.emitter_rate_steady.json @@ -5,12 +5,12 @@ "additionalProperties": false, "properties": { "max_particles": { - "$ref": "../../../../molang/1.8.0/number.json", + "$ref": "../../../../molang/number.json", "description": "Maximum number of particles that can be active at once for this emitter, evaluated once per particle emitter loop", "title": "Max Particles" }, "spawn_rate": { - "$ref": "../../../../molang/1.8.0/number.json", + "$ref": "../../../../molang/number.json", "description": "How often a particle is emitted, in particles/sec evaluated once per particle emitted", "title": "Spawn Rate" } diff --git a/source/resource/particles/1.10.0/components/minecraft.emitter_shape_box.json b/source/resource/particles/1.10.0/components/minecraft.emitter_shape_box.json index 5b017e96..e9e24872 100644 --- a/source/resource/particles/1.10.0/components/minecraft.emitter_shape_box.json +++ b/source/resource/particles/1.10.0/components/minecraft.emitter_shape_box.json @@ -10,16 +10,16 @@ "default": "outwards", "anyOf": [ { "type": "string", "enum": ["inwards", "outwards"] }, - { "type": "array", "minItems": 3, "maxItems": 3, "items": { "$ref": "../../../../molang/1.8.0/number.json" } } + { "type": "array", "minItems": 3, "maxItems": 3, "items": { "$ref": "../../../../molang/number.json" } } ] }, - "radius": { "$ref": "../../../../molang/1.8.0/number.json", "description": "TODO description: radius", "title": "Radius" }, + "radius": { "$ref": "../../../../molang/number.json", "description": "TODO description: radius", "title": "Radius" }, "offset": { "type": "array", "items": { "minItems": 3, "maxItems": 3, - "$ref": "../../../../molang/1.8.0/number.json", + "$ref": "../../../../molang/number.json", "description": "TODO description: offset", "title": "Offset" }, @@ -31,7 +31,7 @@ "items": { "minItems": 3, "maxItems": 3, - "$ref": "../../../../molang/1.8.0/number.json", + "$ref": "../../../../molang/number.json", "description": "TODO description: half dimensions", "title": "Half Dimensions" }, diff --git a/source/resource/particles/1.10.0/components/minecraft.emitter_shape_custom.json b/source/resource/particles/1.10.0/components/minecraft.emitter_shape_custom.json index 305e09ee..95282acc 100644 --- a/source/resource/particles/1.10.0/components/minecraft.emitter_shape_custom.json +++ b/source/resource/particles/1.10.0/components/minecraft.emitter_shape_custom.json @@ -9,7 +9,7 @@ "items": { "minItems": 3, "maxItems": 3, - "$ref": "../../../../molang/1.8.0/number.json", + "$ref": "../../../../molang/number.json", "description": "TODO description: direction", "title": "Direction" }, @@ -21,7 +21,7 @@ "items": { "minItems": 3, "maxItems": 3, - "$ref": "../../../../molang/1.8.0/number.json", + "$ref": "../../../../molang/number.json", "description": "TODO description: offset", "title": "Offset" }, diff --git a/source/resource/particles/1.10.0/components/minecraft.emitter_shape_disc.json b/source/resource/particles/1.10.0/components/minecraft.emitter_shape_disc.json index bc4c80d9..d3931428 100644 --- a/source/resource/particles/1.10.0/components/minecraft.emitter_shape_disc.json +++ b/source/resource/particles/1.10.0/components/minecraft.emitter_shape_disc.json @@ -7,18 +7,18 @@ "direction": { "anyOf": [ { "type": "string", "enum": ["inwards", "outwards"] }, - { "type": "array", "minItems": 3, "maxItems": 3, "items": { "$ref": "../../../../molang/1.8.0/number.json" } } + { "type": "array", "minItems": 3, "maxItems": 3, "items": { "$ref": "../../../../molang/number.json" } } ], "description": "TODO description: direction", "title": "Direction" }, - "radius": { "$ref": "../../../../molang/1.8.0/number.json", "description": "TODO description: radius", "title": "Radius" }, + "radius": { "$ref": "../../../../molang/number.json", "description": "TODO description: radius", "title": "Radius" }, "offset": { "type": "array", "items": { "minItems": 3, "maxItems": 3, - "$ref": "../../../../molang/1.8.0/number.json", + "$ref": "../../../../molang/number.json", "description": "TODO description: offset", "title": "Offset" }, @@ -34,9 +34,9 @@ { "type": "array", "items": [ - { "$ref": "../../../../molang/1.8.0/number.json" }, - { "$ref": "../../../../molang/1.8.0/number.json" }, - { "$ref": "../../../../molang/1.8.0/number.json" } + { "$ref": "../../../../molang/number.json" }, + { "$ref": "../../../../molang/number.json" }, + { "$ref": "../../../../molang/number.json" } ] } ] diff --git a/source/resource/particles/1.10.0/components/minecraft.emitter_shape_entity_aabb.json b/source/resource/particles/1.10.0/components/minecraft.emitter_shape_entity_aabb.json index 9af3655c..65b7e69c 100644 --- a/source/resource/particles/1.10.0/components/minecraft.emitter_shape_entity_aabb.json +++ b/source/resource/particles/1.10.0/components/minecraft.emitter_shape_entity_aabb.json @@ -12,7 +12,7 @@ "items": { "minItems": 3, "maxItems": 3, - "$ref": "../../../../molang/1.8.0/number.json", + "$ref": "../../../../molang/number.json", "description": "TODO description: Todo", "title": "Todo" }, @@ -28,7 +28,7 @@ "items": { "minItems": 3, "maxItems": 3, - "$ref": "../../../../molang/1.8.0/number.json", + "$ref": "../../../../molang/number.json", "description": "TODO description: offset", "title": "Offset" }, diff --git a/source/resource/particles/1.10.0/components/minecraft.emitter_shape_point.json b/source/resource/particles/1.10.0/components/minecraft.emitter_shape_point.json index 64929770..847e7aec 100644 --- a/source/resource/particles/1.10.0/components/minecraft.emitter_shape_point.json +++ b/source/resource/particles/1.10.0/components/minecraft.emitter_shape_point.json @@ -9,7 +9,7 @@ "items": { "minItems": 3, "maxItems": 3, - "$ref": "../../../../molang/1.8.0/number.json", + "$ref": "../../../../molang/number.json", "description": "TODO description: direction", "title": "Direction" }, @@ -21,7 +21,7 @@ "items": { "minItems": 3, "maxItems": 3, - "$ref": "../../../../molang/1.8.0/number.json", + "$ref": "../../../../molang/number.json", "description": "TODO description: offset", "title": "Offset" }, diff --git a/source/resource/particles/1.10.0/components/minecraft.emitter_shape_sphere.json b/source/resource/particles/1.10.0/components/minecraft.emitter_shape_sphere.json index 7425225c..fcf01e84 100644 --- a/source/resource/particles/1.10.0/components/minecraft.emitter_shape_sphere.json +++ b/source/resource/particles/1.10.0/components/minecraft.emitter_shape_sphere.json @@ -12,7 +12,7 @@ "items": { "minItems": 3, "maxItems": 3, - "$ref": "../../../../molang/1.8.0/number.json", + "$ref": "../../../../molang/number.json", "description": "TODO description: Todo", "title": "Todo" }, @@ -28,14 +28,14 @@ "items": { "minItems": 3, "maxItems": 3, - "$ref": "../../../../molang/1.8.0/number.json", + "$ref": "../../../../molang/number.json", "description": "TODO description: offset", "title": "Offset" }, "description": "TODO description", "title": "TODO Title" }, - "radius": { "$ref": "../../../../molang/1.8.0/number.json", "description": "TODO description: radius", "title": "Radius" }, + "radius": { "$ref": "../../../../molang/number.json", "description": "TODO description: radius", "title": "Radius" }, "surface_only": { "type": "boolean", "description": "TODO description: surface only", "title": "Surface Only" } }, "description": "TODO description: " diff --git a/source/resource/particles/1.10.0/components/minecraft.particle_appearance_billboard.json b/source/resource/particles/1.10.0/components/minecraft.particle_appearance_billboard.json index 72912297..c29c8d0c 100644 --- a/source/resource/particles/1.10.0/components/minecraft.particle_appearance_billboard.json +++ b/source/resource/particles/1.10.0/components/minecraft.particle_appearance_billboard.json @@ -8,7 +8,7 @@ "type": "array", "minItems": 2, "maxItems": 2, - "items": { "$ref": "../../../../molang/1.8.0/number.json", "description": "TODO description: size", "title": "Size" }, + "items": { "$ref": "../../../../molang/number.json", "description": "TODO description: size", "title": "Size" }, "description": "TODO description: size", "title": "Size" }, @@ -33,7 +33,7 @@ "type": "array", "minItems": 2, "maxItems": 2, - "items": { "$ref": "../../../../molang/1.8.0/number.json", "description": "TODO description: base UV", "title": "Base U V" }, + "items": { "$ref": "../../../../molang/number.json", "description": "TODO description: base UV", "title": "Base U V" }, "description": "TODO description: base UV", "title": "Base U V" }, @@ -41,7 +41,7 @@ "type": "array", "minItems": 2, "maxItems": 2, - "items": { "$ref": "../../../../molang/1.8.0/number.json", "description": "TODO description: size UV", "title": "Size U V" }, + "items": { "$ref": "../../../../molang/number.json", "description": "TODO description: size UV", "title": "Size U V" }, "description": "TODO description: size UV", "title": "Size U V" }, @@ -49,16 +49,16 @@ "type": "array", "minItems": 2, "maxItems": 2, - "items": { "$ref": "../../../../molang/1.8.0/number.json", "description": "TODO description: step UV", "title": "Step U V" }, + "items": { "$ref": "../../../../molang/number.json", "description": "TODO description: step UV", "title": "Step U V" }, "description": "TODO description: step UV", "title": "Step U V" }, "frames_per_second": { - "$ref": "../../../../molang/1.8.0/number.json", + "$ref": "../../../../molang/number.json", "description": "TODO description: frames per second", "title": "Frames Per Second" }, - "max_frame": { "$ref": "../../../../molang/1.8.0/number.json", "description": "TODO description: max frame", "title": "Max Frame" }, + "max_frame": { "$ref": "../../../../molang/number.json", "description": "TODO description: max frame", "title": "Max Frame" }, "stretch_to_lifetime": { "type": "boolean", "description": "TODO description: stretch to lifetime", "title": "Stretch To Lifetime" }, "loop": { "type": "boolean", "description": "TODO description: loop", "title": "Loop" } }, @@ -69,7 +69,7 @@ "type": "array", "minItems": 2, "maxItems": 2, - "items": { "$ref": "../../../../molang/1.8.0/number.json", "description": "TODO description: uv", "title": "Uv" }, + "items": { "$ref": "../../../../molang/number.json", "description": "TODO description: uv", "title": "Uv" }, "description": "TODO description: uv", "title": "Uv" }, @@ -77,7 +77,7 @@ "type": "array", "minItems": 2, "maxItems": 2, - "items": { "$ref": "../../../../molang/1.8.0/number.json", "description": "TODO description: uv size", "title": "Uv Size" }, + "items": { "$ref": "../../../../molang/number.json", "description": "TODO description: uv size", "title": "Uv Size" }, "description": "TODO description: uv size", "title": "Uv Size" } diff --git a/source/resource/particles/1.10.0/components/minecraft.particle_appearance_tinting.json b/source/resource/particles/1.10.0/components/minecraft.particle_appearance_tinting.json index 25c5fa18..24fe97c4 100644 --- a/source/resource/particles/1.10.0/components/minecraft.particle_appearance_tinting.json +++ b/source/resource/particles/1.10.0/components/minecraft.particle_appearance_tinting.json @@ -8,7 +8,7 @@ "color": { "title": "Color", "anyOf": [ - { "type": "array", "description": "Direct color field", "items": { "$ref": "../../../../molang/1.8.0/number.json" } }, + { "type": "array", "description": "Direct color field", "items": { "$ref": "../../../../molang/number.json" } }, { "type": "string", "format": "color-hex", "description": "Direct color field" }, { "description": "Interpolation based color", @@ -45,7 +45,7 @@ } ] }, - "interpolant": { "$ref": "../../../../molang/1.8.0/number.json", "description": "TODO description: interpolant", "title": "Interpolant" } + "interpolant": { "$ref": "../../../../molang/number.json", "description": "TODO description: interpolant", "title": "Interpolant" } } } ], diff --git a/source/resource/particles/1.10.0/components/minecraft.particle_initial_speed.json b/source/resource/particles/1.10.0/components/minecraft.particle_initial_speed.json index 69ca21e4..460284b9 100644 --- a/source/resource/particles/1.10.0/components/minecraft.particle_initial_speed.json +++ b/source/resource/particles/1.10.0/components/minecraft.particle_initial_speed.json @@ -3,10 +3,10 @@ "title": "Particle Initial Speed Component For 1.10.0", "additionalProperties": false, "anyOf": [ - { "$ref": "../../../../molang/1.8.0/number.json" }, + { "$ref": "../../../../molang/number.json" }, { "type": "array", - "items": { "$ref": "../../../../molang/1.8.0/number.json", "description": "TODO description", "title": "TODO Title" }, + "items": { "$ref": "../../../../molang/number.json", "description": "TODO description", "title": "TODO Title" }, "minItems": 3, "maxItems": 3, "description": "TODO description", diff --git a/source/resource/particles/1.10.0/components/minecraft.particle_initial_spin.json b/source/resource/particles/1.10.0/components/minecraft.particle_initial_spin.json index bd5b6186..53376aa2 100644 --- a/source/resource/particles/1.10.0/components/minecraft.particle_initial_spin.json +++ b/source/resource/particles/1.10.0/components/minecraft.particle_initial_spin.json @@ -5,9 +5,9 @@ "additionalProperties": false, "type": "object", "properties": { - "rotation": { "$ref": "../../../../molang/1.8.0/number.json", "description": "Specifies the initial rotation in degrees", "title": "Rotation" }, + "rotation": { "$ref": "../../../../molang/number.json", "description": "Specifies the initial rotation in degrees", "title": "Rotation" }, "rotation_rate": { - "$ref": "../../../../molang/1.8.0/number.json", + "$ref": "../../../../molang/number.json", "description": "Specifies the spin rate in degrees/second", "title": "Rotation Rate" } diff --git a/source/resource/particles/1.10.0/components/minecraft.particle_initialization.json b/source/resource/particles/1.10.0/components/minecraft.particle_initialization.json index c0a815b7..a87d0e86 100644 --- a/source/resource/particles/1.10.0/components/minecraft.particle_initialization.json +++ b/source/resource/particles/1.10.0/components/minecraft.particle_initialization.json @@ -5,12 +5,12 @@ "additionalProperties": false, "properties": { "per_update_expression": { - "$ref": "../../../../molang/1.8.0/number.json", + "$ref": "../../../../molang/number.json", "description": "TODO description: per update expression", "title": "Per Update Expression" }, "per_render_expression": { - "$ref": "../../../../molang/1.8.0/number.json", + "$ref": "../../../../molang/number.json", "description": "TODO description: per render expression", "title": "Per Render Expression" } diff --git a/source/resource/particles/1.10.0/components/minecraft.particle_kill_plane.json b/source/resource/particles/1.10.0/components/minecraft.particle_kill_plane.json index 50ffdfdf..78b97217 100644 --- a/source/resource/particles/1.10.0/components/minecraft.particle_kill_plane.json +++ b/source/resource/particles/1.10.0/components/minecraft.particle_kill_plane.json @@ -2,6 +2,6 @@ "$id": "blockception.minecraft.resource.particle.1.10.0.particle_kill_plane", "type": "array", "title": "Particle Kill Plane Component For 1.10.0", - "items": { "minItems": 4, "maxItems": 4, "$ref": "../../../../molang/1.8.0/number.json", "description": "TODO description", "title": "TODO Title" }, + "items": { "minItems": 4, "maxItems": 4, "$ref": "../../../../molang/number.json", "description": "TODO description", "title": "TODO Title" }, "description": "TODO description" } diff --git a/source/resource/particles/1.10.0/components/minecraft.particle_lifetime_expression.json b/source/resource/particles/1.10.0/components/minecraft.particle_lifetime_expression.json index afc89ff0..4c75d711 100644 --- a/source/resource/particles/1.10.0/components/minecraft.particle_lifetime_expression.json +++ b/source/resource/particles/1.10.0/components/minecraft.particle_lifetime_expression.json @@ -8,10 +8,10 @@ "expiration_expression": { "title": "Expiration Expression", "description": "This expression makes the particle expire when true (non-zero), The float/expr is evaluated once per particle, evaluated every frame", - "$ref": "../../../../molang/1.8.0/number.json" + "$ref": "../../../../molang/number.json" }, "max_lifetime": { - "$ref": "../../../../molang/1.8.0/number.json", + "$ref": "../../../../molang/number.json", "description": "Alternate way to express lifetime, particle will expire after this much time, evaluated once", "title": "Max Lifetime" } diff --git a/source/resource/particles/1.10.0/components/minecraft.particle_motion_collision.json b/source/resource/particles/1.10.0/components/minecraft.particle_motion_collision.json index 3fdab00b..c6eae3a6 100644 --- a/source/resource/particles/1.10.0/components/minecraft.particle_motion_collision.json +++ b/source/resource/particles/1.10.0/components/minecraft.particle_motion_collision.json @@ -11,7 +11,7 @@ "title": "Coefficient Of Restitution" }, "collision_radius": { "type": "number", "description": "TODO description: collision radius", "title": "Collision Radius" }, - "enabled": { "$ref": "../../../../molang/1.8.0/number.json", "description": "TODO description: enabled", "title": "Enabled" }, + "enabled": { "$ref": "../../../../molang/number.json", "description": "TODO description: enabled", "title": "Enabled" }, "expire_on_contact": { "type": "boolean", "description": "TODO description: expire on contact", "title": "Expire On Contact" }, "events": { "type": "array", diff --git a/source/resource/particles/1.10.0/components/minecraft.particle_motion_dynamic.json b/source/resource/particles/1.10.0/components/minecraft.particle_motion_dynamic.json index f2683e8b..bc9c02aa 100644 --- a/source/resource/particles/1.10.0/components/minecraft.particle_motion_dynamic.json +++ b/source/resource/particles/1.10.0/components/minecraft.particle_motion_dynamic.json @@ -10,24 +10,24 @@ "default": [0, 0, 0], "minItems": 3, "maxItems": 3, - "items": { "$ref": "../../../../molang/1.8.0/number.json" }, + "items": { "$ref": "../../../../molang/number.json" }, "description": "The linear acceleration applied to the particle. Units are blocks/sec/sec", "title": "Linear Acceleration" }, "linear_drag_coefficient": { - "$ref": "../../../../molang/1.8.0/number.json", + "$ref": "../../../../molang/number.json", "description": "Using the equation: 'acceleration = -linear_drag_coefficient*velocity' where velocity is the current direction times speed. Think of this as air-drag. The higher the value, the more drag evaluated every frame", "default": 0, "title": "Linear Drag Coefficient" }, "rotation_acceleration": { - "$ref": "../../../../molang/1.8.0/number.json", + "$ref": "../../../../molang/number.json", "description": "Acceleration applies to the rotation speed of the particle", "title": "Rotation Acceleration", "default": 0 }, "rotation_drag_coefficient": { - "$ref": "../../../../molang/1.8.0/number.json", + "$ref": "../../../../molang/number.json", "description": "Drag applied to rotation", "title": "Rotation Drag Coefficient", "default": 0 diff --git a/source/resource/particles/1.10.0/components/minecraft.particle_motion_parametric.json b/source/resource/particles/1.10.0/components/minecraft.particle_motion_parametric.json index eaf90fdd..50a823ff 100644 --- a/source/resource/particles/1.10.0/components/minecraft.particle_motion_parametric.json +++ b/source/resource/particles/1.10.0/components/minecraft.particle_motion_parametric.json @@ -8,11 +8,11 @@ "type": "array", "minItems": 3, "maxItems": 3, - "items": { "$ref": "../../../../molang/1.8.0/number.json", "description": "TODO description: relative position", "title": "Relative Position" }, + "items": { "$ref": "../../../../molang/number.json", "description": "TODO description: relative position", "title": "Relative Position" }, "description": "TODO description: relative position", "title": "Relative Position" }, - "rotation": { "$ref": "../../../../molang/1.8.0/number.json", "description": "TODO description: rotation", "title": "Rotation" } + "rotation": { "$ref": "../../../../molang/number.json", "description": "TODO description: rotation", "title": "Rotation" } }, "description": "TODO description: " } diff --git a/source/resource/particles/1.10.0/particle.json b/source/resource/particles/1.10.0/particle.json index d34e3a36..1fcffe6f 100644 --- a/source/resource/particles/1.10.0/particle.json +++ b/source/resource/particles/1.10.0/particle.json @@ -56,12 +56,12 @@ "title": "Curve", "description": "TODO", "properties": { - "input": { "$ref": "../../../molang/1.8.0/number.json", "title": "Input", "description": "What is the input value to use" }, + "input": { "$ref": "../../../molang/number.json", "title": "Input", "description": "What is the input value to use" }, "nodes": { "description": "Control nodes for curve. These are assumed to be equally, used Object for bezier_chain", "title": "Nodes", "oneOf": [ - { "minItems": 1, "type": "array", "items": { "$ref": "../../../molang/1.8.0/number.json" } }, + { "minItems": 1, "type": "array", "items": { "$ref": "../../../molang/number.json" } }, { "type": "object", "propertyNames": { "pattern": "(^[\\-0-9]+$|^[\\-0-9]+\\.[\\-0-9]+$)" }, diff --git a/source/resource/render_controllers/1.10.0/render_controllers.json b/source/resource/render_controllers/1.10.0/render_controllers.json index 1978797d..3e3994d1 100644 --- a/source/resource/render_controllers/1.10.0/render_controllers.json +++ b/source/resource/render_controllers/1.10.0/render_controllers.json @@ -119,7 +119,7 @@ } }, "light_color_multiplier": { - "$ref": "../../../molang/1.8.0/number.json", + "$ref": "../../../molang/number.json", "description": "The amount of light that blends into what is being rendered, lower values gives darker rendering, (1 = 100%)", "title": "Light Color Multiplier" }, @@ -192,7 +192,7 @@ "type": "array", "minItems": 2, "maxItems": 2, - "items": { "$ref": "../../../molang/1.8.0/number.json", "description": "TODO description: offset", "title": "Offset" }, + "items": { "$ref": "../../../molang/number.json", "description": "TODO description: offset", "title": "Offset" }, "description": "TODO description: offset", "title": "Offset" }, @@ -202,7 +202,7 @@ "title": "Scale", "minItems": 2, "maxItems": 2, - "items": { "$ref": "../../../molang/1.8.0/number.json", "description": "TODO description: scale", "title": "Scale" } + "items": { "$ref": "../../../molang/number.json", "description": "TODO description: scale", "title": "Scale" } } }, "description": "TODO description: uv anim", diff --git a/source/resource/render_controllers/1.8.0/render_controllers.json b/source/resource/render_controllers/1.8.0/render_controllers.json index e7f1c60e..4300b262 100644 --- a/source/resource/render_controllers/1.8.0/render_controllers.json +++ b/source/resource/render_controllers/1.8.0/render_controllers.json @@ -118,7 +118,7 @@ } }, "light_color_multiplier": { - "$ref": "../../../molang/1.8.0/number.json", + "$ref": "../../../molang/number.json", "description": "The amount of light that blends into what is being rendered, lower values gives darker rendering, (1 = 100%)", "title": "Light Color Multiplier" }, @@ -196,7 +196,7 @@ "type": "array", "minItems": 2, "maxItems": 2, - "items": { "$ref": "../../../molang/1.8.0/number.json", "description": "TODO description: offset", "title": "Offset" }, + "items": { "$ref": "../../../molang/number.json", "description": "TODO description: offset", "title": "Offset" }, "description": "TODO description: offset", "title": "Offset" }, @@ -206,7 +206,7 @@ "title": "Scale", "minItems": 2, "maxItems": 2, - "items": { "$ref": "../../../molang/1.8.0/number.json", "description": "TODO description: scale", "title": "Scale" } + "items": { "$ref": "../../../molang/number.json", "description": "TODO description: scale", "title": "Scale" } } }, "description": "TODO description: uv anim",