This commit is contained in:
DaanV2
2021-03-21 15:18:38 +01:00
parent d3298267bc
commit 698ee42623
960 changed files with 5960 additions and 22946 deletions

View File

@@ -19,28 +19,13 @@
"type": "object",
"required": ["identifier", "basic_render_parameters"],
"properties": {
"identifier": {
"type": "string",
"description": "TODO description: identifier",
"title": "Identifier",
"$ref": "../../../general/particle/identifier.json"
},
"identifier": { "type": "string", "description": "TODO description: identifier", "title": "Identifier", "$ref": "../../../general/particle/identifier.json" },
"basic_render_parameters": {
"additionalProperties": false,
"type": "object",
"properties": {
"material": {
"type": "string",
"examples": ["particles_alpha", "particles_blend"],
"description": " Minecraft material to use for emitter",
"title": "Material"
},
"texture": {
"type": "string",
"pattern": "^.+$",
"description": "Minecraft texture to use for emitter",
"title": "Texture"
}
"material": { "type": "string", "examples": ["particles_alpha", "particles_blend"], "description": " Minecraft material to use for emitter", "title": "Material" },
"texture": { "type": "string", "pattern": "^.+$", "description": "Minecraft texture to use for emitter", "title": "Texture" }
},
"description": "TODO description: basic render parameters",
"title": "Basic Render Parameters"
@@ -53,54 +38,24 @@
"title": "Curves",
"description": "Curves are interpolation values, with inputs from 0 to 1, and outputs based on the curve. The result of the curve is a MoLang variable of the same name that can be referenced in MoLang in components. For each rendering frame for each particle, the curves are evaluated and the result is placed in a MoLang variable of the name of the curve.",
"type": "object",
"propertyNames": {
"pattern": "^(v|variable)\\.[a-zA-z0-9]+$"
},
"propertyNames": { "pattern": "^(v|variable)\\.[a-zA-z0-9]+$" },
"additionalProperties": {
"type": "object",
"additionalProperties": false,
"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/1.8.0/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"
}
},
{
"type": "object",
"propertyNames": {
"pattern": "(^[\\-0-9]+$|^[\\-0-9]+\\.[\\-0-9]+$)"
},
"additionalProperties": {
"type": "object",
"properties": {}
}
}
{ "minItems": 1, "type": "array", "items": { "$ref": "../../../molang/1.8.0/number.json" } },
{ "type": "object", "propertyNames": { "pattern": "(^[\\-0-9]+$|^[\\-0-9]+\\.[\\-0-9]+$)" }, "additionalProperties": { "type": "object", "properties": {} } }
]
},
"type": {
"type": "string",
"title": "Type",
"description": "The type of curve",
"enum": ["linear", "bezier", "bezier_chain", "catmull_rom"]
},
"horizontal_range": {
"type": "string",
"title": "Horizontal Range",
"description": "What is the range the input is mapped onto"
}
"type": { "type": "string", "title": "Type", "description": "The type of curve", "enum": ["linear", "bezier", "bezier_chain", "catmull_rom"] },
"horizontal_range": { "type": "string", "title": "Horizontal Range", "description": "What is the range the input is mapped onto" }
}
}
},
@@ -110,90 +65,34 @@
"description": "The particle components.",
"title": "Components",
"properties": {
"minecraft:emitter_initialization": {
"$ref": "./components/minecraft.emitter_initialization.json"
},
"minecraft:emitter_lifetime_events": {
"$ref": "./components/minecraft.emitter_lifetime_events.json"
},
"minecraft:emitter_lifetime_expression": {
"$ref": "./components/minecraft.emitter_lifetime_expression.json"
},
"minecraft:emitter_lifetime_once": {
"$ref": "./components/minecraft.emitter_lifetime_once.json"
},
"minecraft:emitter_lifetime_looping": {
"$ref": "./components/minecraft.emitter_lifetime_looping.json"
},
"minecraft:emitter_local_space": {
"$ref": "./components/minecraft.emitter_local_space.json"
},
"minecraft:emitter_rate_instant": {
"$ref": "./components/minecraft.emitter_rate_instant.json"
},
"minecraft:emitter_rate_manual": {
"$ref": "./components/minecraft.emitter_rate_manual.json"
},
"minecraft:emitter_rate_steady": {
"$ref": "./components/minecraft.emitter_rate_steady.json"
},
"minecraft:emitter_shape_box": {
"$ref": "./components/minecraft.emitter_shape_box.json"
},
"minecraft:emitter_shape_custom": {
"$ref": "./components/minecraft.emitter_shape_custom.json"
},
"minecraft:emitter_shape_disc": {
"$ref": "./components/minecraft.emitter_shape_disc.json"
},
"minecraft:emitter_shape_entity_aabb": {
"$ref": "./components/minecraft.emitter_shape_entity_aabb.json"
},
"minecraft:emitter_shape_point": {
"$ref": "./components/minecraft.emitter_shape_point.json"
},
"minecraft:emitter_shape_sphere": {
"$ref": "./components/minecraft.emitter_shape_sphere.json"
},
"minecraft:particle_appearance_billboard": {
"$ref": "./components/minecraft.particle_appearance_billboard.json"
},
"minecraft:particle_appearance_tinting": {
"$ref": "./components/minecraft.particle_appearance_tinting.json"
},
"minecraft:particle_appearance_lighting": {
"$ref": "./components/minecraft.particle_appearance_lighting.json"
},
"minecraft:particle_expire_if_not_in_blocks": {
"$ref": "./components/minecraft.particle_expire_if_not_in_blocks.json"
},
"minecraft:particle_initialization": {
"$ref": "./components/minecraft.particle_initialization.json"
},
"minecraft:particle_initial_speed": {
"$ref": "./components/minecraft.particle_initial_speed.json"
},
"minecraft:particle_initial_spin": {
"$ref": "./components/minecraft.particle_initial_spin.json"
},
"minecraft:particle_lifetime_expression": {
"$ref": "./components/minecraft.particle_lifetime_expression.json"
},
"minecraft:particle_lifetime_events": {
"$ref": "./components/minecraft.particle_lifetime_events.json"
},
"minecraft:particle_kill_plane": {
"$ref": "./components/minecraft.particle_kill_plane.json"
},
"minecraft:particle_motion_collision": {
"$ref": "./components/minecraft.particle_motion_collision.json"
},
"minecraft:particle_motion_dynamic": {
"$ref": "./components/minecraft.particle_motion_dynamic.json"
},
"minecraft:particle_motion_parametric": {
"$ref": "./components/minecraft.particle_motion_parametric.json"
}
"minecraft:emitter_initialization": { "$ref": "./components/minecraft.emitter_initialization.json" },
"minecraft:emitter_lifetime_events": { "$ref": "./components/minecraft.emitter_lifetime_events.json" },
"minecraft:emitter_lifetime_expression": { "$ref": "./components/minecraft.emitter_lifetime_expression.json" },
"minecraft:emitter_lifetime_once": { "$ref": "./components/minecraft.emitter_lifetime_once.json" },
"minecraft:emitter_lifetime_looping": { "$ref": "./components/minecraft.emitter_lifetime_looping.json" },
"minecraft:emitter_local_space": { "$ref": "./components/minecraft.emitter_local_space.json" },
"minecraft:emitter_rate_instant": { "$ref": "./components/minecraft.emitter_rate_instant.json" },
"minecraft:emitter_rate_manual": { "$ref": "./components/minecraft.emitter_rate_manual.json" },
"minecraft:emitter_rate_steady": { "$ref": "./components/minecraft.emitter_rate_steady.json" },
"minecraft:emitter_shape_box": { "$ref": "./components/minecraft.emitter_shape_box.json" },
"minecraft:emitter_shape_custom": { "$ref": "./components/minecraft.emitter_shape_custom.json" },
"minecraft:emitter_shape_disc": { "$ref": "./components/minecraft.emitter_shape_disc.json" },
"minecraft:emitter_shape_entity_aabb": { "$ref": "./components/minecraft.emitter_shape_entity_aabb.json" },
"minecraft:emitter_shape_point": { "$ref": "./components/minecraft.emitter_shape_point.json" },
"minecraft:emitter_shape_sphere": { "$ref": "./components/minecraft.emitter_shape_sphere.json" },
"minecraft:particle_appearance_billboard": { "$ref": "./components/minecraft.particle_appearance_billboard.json" },
"minecraft:particle_appearance_tinting": { "$ref": "./components/minecraft.particle_appearance_tinting.json" },
"minecraft:particle_appearance_lighting": { "$ref": "./components/minecraft.particle_appearance_lighting.json" },
"minecraft:particle_expire_if_not_in_blocks": { "$ref": "./components/minecraft.particle_expire_if_not_in_blocks.json" },
"minecraft:particle_initialization": { "$ref": "./components/minecraft.particle_initialization.json" },
"minecraft:particle_initial_speed": { "$ref": "./components/minecraft.particle_initial_speed.json" },
"minecraft:particle_initial_spin": { "$ref": "./components/minecraft.particle_initial_spin.json" },
"minecraft:particle_lifetime_expression": { "$ref": "./components/minecraft.particle_lifetime_expression.json" },
"minecraft:particle_lifetime_events": { "$ref": "./components/minecraft.particle_lifetime_events.json" },
"minecraft:particle_kill_plane": { "$ref": "./components/minecraft.particle_kill_plane.json" },
"minecraft:particle_motion_collision": { "$ref": "./components/minecraft.particle_motion_collision.json" },
"minecraft:particle_motion_dynamic": { "$ref": "./components/minecraft.particle_motion_dynamic.json" },
"minecraft:particle_motion_parametric": { "$ref": "./components/minecraft.particle_motion_parametric.json" }
}
},
"events": {
@@ -205,19 +104,11 @@
"additionalProperties": false,
"properties": {
"particle_effect": {
"title": "Particle effect",
"title": "Particle Effect",
"description": "TODO",
"properties": {
"effect": {
"type": "string",
"description": "TODO description: effect",
"title": "Effect"
},
"type": {
"type": "string",
"description": "TODO description: type",
"title": "Type"
}
"effect": { "type": "string", "description": "TODO description: effect", "title": "Effect" },
"type": { "type": "string", "description": "TODO description: type", "title": "Type" }
}
}
}
@@ -231,5 +122,5 @@
}
},
"description": "TODO description: ",
"title": "TODO title"
"title": "TODO Title"
}