auto: Formatted documents

This commit is contained in:
DaanV2
2021-05-18 23:32:44 +02:00
parent 6963d4eaab
commit 5b784a9cfc
400 changed files with 6276 additions and 1125 deletions

View File

@@ -59,7 +59,10 @@
"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"] },
"propertyNames": {
"pattern": "^controller\\.animation\\.[a-z\\.]+",
"examples": ["controller.animation.example", "controller.animation.example.foo"]
},
"additionalProperties": {
"additionalProperties": false,
"type": "object",
@@ -100,7 +103,10 @@
"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": "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",
@@ -119,7 +125,11 @@
"particle_effects": {
"description": "The effects to be emitted",
"type": "array",
"items": { "$ref": "#/definitions/particle_effect_spec", "description": "TODO description: particle effects", "title": "Particle Effects" },
"items": {
"$ref": "#/definitions/particle_effect_spec",
"description": "TODO description: particle effects",
"title": "Particle Effects"
},
"title": "Particle Effects"
},
"sound_effects": {
@@ -129,7 +139,12 @@
"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" } }
"properties": {
"effect": {
"description": "Valid sound effect names should be listed in the entity's resource_definition json file.",
"type": "string"
}
}
}
},
"transitions": {

View File

@@ -59,7 +59,10 @@
"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"] },
"propertyNames": {
"pattern": "^controller\\.animation\\.[a-z\\.]+",
"examples": ["controller.animation.example", "controller.animation.example.foo"]
},
"additionalProperties": {
"additionalProperties": false,
"type": "object",
@@ -88,7 +91,10 @@
"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": "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",
@@ -107,7 +113,11 @@
"particle_effects": {
"description": "The effects to be emitted",
"type": "array",
"items": { "$ref": "#/definitions/particle_effect_spec", "description": "TODO description: particle effects", "title": "Particle Effects" },
"items": {
"$ref": "#/definitions/particle_effect_spec",
"description": "TODO description: particle effects",
"title": "Particle Effects"
},
"title": "Particle Effects"
},
"sound_effects": {
@@ -117,7 +127,12 @@
"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" } }
"properties": {
"effect": {
"description": "Valid sound effect names should be listed in the entity's resource_definition json file.",
"type": "string"
}
}
}
},
"transitions": {
@@ -125,7 +140,11 @@
"description": "The transition definition for 1.8.0",
"minProperties": 1,
"type": "array",
"items": { "$ref": "#/definitions/animationspec", "description": "The specification on when to transition to a new state", "title": "Transitions" }
"items": {
"$ref": "#/definitions/animationspec",
"description": "The specification on when to transition to a new state",
"title": "Transitions"
}
},
"variables": {
"type": "object",
@@ -133,7 +152,10 @@
"additionalProperties": false,
"type": "object",
"required": ["input"],
"properties": { "input": { "$ref": "../../../molang/1.8.0/number.json" }, "remap_curve": { "additionalProperties": { "type": "number" } } }
"properties": {
"input": { "$ref": "../../../molang/1.8.0/number.json" },
"remap_curve": { "additionalProperties": { "type": "number" } }
}
}
},
"on_entry": {

View File

@@ -16,7 +16,10 @@
],
"allOf": [
{ "if": { "properties": { "format_version": { "type": "string", "const": "1.8.0" } } }, "then": { "$ref": "./1.8.0/animation_controller.json" } },
{ "if": { "properties": { "format_version": { "type": "string", "const": "1.10.0" } } }, "then": { "$ref": "./1.10.0/animation_controller.json" } },
{
"if": { "properties": { "format_version": { "type": "string", "const": "1.10.0" } } },
"then": { "$ref": "./1.10.0/animation_controller.json" }
},
{ "properties": { "format_version": { "$ref": "../../general/format_version.json" } } }
]
}

View File

