2021-06-06 10:07:19 +00:00
|
|
|
{
|
|
|
|
|
"$id": "blockception.minecraft.render_controllers.json",
|
|
|
|
|
"additionalProperties": false,
|
|
|
|
|
"type": "object",
|
|
|
|
|
"title": "Render Controllers 1.8.0",
|
|
|
|
|
"description": "Render_Controllers 1.8.0",
|
|
|
|
|
"required": ["render_controllers", "format_version"],
|
|
|
|
|
"definitions": {
|
|
|
|
|
"color": {
|
|
|
|
|
"anyOf": [
|
|
|
|
|
{ "type": "number", "description": "A color definition as number, between 0 and 1", "title": "Color Number", "minimum": 0, "maximum": 1 },
|
|
|
|
|
{ "type": "string", "description": "A color definition in molang, must result in a float between 0 and 1", "title": "Molang Color" }
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
"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."
|
|
|
|
|
},
|
|
|
|
|
"render_controllers": {
|
|
|
|
|
"type": "object",
|
|
|
|
|
"propertyNames": { "pattern": "^controller\\.render\\.[a-z\\.]+", "examples": ["controller.render.example"] },
|
|
|
|
|
"additionalProperties": {
|
|
|
|
|
"additionalProperties": false,
|
|
|
|
|
"type": "object",
|
|
|
|
|
"title": "Render Controller",
|
|
|
|
|
"description": "A single render_controller definition",
|
|
|
|
|
"required": ["geometry", "materials"],
|
|
|
|
|
"properties": {
|
|
|
|
|
"arrays": {
|
|
|
|
|
"type": "object",
|
|
|
|
|
"title": "Arrays",
|
|
|
|
|
"additionalProperties": false,
|
|
|
|
|
"description": "A collection of definition of arrays",
|
|
|
|
|
"properties": {
|
|
|
|
|
"geometries": {
|
|
|
|
|
"type": "object",
|
|
|
|
|
"minProperties": 1,
|
|
|
|
|
"description": "A collection of Geometry array",
|
|
|
|
|
"title": "Geometries",
|
|
|
|
|
"additionalProperties": {
|
|
|
|
|
"type": "array",
|
|
|
|
|
"items": {
|
|
|
|
|
"type": "string",
|
|
|
|
|
"pattern": "^[Gg]eometry\\..+",
|
|
|
|
|
"description": "A geometry item, must be defined in the entity",
|
|
|
|
|
"title": "Geometry"
|
|
|
|
|
},
|
|
|
|
|
"description": "A geometry array definition",
|
|
|
|
|
"title": "Geometries"
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
"materials": {
|
|
|
|
|
"type": "object",
|
|
|
|
|
"minProperties": 1,
|
|
|
|
|
"description": "A collection of materials array",
|
|
|
|
|
"title": "Materials",
|
|
|
|
|
"additionalProperties": {
|
|
|
|
|
"type": "array",
|
|
|
|
|
"items": {
|
|
|
|
|
"type": "string",
|
|
|
|
|
"pattern": "^[Mm]aterial\\..+",
|
|
|
|
|
"description": "A material item, must be defined in the entity",
|
|
|
|
|
"title": "Material"
|
|
|
|
|
},
|
|
|
|
|
"description": "A material array definition",
|
|
|
|
|
"title": "Materials"
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
"textures": {
|
|
|
|
|
"type": "object",
|
|
|
|
|
"minProperties": 1,
|
|
|
|
|
"description": "A collection of texture array",
|
|
|
|
|
"title": "Textures",
|
|
|
|
|
"additionalProperties": {
|
|
|
|
|
"type": "array",
|
|
|
|
|
"description": "Textures",
|
|
|
|
|
"title": "Texture",
|
|
|
|
|
"items": {
|
|
|
|
|
"type": "string",
|
|
|
|
|
"pattern": "^[Tt]exture\\..+",
|
|
|
|
|
"default": "texture.",
|
|
|
|
|
"description": "An texture item",
|
|
|
|
|
"title": "Texture"
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
"color": {
|
2021-06-09 09:40:37 +02:00
|
|
|
"description": "UNDOCUMENTATED: color",
|
2021-06-06 10:07:19 +00:00
|
|
|
"title": "Color",
|
|
|
|
|
"additionalProperties": false,
|
|
|
|
|
"type": "object",
|
|
|
|
|
"properties": {
|
|
|
|
|
"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, must result in a float between 0 and 1", "title": "G" },
|
|
|
|
|
"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, must result in a float between 0 and 1", "title": "A" }
|
|
|
|
|
}
|
|
|
|
|
},
|
2021-06-09 09:40:37 +02:00
|
|
|
"filter_lighting": { "type": "boolean", "description": "UNDOCUMENTATED: filter lighting", "title": "Filter Lighting" },
|
|
|
|
|
"geometry": { "type": "string", "description": "UNDOCUMENTATED: geometry", "title": "Geometry" },
|
|
|
|
|
"ignore_lighting": { "type": "boolean", "description": "UNDOCUMENTATED: ignore lighting", "title": "Ignore Lighting" },
|
2021-06-06 10:07:19 +00:00
|
|
|
"is_hurt_color": {
|
|
|
|
|
"type": "object",
|
|
|
|
|
"title": "Is Hurt Color",
|
|
|
|
|
"additionalProperties": false,
|
|
|
|
|
"description": "The color that is overlay when hurt",
|
|
|
|
|
"properties": {
|
|
|
|
|
"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, must result in a float between 0 and 1", "title": "G" },
|
|
|
|
|
"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, must result in a float between 0 and 1", "title": "A" }
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
"light_color_multiplier": {
|
|
|
|
|
"$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"
|
|
|
|
|
},
|
|
|
|
|
"materials": {
|
|
|
|
|
"type": "array",
|
|
|
|
|
"minItems": 1,
|
|
|
|
|
"items": {
|
|
|
|
|
"type": "object",
|
2021-06-09 10:24:10 +02:00
|
|
|
"additionalProperties": { "type": "string", "description": "UNDOCUMENTATED: additionalProperties", "title": "Material" },
|
2021-06-09 09:40:37 +02:00
|
|
|
"description": "UNDOCUMENTATED: materials",
|
2021-06-06 10:07:19 +00:00
|
|
|
"title": "Materials"
|
|
|
|
|
},
|
2021-06-09 09:40:37 +02:00
|
|
|
"description": "UNDOCUMENTATED: materials",
|
2021-06-06 10:07:19 +00:00
|
|
|
"title": "Materials"
|
|
|
|
|
},
|
|
|
|
|
"on_fire_color": {
|
|
|
|
|
"additionalProperties": false,
|
|
|
|
|
"type": "object",
|
|
|
|
|
"properties": {
|
|
|
|
|
"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, must result in a float between 0 and 1", "title": "G" },
|
|
|
|
|
"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, must result in a float between 0 and 1", "title": "A" }
|
|
|
|
|
},
|
2021-06-09 09:40:37 +02:00
|
|
|
"description": "UNDOCUMENTATED: on fire color",
|
2021-06-06 10:07:19 +00:00
|
|
|
"title": "On Fire Color"
|
|
|
|
|
},
|
|
|
|
|
"overlay_color": {
|
|
|
|
|
"additionalProperties": false,
|
|
|
|
|
"type": "object",
|
|
|
|
|
"properties": {
|
|
|
|
|
"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, must result in a float between 0 and 1", "title": "G" },
|
|
|
|
|
"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, must result in a float between 0 and 1", "title": "A" }
|
|
|
|
|
},
|
|
|
|
|
"description": "Overlays this color ontop of any rendering parts",
|
|
|
|
|
"title": "Overlay Color"
|
|
|
|
|
},
|
|
|
|
|
"part_visibility": {
|
|
|
|
|
"type": "array",
|
|
|
|
|
"minItems": 1,
|
|
|
|
|
"items": {
|
|
|
|
|
"description": "A collection of object that describe which bones are hidden or not",
|
|
|
|
|
"title": "Part Visibilty",
|
|
|
|
|
"type": "object",
|
|
|
|
|
"minProperties": 1,
|
|
|
|
|
"additionalProperties": {
|
|
|
|
|
"oneOf": [{ "type": "string" }, { "type": "boolean" }, { "type": "number" }],
|
|
|
|
|
"description": "Describes which bones are visible or not, can be a string, boolean or number",
|
|
|
|
|
"title": "Part Visibilty"
|
|
|
|
|
}
|
|
|
|
|
},
|
2021-06-09 09:40:37 +02:00
|
|
|
"description": "UNDOCUMENTATED: part visibility",
|
2021-06-06 10:07:19 +00:00
|
|
|
"title": "Part Visibility"
|
|
|
|
|
},
|
|
|
|
|
"rebuild_animation_matrices": {
|
|
|
|
|
"type": "boolean",
|
2021-06-09 09:40:37 +02:00
|
|
|
"description": "UNDOCUMENTATED: rebuild animation matrices",
|
2021-06-06 10:07:19 +00:00
|
|
|
"title": "Rebuild Animation Matrices"
|
|
|
|
|
},
|
|
|
|
|
"textures": {
|
|
|
|
|
"type": "array",
|
|
|
|
|
"minItems": 1,
|
2021-06-09 09:40:37 +02:00
|
|
|
"items": { "type": "string", "description": "UNDOCUMENTATED: textures", "title": "Textures" },
|
|
|
|
|
"description": "UNDOCUMENTATED: textures",
|
2021-06-06 10:07:19 +00:00
|
|
|
"title": "Textures"
|
|
|
|
|
},
|
|
|
|
|
"uv_anim": {
|
|
|
|
|
"additionalProperties": false,
|
|
|
|
|
"type": "object",
|
|
|
|
|
"required": ["offset", "scale"],
|
|
|
|
|
"properties": {
|
|
|
|
|
"offset": {
|
|
|
|
|
"type": "array",
|
|
|
|
|
"minItems": 2,
|
|
|
|
|
"maxItems": 2,
|
2021-06-09 09:40:37 +02:00
|
|
|
"items": { "$ref": "../../../molang/number.json", "description": "UNDOCUMENTATED: offset", "title": "Offset" },
|
|
|
|
|
"description": "UNDOCUMENTATED: offset",
|
2021-06-06 10:07:19 +00:00
|
|
|
"title": "Offset"
|
|
|
|
|
},
|
|
|
|
|
"scale": {
|
|
|
|
|
"type": "array",
|
2021-06-09 09:40:37 +02:00
|
|
|
"description": "UNDOCUMENTATED: scale",
|
2021-06-06 10:07:19 +00:00
|
|
|
"title": "Scale",
|
|
|
|
|
"minItems": 2,
|
|
|
|
|
"maxItems": 2,
|
2021-06-09 09:40:37 +02:00
|
|
|
"items": { "$ref": "../../../molang/number.json", "description": "UNDOCUMENTATED: scale", "title": "Scale" }
|
2021-06-06 10:07:19 +00:00
|
|
|
}
|
|
|
|
|
},
|
2021-06-09 09:40:37 +02:00
|
|
|
"description": "UNDOCUMENTATED: uv anim",
|
2021-06-06 10:07:19 +00:00
|
|
|
"title": "Uv Anim"
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
2021-06-09 09:40:37 +02:00
|
|
|
"description": "UNDOCUMENTATED: render controllers",
|
2021-06-06 10:07:19 +00:00
|
|
|
"title": "Render Controllers"
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|