Updated
This commit is contained in:
@@ -9,7 +9,7 @@
|
|||||||
"color": {
|
"color": {
|
||||||
"anyOf": [
|
"anyOf": [
|
||||||
{ "type": "number", "description": "A color definition as number, between 0 and 1", "minimum": 0, "maximum": 1, "title": "Color Number" },
|
{ "type": "number", "description": "A color definition as number, between 0 and 1", "minimum": 0, "maximum": 1, "title": "Color Number" },
|
||||||
{ "type": "string", "description": "A color definition in molang", "title": "Molang Color" }
|
{ "type": "string", "description": "A color definition in molang, between 0 and 1", "title": "Molang Color" }
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -21,7 +21,10 @@
|
|||||||
},
|
},
|
||||||
"render_controllers": {
|
"render_controllers": {
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"propertyNames": { "pattern": "^controller\\.render\\.[a-z\\.]+" },
|
"propertyNames": {
|
||||||
|
"pattern": "^controller\\.render\\.[a-z\\.]+",
|
||||||
|
"examples": ["controller.render.example"]
|
||||||
|
},
|
||||||
"additionalProperties": {
|
"additionalProperties": {
|
||||||
"title": "Render Controller",
|
"title": "Render Controller",
|
||||||
"additionalProperties": false,
|
"additionalProperties": false,
|
||||||
@@ -93,10 +96,10 @@
|
|||||||
"additionalProperties": false,
|
"additionalProperties": false,
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
"r": { "$ref": "#/definitions/color", "description": "TODO description: r", "title": "R" },
|
"r": { "$ref": "#/definitions/color", "description": "The value of red, between 0 and 1", "title": "R" },
|
||||||
"g": { "$ref": "#/definitions/color", "description": "TODO description: g", "title": "G" },
|
"g": { "$ref": "#/definitions/color", "description": "The value of green, between 0 and 1", "title": "G" },
|
||||||
"b": { "$ref": "#/definitions/color", "description": "TODO description: b", "title": "B" },
|
"b": { "$ref": "#/definitions/color", "description": "The value of blue, between 0 and 1", "title": "B" },
|
||||||
"a": { "$ref": "#/definitions/color", "description": "TODO description: a", "title": "A" }
|
"a": { "$ref": "#/definitions/color", "description": "The value of alpha, between 0 and 1", "title": "A" }
|
||||||
},
|
},
|
||||||
"description": "TODO description: color",
|
"description": "TODO description: color",
|
||||||
"title": "Color"
|
"title": "Color"
|
||||||
@@ -110,10 +113,10 @@
|
|||||||
"description": "The color to overlay on the entity when hurt",
|
"description": "The color to overlay on the entity when hurt",
|
||||||
"title": "Is Hurt Color",
|
"title": "Is Hurt Color",
|
||||||
"properties": {
|
"properties": {
|
||||||
"r": { "$ref": "#/definitions/color", "description": "The value of red", "title": "R" },
|
"r": { "$ref": "#/definitions/color", "description": "The value of red, between 0 and 1", "title": "R" },
|
||||||
"g": { "$ref": "#/definitions/color", "description": "The value of green", "title": "G" },
|
"g": { "$ref": "#/definitions/color", "description": "The value of green, between 0 and 1", "title": "G" },
|
||||||
"b": { "$ref": "#/definitions/color", "description": "The value of blue", "title": "B" },
|
"b": { "$ref": "#/definitions/color", "description": "The value of blue, between 0 and 1", "title": "B" },
|
||||||
"a": { "$ref": "#/definitions/color", "description": "The value of alpha", "title": "A" }
|
"a": { "$ref": "#/definitions/color", "description": "The value of alpha, between 0 and 1", "title": "A" }
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"materials": {
|
"materials": {
|
||||||
@@ -134,10 +137,10 @@
|
|||||||
"description": "TODO description: overlay color",
|
"description": "TODO description: overlay color",
|
||||||
"title": "Overlay Color",
|
"title": "Overlay Color",
|
||||||
"properties": {
|
"properties": {
|
||||||
"r": { "$ref": "#/definitions/color", "description": "The value of red", "title": "R" },
|
"r": { "$ref": "#/definitions/color", "description": "The value of red, between 0 and 1", "title": "R" },
|
||||||
"g": { "$ref": "#/definitions/color", "description": "The value of green", "title": "G" },
|
"g": { "$ref": "#/definitions/color", "description": "The value of green, between 0 and 1", "title": "G" },
|
||||||
"b": { "$ref": "#/definitions/color", "description": "The value of blue", "title": "B" },
|
"b": { "$ref": "#/definitions/color", "description": "The value of blue, between 0 and 1", "title": "B" },
|
||||||
"a": { "$ref": "#/definitions/color", "description": "The value of alpha", "title": "A" }
|
"a": { "$ref": "#/definitions/color", "description": "The value of alpha, between 0 and 1", "title": "A" }
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"textures": {
|
"textures": {
|
||||||
|
|||||||
@@ -23,7 +23,7 @@
|
|||||||
},
|
},
|
||||||
"render_controllers": {
|
"render_controllers": {
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"propertyNames": { "pattern": "^controller\\.render\\.[a-z\\.]+" },
|
"propertyNames": { "pattern": "^controller\\.render\\.[a-z\\.]+", "examples": ["controller.render.example"] },
|
||||||
"additionalProperties": {
|
"additionalProperties": {
|
||||||
"additionalProperties": false,
|
"additionalProperties": false,
|
||||||
"type": "object",
|
"type": "object",
|
||||||
@@ -97,10 +97,10 @@
|
|||||||
"additionalProperties": false,
|
"additionalProperties": false,
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
"r": { "$ref": "#/definitions/color", "description": "The value of red", "title": "R" },
|
"r": { "$ref": "#/definitions/color", "description": "The value of red, must result in a float between 0 and 1", "title": "R" },
|
||||||
"g": { "$ref": "#/definitions/color", "description": "The value of green", "title": "G" },
|
"g": { "$ref": "#/definitions/color", "description": "The value of green, must result in a float between 0 and 1", "title": "G" },
|
||||||
"b": { "$ref": "#/definitions/color", "description": "The value of blue", "title": "B" },
|
"b": { "$ref": "#/definitions/color", "description": "The value of blue, must result in a float between 0 and 1", "title": "B" },
|
||||||
"a": { "$ref": "#/definitions/color", "description": "The value of alpha", "title": "A" }
|
"a": { "$ref": "#/definitions/color", "description": "The value of alpha, must result in a float between 0 and 1", "title": "A" }
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"filter_lighting": { "type": "boolean", "description": "TODO description: filter lighting", "title": "Filter Lighting" },
|
"filter_lighting": { "type": "boolean", "description": "TODO description: filter lighting", "title": "Filter Lighting" },
|
||||||
@@ -112,10 +112,10 @@
|
|||||||
"additionalProperties": false,
|
"additionalProperties": false,
|
||||||
"description": "The color that is overlay when hurt",
|
"description": "The color that is overlay when hurt",
|
||||||
"properties": {
|
"properties": {
|
||||||
"r": { "$ref": "#/definitions/color", "description": "The value of red", "title": "R" },
|
"r": { "$ref": "#/definitions/color", "description": "The value of red, must result in a float between 0 and 1", "title": "R" },
|
||||||
"g": { "$ref": "#/definitions/color", "description": "The value of green", "title": "G" },
|
"g": { "$ref": "#/definitions/color", "description": "The value of green, must result in a float between 0 and 1", "title": "G" },
|
||||||
"b": { "$ref": "#/definitions/color", "description": "The value of blue", "title": "B" },
|
"b": { "$ref": "#/definitions/color", "description": "The value of blue, must result in a float between 0 and 1", "title": "B" },
|
||||||
"a": { "$ref": "#/definitions/color", "description": "The value of alpha", "title": "A" }
|
"a": { "$ref": "#/definitions/color", "description": "The value of alpha, must result in a float between 0 and 1", "title": "A" }
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"light_color_multiplier": {
|
"light_color_multiplier": {
|
||||||
@@ -139,10 +139,10 @@
|
|||||||
"additionalProperties": false,
|
"additionalProperties": false,
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
"r": { "$ref": "#/definitions/color" },
|
"r": { "$ref": "#/definitions/color", "description": "The value of red, must result in a float between 0 and 1", "title": "R" },
|
||||||
"g": { "$ref": "#/definitions/color" },
|
"g": { "$ref": "#/definitions/color", "description": "The value of green, must result in a float between 0 and 1", "title": "G" },
|
||||||
"b": { "$ref": "#/definitions/color" },
|
"b": { "$ref": "#/definitions/color", "description": "The value of blue, must result in a float between 0 and 1", "title": "B" },
|
||||||
"a": { "$ref": "#/definitions/color" }
|
"a": { "$ref": "#/definitions/color", "description": "The value of alpha, must result in a float between 0 and 1", "title": "A" }
|
||||||
},
|
},
|
||||||
"description": "TODO description: on fire color",
|
"description": "TODO description: on fire color",
|
||||||
"title": "On Fire Color"
|
"title": "On Fire Color"
|
||||||
@@ -151,12 +151,12 @@
|
|||||||
"additionalProperties": false,
|
"additionalProperties": false,
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
"r": { "$ref": "#/definitions/color" },
|
"r": { "$ref": "#/definitions/color", "description": "The value of red, must result in a float between 0 and 1", "title": "R" },
|
||||||
"g": { "$ref": "#/definitions/color" },
|
"g": { "$ref": "#/definitions/color", "description": "The value of green, must result in a float between 0 and 1", "title": "G" },
|
||||||
"b": { "$ref": "#/definitions/color" },
|
"b": { "$ref": "#/definitions/color", "description": "The value of blue, must result in a float between 0 and 1", "title": "B" },
|
||||||
"a": { "$ref": "#/definitions/color" }
|
"a": { "$ref": "#/definitions/color", "description": "The value of alpha, must result in a float between 0 and 1", "title": "A" }
|
||||||
},
|
},
|
||||||
"description": "TODO description: overlay color",
|
"description": "Overlays this color ontop of any rendering parts",
|
||||||
"title": "Overlay Color"
|
"title": "Overlay Color"
|
||||||
},
|
},
|
||||||
"part_visibility": {
|
"part_visibility": {
|
||||||
|
|||||||
Reference in New Issue
Block a user