@@ -32,9 +32,21 @@
"description": "An array of 3 items that describe the bones position",
"type": "array",
"items": [
{ "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" },
{ "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" },
{ "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" }
{
"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"
},
{
"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"
},
{
"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"
}
]
},
"RotationV3": {
@@ -42,9 +54,21 @@
"description": "An array of 3 items that describe the bones rotation",
"type": "array",
"items": [
{ "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" },
{ "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" },
{ "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" }
{
"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"
},
{
"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"
},
{
"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"
}
]
},
"ScaleV3": {
@@ -52,16 +76,34 @@
"description": "An array of 3 items that describe the bones position",
"type": "array",
"items": [
{ "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" },
{ "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" },
{ "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" }
{
"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"
},
{
"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"
},
{
"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"
}
]
},
"SoundEffect": {
"title": "Sound Effect",
"type": "object",
"additionalProperties": false,
"properties": { "effect": { "title": "Effect", "type": "string", "description": "Valid sound effect names should be listed in the entity's resource_definition json file." } }
"properties": {
"effect": {
"title": "Effect",
"type": "string",
"description": "Valid sound effect names should be listed in the entity's resource_definition json file."
}
}
}
},
"required": ["format_version", "animations"],
@@ -153,7 +195,11 @@
"title": "Relative To",
"description": "If set, makes the bone rotation relative to the entity instead of the bone's parent",
"properties": {
"rotation": { "title": "Rotation", "description": "If set, makes the bone rotation relative to the entity instead of the bone's parent", "type": "string" }
"rotation": {
"title": "Rotation",
"description": "If set, makes the bone rotation relative to the entity instead of the bone's parent",
"type": "string"
}
}
},
"scale": {

View File

@@ -32,9 +32,21 @@
"description": "An array of 3 items that describe the bones position",
"type": "array",
"items": [
{ "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" },
{ "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" },
{ "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" }
{
"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"
},
{
"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"
},
{
"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"
}
]
},
"RotationV3": {
@@ -42,9 +54,21 @@
"description": "An array of 3 items that describe the bones rotation",
"type": "array",
"items": [
{ "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" },
{ "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" },
{ "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" }
{
"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"
},
{
"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"
},
{
"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"
}
]
},
"ScaleV3": {
@@ -52,16 +76,34 @@
"description": "An array of 3 items that describe the bones position",
"type": "array",
"items": [
{ "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" },
{ "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" },
{ "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" }
{
"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"
},
{
"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"
},
{
"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"
}
]
},
"SoundEffect": {
"title": "Sound Effect",
"type": "object",
"additionalProperties": false,
"properties": { "effect": { "title": "Effect", "type": "string", "description": "Valid sound effect names should be listed in the entity's resource_definition json file." } }
"properties": {
"effect": {
"title": "Effect",
"type": "string",
"description": "Valid sound effect names should be listed in the entity's resource_definition json file."
}
}
}
},
"required": ["format_version", "animations"],
@@ -153,7 +195,11 @@
"title": "Relative To",
"description": "If set, makes the bone rotation relative to the entity instead of the bone's parent",
"properties": {
"rotation": { "title": "Rotation", "description": "If set, makes the bone rotation relative to the entity instead of the bone's parent", "type": "string" }
"rotation": {
"title": "Rotation",
"description": "If set, makes the bone rotation relative to the entity instead of the bone's parent",
"type": "string"
}
}
},
"scale": {

View File

@@ -34,7 +34,11 @@
"type": "array",
"additionalProperties": {
"type": "object",
"additionalProperties": { "type": "string", "description": "A single Animation controller reference", "title": "Animation Controller Reference" },
"additionalProperties": {
"type": "string",
"description": "A single Animation controller reference",
"title": "Animation Controller Reference"
},
"description": "A collection of animation controller references",
"title": "TODO"
},
@@ -50,8 +54,18 @@
"additionalProperties": { "type": "string", "description": "A single geometry reference", "title": "Geometry" },
"description": "The geometry specification"
},
"identifier": { "type": "string", "description": "TODO description: identifier", "title": "Identifier", "$ref": "../../../general/item/identifier.json" },
"item": { "type": "object", "title": "Item", "description": "TODO", "additionalProperties": { "type": "string", "title": "TODO", "description": "TODO" } },
"identifier": {
"type": "string",
"description": "TODO description: identifier",
"title": "Identifier",
"$ref": "../../../general/item/identifier.json"
},
"item": {
"type": "object",
"title": "Item",
"description": "TODO",
"additionalProperties": { "type": "string", "title": "TODO", "description": "TODO" }
},
"materials": {
"type": "object",
"additionalProperties": { "type": "string", "description": "A single material reference", "title": "Material" },
@@ -115,15 +129,30 @@
"type": "array",
"description": "TODO description: initialize",
"title": "Initialize",
"items": { "pattern": ";$", "$ref": "../../../molang/1.8.0/number.json", "description": "TODO description: initialize", "title": "Initialize" }
"items": {
"pattern": ";$",
"$ref": "../../../molang/1.8.0/number.json",
"description": "TODO description: initialize",
"title": "Initialize"
}
},
"pre_animation": {
"type": "array",
"description": "TODO description: pre aninamtion",
"title": "Pre Animation",
"items": { "pattern": ";$", "$ref": "../../../molang/1.8.0/number.json", "description": "TODO description: pre aninamtion", "title": "Pre Animation" }
"items": {
"pattern": ";$",
"$ref": "../../../molang/1.8.0/number.json",
"description": "TODO description: pre aninamtion",
"title": "Pre Animation"
}
},
"parent_setup": {
"type": "string",
"description": "TODO description: parent setup",
"title": "Parent Setup",
"$ref": "../../../molang/1.8.0/number.json"
},
"parent_setup": { "type": "string", "description": "TODO description: parent setup", "title": "Parent Setup", "$ref": "../../../molang/1.8.0/number.json" },
"scale": { "type": "string", "description": "TODO description: scale", "title": "Scale", "$ref": "../../../molang/1.8.0/number.json" }
}
},
@@ -138,7 +167,12 @@
"type": "object",
"description": "TODO description: spawn egg",
"title": "Spawn Egg",
"dependencies": { "texture": ["texture_index"], "texture_index": ["texture"], "base_colour": ["overlay_color"], "overlay_color": ["base_colour"] },
"dependencies": {
"texture": ["texture_index"],
"texture_index": ["texture"],
"base_colour": ["overlay_color"],
"overlay_color": ["base_colour"]
},
"properties": {
"base_colour": { "type": "string", "description": "TODO description: base colour", "title": "Base Colour" },
"overlay_color": { "type": "string", "description": "TODO description: overlay color", "title": "Overlay Color" },

View File

@@ -52,15 +52,30 @@
"additionalProperties": { "type": "string", "description": "TODO description: additionalProperties", "title": "TODO" },
"description": "TODO description: geometry"
},
"identifier": { "type": "string", "description": "TODO description: identifier", "title": "Identifier", "$ref": "../../../general/item/identifier.json" },
"item": { "type": "object", "title": "Item", "description": "TODO", "additionalProperties": { "type": "string", "title": "TODO", "description": "TODO" } },
"identifier": {
"type": "string",
"description": "TODO description: identifier",
"title": "Identifier",
"$ref": "../../../general/item/identifier.json"
},
"item": {
"type": "object",
"title": "Item",
"description": "TODO",
"additionalProperties": { "type": "string", "title": "TODO", "description": "TODO" }
},
"materials": {
"type": "object",
"description": "TODO description: materials",
"title": "Materials",
"additionalProperties": { "type": "string", "description": "TODO description: additionalProperties", "title": "TODO" }
},
"min_engine_version": { "type": "string", "pattern": "[0-9]+\\.[0-9]+\\.[0-9]+", "description": "TODO description: min engine version", "title": "Min Engine Version" },
"min_engine_version": {
"type": "string",
"pattern": "[0-9]+\\.[0-9]+\\.[0-9]+",
"description": "TODO description: min engine version",
"title": "Min Engine Version"
},
"particle_effects": {
"type": "object",
"minProperties": 1,
@@ -93,7 +108,12 @@
"type": "object",
"description": "TODO description: spawn egg",
"title": "Spawn Egg",
"dependencies": { "texture": ["texture_index"], "texture_index": ["texture"], "base_colour": ["overlay_color"], "overlay_color": ["base_colour"] },
"dependencies": {
"texture": ["texture_index"],
"texture_index": ["texture"],
"base_colour": ["overlay_color"],
"overlay_color": ["base_colour"]
},
"properties": {
"base_colour": { "type": "string", "description": "TODO description: base colour", "title": "Base Colour" },
"overlay_color": { "type": "string", "description": "TODO description: overlay color", "title": "Overlay Color" },
@@ -106,7 +126,12 @@
"properties": {
"pre_animation": {
"type": "array",
"items": { "pattern": ";$", "$ref": "../../../molang/1.8.0/number.json", "description": "TODO description: pre aninamtion", "title": "Pre Animation" },
"items": {
"pattern": ";$",
"$ref": "../../../molang/1.8.0/number.json",
"description": "TODO description: pre aninamtion",
"title": "Pre Animation"
},
"description": "TODO description: pre aninamtion",
"title": "Pre Animation"
},

View File

@@ -13,11 +13,19 @@
"type": "object",
"properties": {
"fog_color": { "$ref": "#/definitions/colorhex", "title": "Fog Color", "description": "The color of the fog" },
"fog_identifier": { "title": "Fog Identifier", "description": "The fog to be associated to this biome", "$ref": "../general/fog/identifier.json" },
"fog_identifier": {
"title": "Fog Identifier",
"description": "The fog to be associated to this biome",
"$ref": "../general/fog/identifier.json"
},
"water_fog_color": { "$ref": "#/definitions/colorhex", "title": "Water Fog Color", "description": "The color of the water fog" },
"water_fog_distance": { "type": "integer", "title": "Water Fog Distance", "description": "The distance the water fog start at" },
"water_surface_color": { "$ref": "#/definitions/colorhex", "title": "Water Surface Color", "description": "The color of the water surface" },
"water_surface_transparency": { "type": "number", "title": "Water Surface Transparency", "description": "The amount of transpareny the surface of the water has" }
"water_surface_transparency": {
"type": "number",
"title": "Water Surface Transparency",
"description": "The amount of transpareny the surface of the water has"
}
}
},
"colorhex": { "description": "The colouration of this object", "title": "Colorhex", "format": "color-hex" }

View File

@@ -26,7 +26,12 @@
},
"propertyNames": { "pattern": "^[\\w_\\-:]+$" },
"properties": {
"format_version": { "type": "array", "items": [{ "type": "integer" }, { "type": "integer" }, { "type": "integer" }], "description": "TODO description", "title": "TODO Title" }
"format_version": {
"type": "array",
"items": [{ "type": "integer" }, { "type": "integer" }, { "type": "integer" }],
"description": "TODO description",
"title": "TODO Title"
}
},
"additionalProperties": {
"additionalProperties": false,

View File

@@ -46,14 +46,24 @@
"minProperties": 1,
"additionalProperties": { "type": "string", "description": "The reference to the geometry", "title": "Geometry Reference" }
},
"identifier": { "type": "string", "description": "The entity indentifier", "title": "Identifier", "$ref": "../../../general/item/identifier.json" },
"identifier": {
"type": "string",
"description": "The entity indentifier",
"title": "Identifier",
"$ref": "../../../general/item/identifier.json"
},
"materials": {
"type": "object",
"additionalProperties": { "type": "string", "description": "TODO description: additionalProperties", "title": "TODO" },
"description": "TODO description: materials",
"title": "Materials"
},
"min_engine_version": { "type": "string", "pattern": "[0-9]+\\.[0-9]+\\.[0-9]+", "description": "TODO description: min engine version", "title": "Min Engine Version" },
"min_engine_version": {
"type": "string",
"pattern": "[0-9]+\\.[0-9]+\\.[0-9]+",
"description": "TODO description: min engine version",
"title": "Min Engine Version"
},
"particle_effects": {
"type": "object",
"minProperties": 1,
@@ -76,7 +86,10 @@
"items": {
"oneOf": [
{ "type": "string" },
{ "type": "object", "additionalProperties": { "type": "string", "description": "A render controller", "title": "Render Controller" } }
{
"type": "object",
"additionalProperties": { "type": "string", "description": "A render controller", "title": "Render Controller" }
}
]
}
},
@@ -132,8 +145,18 @@
"title": "Pre Animation"
}
},
"parent_setup": { "type": "string", "description": "TODO description: parent setup", "title": "Parent Setup", "$ref": "../../../molang/1.8.0/number.json" },
"scale": { "type": "string", "description": "TODO description: scale", "title": "Scale", "$ref": "../../../molang/1.8.0/number.json" },
"parent_setup": {
"type": "string",
"description": "TODO description: parent setup",
"title": "Parent Setup",
"$ref": "../../../molang/1.8.0/number.json"
},
"scale": {
"type": "string",
"description": "TODO description: scale",
"title": "Scale",
"$ref": "../../../molang/1.8.0/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" },
@@ -177,7 +200,12 @@
"dependencies": { "texture_index": ["texture"], "base_colour": ["overlay_color"], "overlay_color": ["base_color"] },
"properties": {
"base_color": { "type": "string", "description": "The basic color of the egg", "title": "Base Color", "format": "color-hex" },
"overlay_color": { "type": "string", "description": "The colors of the dots on the egg", "title": "Overlay Color", "format": "color-hex" },
"overlay_color": {
"type": "string",
"description": "The colors of the dots on the egg",
"title": "Overlay Color",
"format": "color-hex"
},
"texture": { "type": "string", "description": "The texture reference in item_texture.json", "title": "Texture" },
"texture_index": { "type": "integer", "description": "The index of the texture", "title": "Texture Index", "default": 0 }
}

View File

@@ -53,14 +53,24 @@
"additionalProperties": { "type": "string", "description": "TODO description: additionalProperties", "title": "TODO" },
"description": "TODO description: geometry"
},
"identifier": { "type": "string", "description": "TODO description: identifier", "title": "Identifier", "$ref": "../../../general/entity/identifier.json" },
"identifier": {
"type": "string",
"description": "TODO description: identifier",
"title": "Identifier",
"$ref": "../../../general/entity/identifier.json"
},
"materials": {
"type": "object",
"description": "TODO description: materials",
"title": "Materials",
"additionalProperties": { "type": "string", "description": "TODO description: additionalProperties", "title": "TODO" }
},
"min_engine_version": { "type": "string", "pattern": "[0-9]+\\.[0-9]+\\.[0-9]+", "description": "TODO description: min engine version", "title": "Min Engine Version" },
"min_engine_version": {
"type": "string",
"pattern": "[0-9]+\\.[0-9]+\\.[0-9]+",
"description": "TODO description: min engine version",
"title": "Min Engine Version"
},
"particle_effects": {
"type": "object",
"minProperties": 1,
@@ -97,7 +107,12 @@
"dependencies": { "texture_index": ["texture"], "base_colour": ["overlay_color"], "overlay_color": ["base_color"] },
"properties": {
"base_color": { "type": "string", "description": "The basic color of the egg", "title": "Base Color", "format": "color-hex" },
"overlay_color": { "type": "string", "description": "The colors of the dots on the egg", "title": "Overlay Color", "format": "color-hex" },
"overlay_color": {
"type": "string",
"description": "The colors of the dots on the egg",
"title": "Overlay Color",
"format": "color-hex"
},
"texture": { "type": "string", "description": "The texture reference in item_texture.json", "title": "Texture" },
"texture_index": { "type": "integer", "description": "The index of the texture", "title": "Texture Index", "default": 0 }
}

View File

@@ -81,8 +81,16 @@
"type": "object",
"additionalProperties": false,
"properties": {
"absorption": { "title": "Absorption", "description": "Proportion of light that is absorbed (lost) per block.", "$ref": "#/definitions/colorHexOrArray" },
"scattering": { "title": "Scattering", "description": "Proportion of light that is scattered per block.", "$ref": "#/definitions/colorHexOrArray" }
"absorption": {
"title": "Absorption",
"description": "Proportion of light that is absorbed (lost) per block.",
"$ref": "#/definitions/colorHexOrArray"
},
"scattering": {
"title": "Scattering",
"description": "Proportion of light that is scattered per block.",
"$ref": "#/definitions/colorHexOrArray"
}
}
}
},
@@ -131,7 +139,11 @@
"description": "The fog settings when the camera is in lava and the player has the lava resistance effect active.",
"$ref": "#/definitions/defaultFogSettings"
},
"powder_snow": { "title": "Powder Snow", "description": "The fog settings when the camera is inside a Powder Snow block.", "$ref": "#/definitions/defaultFogSettings" }
"powder_snow": {
"title": "Powder Snow",
"description": "The fog settings when the camera is inside a Powder Snow block.",
"$ref": "#/definitions/defaultFogSettings"
}
}
},
"volumetric": {
@@ -146,9 +158,21 @@
"type": "object",
"additionalProperties": false,
"properties": {
"air": { "title": "Air", "description": "Fog density values as light passes through air blocks.", "$ref": "#/definitions/volumeDensityObject" },
"water": { "title": "Water", "description": "Fog density values as light passes through water blocks.", "$ref": "#/definitions/volumeDensityObject" },
"lava": { "title": "Lava", "description": "Fog density values as light passes through lava blocks.", "$ref": "#/definitions/volumeDensityObject" },
"air": {
"title": "Air",
"description": "Fog density values as light passes through air blocks.",
"$ref": "#/definitions/volumeDensityObject"
},
"water": {
"title": "Water",
"description": "Fog density values as light passes through water blocks.",
"$ref": "#/definitions/volumeDensityObject"
},
"lava": {
"title": "Lava",
"description": "Fog density values as light passes through lava blocks.",
"$ref": "#/definitions/volumeDensityObject"
},
"lava_resistance": {
"title": "Lava Resistance",
"description": "Fog density values as light passes through lava blocks while the player has lava resistance.",
@@ -161,9 +185,21 @@
"description": "The coefficient settings for the volumetric fog in different blocks.",
"additionalProperties": false,
"properties": {
"air": { "title": "Air", "description": "Fog coefficient values while light passes through air.", "$ref": "#/definitions/volumeMediaObject" },
"water": { "title": "Water", "description": "Fog coefficient values while light passes through water.", "$ref": "#/definitions/volumeMediaObject" },
"cloud": { "title": "Cloud", "description": "Fog coefficient values while light passes through clouds.", "$ref": "#/definitions/volumeMediaObject" }
"air": {
"title": "Air",
"description": "Fog coefficient values while light passes through air.",
"$ref": "#/definitions/volumeMediaObject"
},
"water": {
"title": "Water",
"description": "Fog coefficient values while light passes through water.",
"$ref": "#/definitions/volumeMediaObject"
},
"cloud": {
"title": "Cloud",
"description": "Fog coefficient values while light passes through clouds.",
"$ref": "#/definitions/volumeMediaObject"
}
}
}
}

View File

@@ -24,7 +24,12 @@
"type": "object",
"additionalProperties": false,
"properties": {
"identifier": { "title": "Identifier", "description": "The item identifier", "$ref": "../../../general/item/identifier.json", "examples": ["namespace:example"] },
"identifier": {
"title": "Identifier",
"description": "The item identifier",
"$ref": "../../../general/item/identifier.json",
"examples": ["namespace:example"]
},
"category": { "title": "Category", "description": "The category this item belongs in", "type": "string" }
}
},
@@ -34,7 +39,12 @@
"additionalProperties": false,
"properties": {
"minecraft:icon": { "title": "Icon", "description": "The texture defined in `textures/item_texture.json`", "type": "string" },
"minecraft:render_offsets": { "type": "string", "description": "The render offset used for the item", "title": "Render Offsets", "enum": ["apple"] }
"minecraft:render_offsets": {
"type": "string",
"description": "The render offset used for the item",
"title": "Render Offsets",
"enum": ["apple"]
}
}
}
}

View File

@@ -205,7 +205,12 @@
"description": "TODO",
"enum": ["SourceAlpha", "OneMinusSrcAlpha", "OneMinusSrcColor", "SourceColor", "Zero", "One"]
},
"blendSrc": { "type": "string", "title": "Blend Source", "description": "TODO", "enum": ["DestColor", "One", "OneMinusDestColor", "SourceAlpha", "SourceColor"] },
"blendSrc": {
"type": "string",
"title": "Blend Source",
"description": "TODO",
"enum": ["DestColor", "One", "OneMinusDestColor", "SourceAlpha", "SourceColor"]
},
"defines": { "title": "Defines", "description": "TODO, sets or starts definitions???", "$ref": "#/definitions/DefinesSpecification" },
"+defines": { "title": "Defines", "description": "TODO, Add definitions???", "$ref": "#/definitions/DefinesSpecification" },
"-defines": { "title": "Defines", "description": "TODO, removes definitions???", "$ref": "#/definitions/DefinesSpecification" },
@@ -214,11 +219,23 @@
"depthFunc": { "type": "string", "title": "Depth Function", "description": "TODO", "enum": ["LessEqual", "Always", "Equal"] },
"fragmentShader": { "type": "string", "title": "Fragment Shader", "description": "TODO", "pattern": "^shaders/.*\\.fragment$" },
"frontFace": { "title": "Front Face", "description": "TODO", "$ref": "#/definitions/FaceSpecification" },
"isAnimatedTexture": { "type": "integer", "title": "Is Animated Texture", "description": "TODO, think its a boolean value as a number, so 1 and 0????" },
"isAnimatedTexture": {
"type": "integer",
"title": "Is Animated Texture",
"description": "TODO, think its a boolean value as a number, so 1 and 0????"
},
"msaaSupport": { "type": "string", "title": "MSAA Support", "description": "TODO", "enum": ["Both", "MSAA"] },
"primitiveMode": { "type": "string", "title": "Primitive Mode", "description": "TODO", "enum": ["Line"] },
"samplerStates": { "title": "Sampler States", "description": "TODO, set or start samplerStates???", "$ref": "#/definitions/SamplerStatesSpecification" },
"+samplerStates": { "title": "Sampler States", "description": "TODO, Add samplerStates???", "$ref": "#/definitions/SamplerStatesSpecification" },
"samplerStates": {
"title": "Sampler States",
"description": "TODO, set or start samplerStates???",
"$ref": "#/definitions/SamplerStatesSpecification"
},
"+samplerStates": {
"title": "Sampler States",
"description": "TODO, Add samplerStates???",
"$ref": "#/definitions/SamplerStatesSpecification"
},
"slopeScaledDepthBias": { "type": "number", "title": "Slope Scaled Depth Bias", "description": "TODO" },
"slopeScaledDepthBiasOGL": { "type": "number", "title": "Slope Scaled Depth Bias OGL", "description": "TODO" },
"states": { "title": "States", "description": "TODO, start states???", "$ref": "#/definitions/StatesSpecification" },

View File

@@ -64,7 +64,12 @@
"normals": { "type": "array", "items": [{ "type": "number" }, { "type": "number" }, { "type": "number" }] },
"polys": {
"type": "array",
"items": { "type": "array", "minItems": 3, "maxItems": 4, "items": [{ "type": "number" }, { "type": "number" }, { "type": "number" }] }
"items": {
"type": "array",
"minItems": 3,
"maxItems": 4,
"items": [{ "type": "number" }, { "type": "number" }, { "type": "number" }]
}
}
}
},

View File

@@ -16,7 +16,10 @@
"description": "Specifies the uv origin for the face. For this face, it is the upper-left corner, when looking at the face with y being up.",
"$ref": "#/definitions/uv"
},
"uv_size": { "description": "The face maps this many texels from the uv origin. If not specified, the box dimensions are used instead.", "$ref": "#/definitions/uv" },
"uv_size": {
"description": "The face maps this many texels from the uv origin. If not specified, the box dimensions are used instead.",
"$ref": "#/definitions/uv"
},
"material_instance": { "type": "string", "description": "TODO" }
}
}
@@ -54,8 +57,16 @@
"pattern": "^geometry\\.[a-zA-Z0-9_\\-\\.]+$",
"title": "Identifier"
},
"texture_width": { "type": "number", "description": "Assumed width in texels of the texture that will be bound to this geometry.", "title": "Texture Width" },
"texture_height": { "type": "number", "description": "Assumed height in texels of the texture that will be bound to this geometry.", "title": "Texture Height" },
"texture_width": {
"type": "number",
"description": "Assumed width in texels of the texture that will be bound to this geometry.",
"title": "Texture Width"
},
"texture_height": {
"type": "number",
"description": "Assumed height in texels of the texture that will be bound to this geometry.",
"title": "Texture Height"
},
"visible_bounds_offset": {
"description": "Offset of the visibility bounding box from the entity location point (in model space units).",
"title": "Visible Bounds Offset",
@@ -64,8 +75,16 @@
"maxItems": 3,
"items": { "type": "number" }
},
"visible_bounds_width": { "type": "number", "description": "Width of the visibility bounding box (in model space units).", "title": "Visible Bounds Width" },
"visible_bounds_height": { "type": "number", "description": "Height of the visible bounding box (in model space units).", "title": "Visible Bounds Height" }
"visible_bounds_width": {
"type": "number",
"description": "Width of the visibility bounding box (in model space units).",
"title": "Visible Bounds Width"
},
"visible_bounds_height": {
"type": "number",
"description": "Height of the visible bounding box (in model space units).",
"title": "Visible Bounds Height"
}
}
},
"bones": {
@@ -98,7 +117,10 @@
"type": "array",
"minItems": 3,
"maxItems": 3,
"items": { "type": "number", "description": "This point declares the unrotated lower corner of cube (smallest x/y/z value in model space units)." }
"items": {
"type": "number",
"description": "This point declares the unrotated lower corner of cube (smallest x/y/z value in model space units)."
}
},
"pivot": {
"type": "array",
@@ -113,7 +135,10 @@
"type": "array",
"minItems": 3,
"maxItems": 3,
"items": { "type": "number", "description": "The cube is rotated by this amount (in degrees, x-then-y-then-z order) around the pivot." }
"items": {
"type": "number",
"description": "The cube is rotated by this amount (in degrees, x-then-y-then-z order) around the pivot."
}
},
"size": {
"type": "array",
@@ -198,9 +223,15 @@
]
}
},
"mirror": { "type": "boolean", "description": "Mirrors the UV's of the unrotated cubes along the x axis, also causes the east/west faces to get flipped." },
"mirror": {
"type": "boolean",
"description": "Mirrors the UV's of the unrotated cubes along the x axis, also causes the east/west faces to get flipped."
},
"name": { "type": "string", "description": "Animation files refer to this bone via this identifier." },
"parent": { "type": "string", "description": "Bone that this bone is relative to. If the parent bone moves, this bone will move along with it." },
"parent": {
"type": "string",
"description": "Bone that this bone is relative to. If the parent bone moves, this bone will move along with it."
},
"pivot": {
"type": "array",
"minItems": 3,
@@ -295,7 +326,10 @@
"minItems": 3,
"maxItems": 3,
"description": "The bone pivots around this point (in model space units).",
"items": { "type": "number", "description": "This is the initial rotation of the bone around the pivot, pre-animation (in degrees, x-then-y-then-z order)." }
"items": {
"type": "number",
"description": "This is the initial rotation of the bone around the pivot, pre-animation (in degrees, x-then-y-then-z order)."
}
},
"texture_meshes": {
"type": "array",
@@ -309,7 +343,10 @@
"description": "The pivot point on the texture (in *texture space* not entity or bone space) of the texture geometry",
"minItems": 3,
"maxItems": 3,
"items": { "type": "number", "description": "The pivot point on the texture (in *texture space* not entity or bone space) of the texture geometry" }
"items": {
"type": "number",
"description": "The pivot point on the texture (in *texture space* not entity or bone space) of the texture geometry"
}
},
"position": {
"type": "array",

View File

@@ -65,8 +65,16 @@
"pattern": "^geometry\\.[a-zA-Z0-9_\\-\\.]+$",
"title": "Identifier"
},
"texture_width": { "type": "number", "description": "Assumed width in texels of the texture that will be bound to this geometry.", "title": "Texture Width" },
"texture_height": { "type": "number", "description": "Assumed height in texels of the texture that will be bound to this geometry.", "title": "Texture Height" },
"texture_width": {
"type": "number",
"description": "Assumed width in texels of the texture that will be bound to this geometry.",
"title": "Texture Width"
},
"texture_height": {
"type": "number",
"description": "Assumed height in texels of the texture that will be bound to this geometry.",
"title": "Texture Height"
},
"visible_bounds_offset": {
"description": "Offset of the visibility bounding box from the entity location point (in model space units).",
"title": "Visible Bounds Offset",
@@ -75,8 +83,16 @@
"maxItems": 3,
"items": { "type": "number" }
},
"visible_bounds_width": { "type": "number", "description": "Width of the visibility bounding box (in model space units).", "title": "Visible Bounds Width" },
"visible_bounds_height": { "type": "number", "description": "Height of the visible bounding box (in model space units).", "title": "Visible Bounds Height" }
"visible_bounds_width": {
"type": "number",
"description": "Width of the visibility bounding box (in model space units).",
"title": "Visible Bounds Width"
},
"visible_bounds_height": {
"type": "number",
"description": "Height of the visible bounding box (in model space units).",
"title": "Visible Bounds Height"
}
}
},
"bones": {
@@ -109,7 +125,10 @@
"type": "array",
"minItems": 3,
"maxItems": 3,
"items": { "type": "number", "description": "This point declares the unrotated lower corner of cube (smallest x/y/z value in model space units)." }
"items": {
"type": "number",
"description": "This point declares the unrotated lower corner of cube (smallest x/y/z value in model space units)."
}
},
"pivot": {
"type": "array",
@@ -138,16 +157,31 @@
"type": "array",
"minItems": 3,
"maxItems": 3,
"items": { "type": "number", "description": "The cube is rotated by this amount (in degrees, x-then-y-then-z order) around the pivot." }
"items": {
"type": "number",
"description": "The cube is rotated by this amount (in degrees, x-then-y-then-z order) around the pivot."
}
},
"size": {
"title": "Size",
"type": "array",
"description": "The cube extends this amount relative to its origin (in model space units).",
"items": [
{ "type": "number", "title": "X", "description": "The cube extends this amount relative to its origin (in model space units)." },
{ "type": "number", "title": "Y", "description": "The cube extends this amount relative to its origin (in model space units)." },
{ "type": "number", "title": "Z", "description": "The cube extends this amount relative to its origin (in model space units)." }
{
"type": "number",
"title": "X",
"description": "The cube extends this amount relative to its origin (in model space units)."
},
{
"type": "number",
"title": "Y",
"description": "The cube extends this amount relative to its origin (in model space units)."
},
{
"type": "number",
"title": "Z",
"description": "The cube extends this amount relative to its origin (in model space units)."
}
]
},
"uv": {
@@ -345,7 +379,10 @@
"minItems": 3,
"maxItems": 3,
"description": "The bone pivots around this point (in model space units).",
"items": { "type": "number", "description": "This is the initial rotation of the bone around the pivot, pre-animation (in degrees, x-then-y-then-z order)." }
"items": {
"type": "number",
"description": "This is the initial rotation of the bone around the pivot, pre-animation (in degrees, x-then-y-then-z order)."
}
},
"texture_meshes": {
"type": "array",
@@ -360,7 +397,10 @@
"description": "The pivot point on the texture (in *texture space* not entity or bone space) of the texture geometry",
"minItems": 3,
"maxItems": 3,
"items": { "type": "number", "description": "The pivot point on the texture (in *texture space* not entity or bone space) of the texture geometry" }
"items": {
"type": "number",
"description": "The pivot point on the texture (in *texture space* not entity or bone space) of the texture geometry"
}
},
"position": {
"type": "array",

View File

@@ -65,8 +65,16 @@
"pattern": "^geometry\\.[a-zA-Z0-9_\\-\\.]+$",
"title": "Identifier"
},
"texture_width": { "type": "number", "description": "Assumed width in texels of the texture that will be bound to this geometry.", "title": "Texture Width" },
"texture_height": { "type": "number", "description": "Assumed height in texels of the texture that will be bound to this geometry.", "title": "Texture Height" },
"texture_width": {
"type": "number",
"description": "Assumed width in texels of the texture that will be bound to this geometry.",
"title": "Texture Width"
},
"texture_height": {
"type": "number",
"description": "Assumed height in texels of the texture that will be bound to this geometry.",
"title": "Texture Height"
},
"visible_bounds_offset": {
"title": "Visible Bounds Offset",
"description": "Offset of the visibility bounding box from the entity location point (in model space units).",
@@ -75,8 +83,16 @@
"maxItems": 3,
"items": { "type": "number" }
},
"visible_bounds_width": { "type": "number", "title": "Visible Bounds Width", "description": "Width of the visibility bounding box (in model space units)." },
"visible_bounds_height": { "type": "number", "title": "Visible Bounds Height", "description": "Height of the visible bounding box (in model space units)." }
"visible_bounds_width": {
"type": "number",
"title": "Visible Bounds Width",
"description": "Width of the visibility bounding box (in model space units)."
},
"visible_bounds_height": {
"type": "number",
"title": "Visible Bounds Height",
"description": "Height of the visible bounding box (in model space units)."
}
}
},
"bones": {
@@ -115,7 +131,10 @@
"type": "array",
"minItems": 3,
"maxItems": 3,
"items": { "type": "number", "description": "This point declares the unrotated lower corner of cube (smallest x/y/z value in model space units)." }
"items": {
"type": "number",
"description": "This point declares the unrotated lower corner of cube (smallest x/y/z value in model space units)."
}
},
"pivot": {
"type": "array",
@@ -144,16 +163,31 @@
"type": "array",
"minItems": 3,
"maxItems": 3,
"items": { "type": "number", "description": "The cube is rotated by this amount (in degrees, x-then-y-then-z order) around the pivot." }
"items": {
"type": "number",
"description": "The cube is rotated by this amount (in degrees, x-then-y-then-z order) around the pivot."
}
},
"size": {
"title": "Size",
"type": "array",
"description": "The cube extends this amount relative to its origin (in model space units).",
"items": [
{ "type": "number", "title": "X", "description": "The cube extends this amount relative to its origin (in model space units)." },
{ "type": "number", "title": "Y", "description": "The cube extends this amount relative to its origin (in model space units)." },
{ "type": "number", "title": "Z", "description": "The cube extends this amount relative to its origin (in model space units)." }
{
"type": "number",
"title": "X",
"description": "The cube extends this amount relative to its origin (in model space units)."
},
{
"type": "number",
"title": "Y",
"description": "The cube extends this amount relative to its origin (in model space units)."
},
{
"type": "number",
"title": "Z",
"description": "The cube extends this amount relative to its origin (in model space units)."
}
]
},
"uv": {
@@ -373,7 +407,10 @@
"description": "The pivot point on the texture (in *texture space* not entity or bone space) of the texture geometry",
"minItems": 3,
"maxItems": 3,
"items": { "type": "number", "description": "The pivot point on the texture (in *texture space* not entity or bone space) of the texture geometry" }
"items": {
"type": "number",
"description": "The pivot point on the texture (in *texture space* not entity or bone space) of the texture geometry"
}
},
"position": {
"type": "array",

View File

@@ -6,7 +6,13 @@
"format_version": "1.16.0",
"minecraft:geometry": [
{
"description": { "identifier": "geometry.entity", "texture_width": 64.0, "texture_height": 64.0, "visible_bounds_offset": [0.0, 0.5, 0.0], "visible_bounds_width": 1.5 },
"description": {
"identifier": "geometry.entity",
"texture_width": 64.0,
"texture_height": 64.0,
"visible_bounds_offset": [0.0, 0.5, 0.0],
"visible_bounds_width": 1.5
},
"bones": {}
}
]

View File

@@ -6,7 +6,15 @@
"title": "Emitter Initialization Component For 1.10.0",
"additionalProperties": false,
"properties": {
"creation_expression": { "$ref": "../../../../molang/1.8.0/string.json", "description": "This is run once at emitter startup.", "title": "Creation Expression" },
"per_update_expression": { "$ref": "../../../../molang/1.8.0/string.json", "description": "This is run once per emitter update.", "title": "Per Update Expression" }
"creation_expression": {
"$ref": "../../../../molang/1.8.0/string.json",
"description": "This is run once at emitter startup.",
"title": "Creation Expression"
},
"per_update_expression": {
"$ref": "../../../../molang/1.8.0/string.json",
"description": "This is run once per emitter update.",
"title": "Per Update Expression"
}
}
}

View File

@@ -4,6 +4,12 @@
"type": "object",
"title": "Emitter Lifetime Once Component For 1.10.0",
"additionalProperties": false,
"properties": { "active_time": { "$ref": "../../../../molang/1.8.0/number.json", "description": "How long the particles emit for evaluated once", "title": "Active Time" } },
"properties": {
"active_time": {
"$ref": "../../../../molang/1.8.0/number.json",
"description": "How long the particles emit for evaluated once",
"title": "Active Time"
}
},
"description": "TODO description: "
}

View File

@@ -4,6 +4,12 @@
"type": "object",
"title": "Emitter Rate Manual Component For 1.10.0",
"additionalProperties": false,
"properties": { "max_particles": { "$ref": "../../../../molang/1.8.0/number.json", "description": "Evaluated once per particle emitted", "title": "Max Particles" } },
"properties": {
"max_particles": {
"$ref": "../../../../molang/1.8.0/number.json",
"description": "Evaluated once per particle emitted",
"title": "Max Particles"
}
},
"description": "TODO description: "
}

View File

@@ -17,13 +17,25 @@
"radius": { "$ref": "../../../../molang/1.8.0/number.json", "description": "TODO description: radius", "title": "Radius" },
"offset": {
"type": "array",
"items": { "minItems": 3, "maxItems": 3, "$ref": "../../../../molang/1.8.0/number.json", "description": "TODO description: offset", "title": "Offset" },
"items": {
"minItems": 3,
"maxItems": 3,
"$ref": "../../../../molang/1.8.0/number.json",
"description": "TODO description: offset",
"title": "Offset"
},
"description": "TODO description",
"title": "TODO Title"
},
"half_dimensions": {
"type": "array",
"items": { "minItems": 3, "maxItems": 3, "$ref": "../../../../molang/1.8.0/number.json", "description": "TODO description: half dimensions", "title": "Half Dimensions" },
"items": {
"minItems": 3,
"maxItems": 3,
"$ref": "../../../../molang/1.8.0/number.json",
"description": "TODO description: half dimensions",
"title": "Half Dimensions"
},
"description": "TODO description: half dimensions",
"title": "Half Dimensions"
},

View File

@@ -7,13 +7,25 @@
"properties": {
"direction": {
"type": "array",
"items": { "minItems": 3, "maxItems": 3, "$ref": "../../../../molang/1.8.0/number.json", "description": "TODO description: direction", "title": "Direction" },
"items": {
"minItems": 3,
"maxItems": 3,
"$ref": "../../../../molang/1.8.0/number.json",
"description": "TODO description: direction",
"title": "Direction"
},
"description": "TODO description: direction",
"title": "Direction"
},
"offset": {
"type": "array",
"items": { "minItems": 3, "maxItems": 3, "$ref": "../../../../molang/1.8.0/number.json", "description": "TODO description: offset", "title": "Offset" },
"items": {
"minItems": 3,
"maxItems": 3,
"$ref": "../../../../molang/1.8.0/number.json",
"description": "TODO description: offset",
"title": "Offset"
},
"description": "TODO description: offset",
"title": "Offset"
}

View File

@@ -16,7 +16,13 @@
"radius": { "$ref": "../../../../molang/1.8.0/number.json", "description": "TODO description: radius", "title": "Radius" },
"offset": {
"type": "array",
"items": { "minItems": 3, "maxItems": 3, "$ref": "../../../../molang/1.8.0/number.json", "description": "TODO description: offset", "title": "Offset" },
"items": {
"minItems": 3,
"maxItems": 3,
"$ref": "../../../../molang/1.8.0/number.json",
"description": "TODO description: offset",
"title": "Offset"
},
"description": "TODO description",
"title": "TODO Title"
},
@@ -28,7 +34,11 @@
{ "type": "string", "enum": ["x", "y", "z"] },
{
"type": "array",
"items": [{ "$ref": "../../../../molang/1.8.0/number.json" }, { "$ref": "../../../../molang/1.8.0/number.json" }, { "$ref": "../../../../molang/1.8.0/number.json" }]
"items": [
{ "$ref": "../../../../molang/1.8.0/number.json" },
{ "$ref": "../../../../molang/1.8.0/number.json" },
{ "$ref": "../../../../molang/1.8.0/number.json" }
]
}
]
},

View File

@@ -10,7 +10,13 @@
{ "type": "string", "enum": ["inwards", "outwards"], "description": "TODO description: Todo", "title": "Todo" },
{
"type": "array",
"items": { "minItems": 3, "maxItems": 3, "$ref": "../../../../molang/1.8.0/number.json", "description": "TODO description: Todo", "title": "Todo" },
"items": {
"minItems": 3,
"maxItems": 3,
"$ref": "../../../../molang/1.8.0/number.json",
"description": "TODO description: Todo",
"title": "Todo"
},
"description": "TODO description: Todo",
"title": "Todo"
}
@@ -20,7 +26,13 @@
},
"offset": {
"type": "array",
"items": { "minItems": 3, "maxItems": 3, "$ref": "../../../../molang/1.8.0/number.json", "description": "TODO description: offset", "title": "Offset" },
"items": {
"minItems": 3,
"maxItems": 3,
"$ref": "../../../../molang/1.8.0/number.json",
"description": "TODO description: offset",
"title": "Offset"
},
"description": "TODO description",
"title": "TODO Title"
}

View File

@@ -7,13 +7,25 @@
"properties": {
"direction": {
"type": "array",
"items": { "minItems": 3, "maxItems": 3, "$ref": "../../../../molang/1.8.0/number.json", "description": "TODO description: direction", "title": "Direction" },
"items": {
"minItems": 3,
"maxItems": 3,
"$ref": "../../../../molang/1.8.0/number.json",
"description": "TODO description: direction",
"title": "Direction"
},
"description": "TODO description: direction",
"title": "Direction"
},
"offset": {
"type": "array",
"items": { "minItems": 3, "maxItems": 3, "$ref": "../../../../molang/1.8.0/number.json", "description": "TODO description: offset", "title": "Offset" },
"items": {
"minItems": 3,
"maxItems": 3,
"$ref": "../../../../molang/1.8.0/number.json",
"description": "TODO description: offset",
"title": "Offset"
},
"description": "TODO description",
"title": "TODO Title"
}

View File

@@ -10,7 +10,13 @@
{ "type": "string", "enum": ["inwards", "outwards"], "description": "TODO description: Todo", "title": "Todo" },
{
"type": "array",
"items": { "minItems": 3, "maxItems": 3, "$ref": "../../../../molang/1.8.0/number.json", "description": "TODO description: Todo", "title": "Todo" },
"items": {
"minItems": 3,
"maxItems": 3,
"$ref": "../../../../molang/1.8.0/number.json",
"description": "TODO description: Todo",
"title": "Todo"
},
"description": "TODO description: Todo",
"title": "Todo"
}
@@ -20,7 +26,13 @@
},
"offset": {
"type": "array",
"items": { "minItems": 3, "maxItems": 3, "$ref": "../../../../molang/1.8.0/number.json", "description": "TODO description: offset", "title": "Offset" },
"items": {
"minItems": 3,
"maxItems": 3,
"$ref": "../../../../molang/1.8.0/number.json",
"description": "TODO description: offset",
"title": "Offset"
},
"description": "TODO description",
"title": "TODO Title"
},

View File

@@ -54,7 +54,11 @@
"description": "TODO description: step UV",
"title": "Step U V"
},
"frames_per_second": { "$ref": "../../../../molang/1.8.0/number.json", "description": "TODO description: frames per second", "title": "Frames Per Second" },
"frames_per_second": {
"$ref": "../../../../molang/1.8.0/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" },
"stretch_to_lifetime": { "type": "boolean", "description": "TODO description: stretch to lifetime", "title": "Stretch To Lifetime" },
"loop": { "type": "boolean", "description": "TODO description: loop", "title": "Loop" }

View File

@@ -19,7 +19,11 @@
"gradient": {
"title": "Gradient",
"oneOf": [
{ "description": "An array of colors", "type": "array", "items": { "type": "string", "description": "Color", "title": "Color", "format": "color-hex" } },
{
"description": "An array of colors",
"type": "array",
"items": { "type": "string", "description": "Color", "title": "Color", "format": "color-hex" }
},
{
"description": "An object of colors",
"type": "object",

View File

@@ -7,6 +7,10 @@
"type": "object",
"properties": {
"rotation": { "$ref": "../../../../molang/1.8.0/number.json", "description": "Specifies the initial rotation in degrees", "title": "Rotation" },
"rotation_rate": { "$ref": "../../../../molang/1.8.0/number.json", "description": "Specifies the spin rate in degrees/second", "title": "Rotation Rate" }
"rotation_rate": {
"$ref": "../../../../molang/1.8.0/number.json",
"description": "Specifies the spin rate in degrees/second",
"title": "Rotation Rate"
}
}
}

View File

@@ -5,8 +5,16 @@
"title": "Particle Initialization Component For 1.10.0",
"additionalProperties": false,
"properties": {
"per_update_expression": { "$ref": "../../../../molang/1.8.0/number.json", "description": "TODO description: per update expression", "title": "Per Update Expression" },
"per_render_expression": { "$ref": "../../../../molang/1.8.0/number.json", "description": "TODO description: per render expression", "title": "Per Render Expression" }
"per_update_expression": {
"$ref": "../../../../molang/1.8.0/number.json",
"description": "TODO description: per update expression",
"title": "Per Update Expression"
},
"per_render_expression": {
"$ref": "../../../../molang/1.8.0/number.json",
"description": "TODO description: per render expression",
"title": "Per Render Expression"
}
},
"description": "TODO description: "
}

View File

@@ -6,7 +6,11 @@
"additionalProperties": false,
"properties": {
"collision_drag": { "type": "number", "description": "TODO description: collision drag", "title": "Collision Drag" },
"coefficient_of_restitution": { "type": "number", "description": "TODO description: coefficient of restitution", "title": "Coefficient Of Restitution" },
"coefficient_of_restitution": {
"type": "number",
"description": "TODO description: coefficient of restitution",
"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" },
"expire_on_contact": { "type": "boolean", "description": "TODO description: expire on contact", "title": "Expire On Contact" },

View File

@@ -27,6 +27,11 @@
"title": "Rotation Acceleration",
"default": 0
},
"rotation_drag_coefficient": { "$ref": "../../../../molang/1.8.0/number.json", "description": "Drag applied to rotation", "title": "Rotation Drag Coefficient", "default": 0 }
"rotation_drag_coefficient": {
"$ref": "../../../../molang/1.8.0/number.json",
"description": "Drag applied to rotation",
"title": "Rotation Drag Coefficient",
"default": 0
}
}
}

View File

@@ -19,12 +19,22 @@
"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" },
"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",
@@ -51,10 +61,19 @@
"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": {} } }
{
"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"] },
"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" }
}
}

View File

@@ -18,7 +18,12 @@
"additionalProperties": false,
"type": "object",
"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"
}
},
"description": "TODO description: description",
"title": "Description"

View File

@@ -5,7 +5,10 @@
{
"format_version": "1.10.0",
"particle_effect": {
"description": { "identifier": "blockception:particle", "basic_render_parameters": { "material": "particles_alpha", "texture": "textures/particle/particle" } },
"description": {
"identifier": "blockception:particle",
"basic_render_parameters": { "material": "particles_alpha", "texture": "textures/particle/particle" }
},
"curves": {},
"components": {}
}

View File

@@ -4,7 +4,9 @@
"examples": [
{
"format_version": "1.8.0",
"render_controllers": { "controller.render.example": { "geometry": "Geometry.default", "materials": [{ "*": "Material.default" }], "textures": ["Texture.default"] } }
"render_controllers": {
"controller.render.example": { "geometry": "Geometry.default", "materials": [{ "*": "Material.default" }], "textures": ["Texture.default"] }
}
}
],
"type": "object",

View File

@@ -58,7 +58,12 @@
"properties": {
"volume": { "$ref": "#/definitions/volume" },
"pitch": { "$ref": "#/definitions/pitch" },
"events": { "type": "object", "title": "Events", "propertyNames": { "pattern": "[a-z\\._]+" }, "additionalProperties": { "$ref": "#/definitions/sound_event" } }
"events": {
"type": "object",
"title": "Events",
"propertyNames": { "pattern": "[a-z\\._]+" },
"additionalProperties": { "$ref": "#/definitions/sound_event" }
}
}
}
},
@@ -91,7 +96,12 @@
"additionalProperties": false,
"properties": {
"defaults": { "$ref": "#/definitions/entity_event" },
"entities": { "type": "object", "title": "Entities", "description": "Entities definitions", "additionalProperties": { "$ref": "#/definitions/entity_event" } }
"entities": {
"type": "object",
"title": "Entities",
"description": "Entities definitions",
"additionalProperties": { "$ref": "#/definitions/entity_event" }
}
}
},
"individual_event_sounds": {
@@ -99,7 +109,9 @@
"title": "Individual Event Sounds",
"description": "Individual event sounds definitions",
"additionalProperties": false,
"properties": { "events": { "type": "object", "title": "Events", "description": "Events", "additionalProperties": { "$ref": "#/definitions/sound_event" } } }
"properties": {
"events": { "type": "object", "title": "Events", "description": "Events", "additionalProperties": { "$ref": "#/definitions/sound_event" } }
}
},
"interactive_sounds": {
"type": "object",

View File

@@ -31,7 +31,13 @@
"sounds": {
"items": {
"anyOf": [
{ "$id": "#/Sound/sounds/stringItem", "type": "string", "$ref": "#/definitions/SoundPath", "description": "TODO description: Todo", "title": "Todo" },
{
"$id": "#/Sound/sounds/stringItem",
"type": "string",
"$ref": "#/definitions/SoundPath",
"description": "TODO description: Todo",
"title": "Todo"
},
{
"additionalItems": false,
"$id": "#/Sound/sounds/ObjectItem",
@@ -40,9 +46,19 @@
"properties": {
"pitch": { "description": "The pitch of the audio, 1 is nomial", "type": "number", "minimum": 0, "maximum": 2, "title": "Pitch" },
"volume": { "description": "The volume of the audio, 1 is nomial", "type": "number", "minimum": 0, "title": "Volume" },
"load_on_low_memory": { "type": "boolean", "description": "Marks if this audio should be loaded or not on low memory", "title": "Load On Low Memory" },
"load_on_low_memory": {
"type": "boolean",
"description": "Marks if this audio should be loaded or not on low memory",
"title": "Load On Low Memory"
},
"stream": { "description": "If marked true then minecraft will stream the audio", "type": "boolean", "title": "Stream" },
"name": { "$id": "#/Sound/sounds/stringItem", "type": "string", "$ref": "#/definitions/SoundPath", "description": "TODO description: name", "title": "Name" }
"name": {
"$id": "#/Sound/sounds/stringItem",
"type": "string",
"$ref": "#/definitions/SoundPath",
"description": "TODO description: name",
"title": "Name"
}
},
"description": "TODO description: Todo",
"title": "Todo"
@@ -70,7 +86,12 @@
"description": "TODO description: sound definitions",
"title": "Sound Definitions"
},
"__use_legacy_max_distance": { "description": "TODO description: use legacy max distance", "title": "Use Legacy Max Distance", "type": "string", "enum": ["true", "false"] }
"__use_legacy_max_distance": {
"description": "TODO description: use legacy max distance",
"title": "Use Legacy Max Distance",
"type": "string",
"enum": ["true", "false"]
}
},
"additionalProperties": false
}

View File

@@ -30,7 +30,13 @@
"sounds": {
"items": {
"anyOf": [
{ "$id": "#/Sound/sounds/stringItem", "type": "string", "$ref": "#/definitions/SoundPath", "description": "TODO description: Todo", "title": "Todo" },
{
"$id": "#/Sound/sounds/stringItem",
"type": "string",
"$ref": "#/definitions/SoundPath",
"description": "TODO description: Todo",
"title": "Todo"
},
{
"additionalItems": false,
"$id": "#/Sound/sounds/ObjectItem",
@@ -38,10 +44,26 @@
"required": ["name"],
"properties": {
"pitch": { "description": "The pitch of the audio, 1 is nomial", "type": "number", "minimum": 0, "maximum": 2, "title": "Pitch" },
"volume": { "description": "The volume of the audio, 1 is nomial", "type": "number", "minimum": 0, "maximum": 2, "title": "Volume" },
"load_on_low_memory": { "type": "boolean", "description": "Marks if this audio should be loaded or not on low memory", "title": "Load On Low Memory" },
"volume": {
"description": "The volume of the audio, 1 is nomial",
"type": "number",
"minimum": 0,
"maximum": 2,
"title": "Volume"
},
"load_on_low_memory": {
"type": "boolean",
"description": "Marks if this audio should be loaded or not on low memory",
"title": "Load On Low Memory"
},
"stream": { "description": "If marked true then minecraft will stream the audio", "type": "boolean", "title": "Stream" },
"name": { "$id": "#/Sound/sounds/stringItem", "type": "string", "$ref": "#/definitions/SoundPath", "description": "TODO description: name", "title": "Name" }
"name": {
"$id": "#/Sound/sounds/stringItem",
"type": "string",
"$ref": "#/definitions/SoundPath",
"description": "TODO description: name",
"title": "Name"
}
},
"description": "TODO description: Todo",
"title": "Todo"

View File

@@ -34,7 +34,10 @@
"additionalProperties": false,
"properties": {
"textures": {
"oneOf": [{ "$ref": "#/definitions/texture" }, { "description": "A collection of textures", "type": "array", "items": { "$ref": "#/definitions/texture" } }]
"oneOf": [
{ "$ref": "#/definitions/texture" },
{ "description": "A collection of textures", "type": "array", "items": { "$ref": "#/definitions/texture" } }
]
}
}
}

View File

@@ -47,7 +47,9 @@
"type": "object",
"title": "Texture Data",
"description": "TODO: add description",
"properties": { "textures": { "oneOf": [{ "$ref": "#/definitions/texture" }, { "type": "array", "items": { "$ref": "#/definitions/texture" } }] } }
"properties": {
"textures": { "oneOf": [{ "$ref": "#/definitions/texture" }, { "type": "array", "items": { "$ref": "#/definitions/texture" } }] }
}
},
"description": "TODO description",
"title": "TODO Title"