Updated
This commit is contained in:
@@ -2,25 +2,19 @@
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.resource.model.1.10.0",
|
||||
"type": "object",
|
||||
"title": "The minecraft resourcepack model schema for 1.10.0",
|
||||
"title": "Resourcepack Model Schema For 1.10.0",
|
||||
"description": "TODO description",
|
||||
"required": ["format_version"],
|
||||
"properties": {
|
||||
"debug": {
|
||||
"type": "boolean",
|
||||
"description": "TODO description",
|
||||
"title": "TODO title"
|
||||
},
|
||||
"debug": { "type": "boolean", "description": "TODO description", "title": "TODO Title" },
|
||||
"format_version": {
|
||||
"title": "The 1.10.0 format version",
|
||||
"title": "1.10.0 Format Version",
|
||||
"type": "string",
|
||||
"pattern": "^1.10.0$",
|
||||
"description": "A version that tells minecraft what type of data format can be expected when reading this file."
|
||||
}
|
||||
},
|
||||
"propertyNames": {
|
||||
"pattern": "(^geometry\\.[a-zA-Z0-9_.'\\-:]+|format_version)"
|
||||
},
|
||||
"propertyNames": { "pattern": "(^geometry\\.[a-zA-Z0-9_.'\\-:]+|format_version)" },
|
||||
"additionalProperties": {
|
||||
"additionalProperties": false,
|
||||
"type": "object",
|
||||
@@ -38,303 +32,72 @@
|
||||
"title": "Bone",
|
||||
"required": ["name"],
|
||||
"properties": {
|
||||
"bind_pose_rotation": {
|
||||
"type": "array",
|
||||
"items": [
|
||||
{
|
||||
"type": "number"
|
||||
},
|
||||
{
|
||||
"type": "number"
|
||||
},
|
||||
{
|
||||
"type": "number"
|
||||
}
|
||||
]
|
||||
},
|
||||
"bind_pose_rotation": { "type": "array", "items": [{ "type": "number" }, { "type": "number" }, { "type": "number" }] },
|
||||
"cubes": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"additionalProperties": false,
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"inflate": {
|
||||
"type": "number"
|
||||
},
|
||||
"mirror": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"origin": {
|
||||
"type": "array",
|
||||
"items": [
|
||||
{
|
||||
"type": "number"
|
||||
},
|
||||
{
|
||||
"type": "number"
|
||||
},
|
||||
{
|
||||
"type": "number"
|
||||
}
|
||||
]
|
||||
},
|
||||
"size": {
|
||||
"type": "array",
|
||||
"items": [
|
||||
{
|
||||
"type": "number"
|
||||
},
|
||||
{
|
||||
"type": "number"
|
||||
},
|
||||
{
|
||||
"type": "number"
|
||||
}
|
||||
]
|
||||
},
|
||||
"uv": {
|
||||
"type": "array",
|
||||
"items": [
|
||||
{
|
||||
"type": "number"
|
||||
},
|
||||
{
|
||||
"type": "number"
|
||||
}
|
||||
]
|
||||
}
|
||||
"inflate": { "type": "number" },
|
||||
"mirror": { "type": "boolean" },
|
||||
"origin": { "type": "array", "items": [{ "type": "number" }, { "type": "number" }, { "type": "number" }] },
|
||||
"size": { "type": "array", "items": [{ "type": "number" }, { "type": "number" }, { "type": "number" }] },
|
||||
"uv": { "type": "array", "items": [{ "type": "number" }, { "type": "number" }] }
|
||||
}
|
||||
}
|
||||
},
|
||||
"debug": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"inflate": {
|
||||
"type": "number"
|
||||
},
|
||||
"locators": {
|
||||
"type": "object",
|
||||
"additionalProperties": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "number"
|
||||
}
|
||||
}
|
||||
},
|
||||
"mirror": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"name": {
|
||||
"type": "string"
|
||||
},
|
||||
"neverRender": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"parent": {
|
||||
"type": "string"
|
||||
},
|
||||
"pivot": {
|
||||
"type": "array",
|
||||
"items": [
|
||||
{
|
||||
"type": "number"
|
||||
},
|
||||
{
|
||||
"type": "number"
|
||||
},
|
||||
{
|
||||
"type": "number"
|
||||
}
|
||||
]
|
||||
},
|
||||
"debug": { "type": "boolean" },
|
||||
"inflate": { "type": "number" },
|
||||
"locators": { "type": "object", "additionalProperties": { "type": "array", "items": { "type": "number" } } },
|
||||
"mirror": { "type": "boolean" },
|
||||
"name": { "type": "string" },
|
||||
"neverRender": { "type": "boolean" },
|
||||
"parent": { "type": "string" },
|
||||
"pivot": { "type": "array", "items": [{ "type": "number" }, { "type": "number" }, { "type": "number" }] },
|
||||
"poly_mesh": {
|
||||
"type": "object",
|
||||
"required": ["polys"],
|
||||
"properties": {
|
||||
"normalized_uvs": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"positions": {
|
||||
"type": "array",
|
||||
"items": [
|
||||
{
|
||||
"type": "number"
|
||||
},
|
||||
{
|
||||
"type": "number"
|
||||
},
|
||||
{
|
||||
"type": "number"
|
||||
}
|
||||
]
|
||||
},
|
||||
"normals": {
|
||||
"type": "array",
|
||||
"items": [
|
||||
{
|
||||
"type": "number"
|
||||
},
|
||||
{
|
||||
"type": "number"
|
||||
},
|
||||
{
|
||||
"type": "number"
|
||||
}
|
||||
]
|
||||
},
|
||||
"normalized_uvs": { "type": "boolean" },
|
||||
"positions": { "type": "array", "items": [{ "type": "number" }, { "type": "number" }, { "type": "number" }] },
|
||||
"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" }] }
|
||||
}
|
||||
}
|
||||
},
|
||||
"render_group_id": {
|
||||
"type": "integer",
|
||||
"minimum": 0
|
||||
},
|
||||
"reset": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"rotation": {
|
||||
"type": "array",
|
||||
"items": [
|
||||
{
|
||||
"type": "number"
|
||||
},
|
||||
{
|
||||
"type": "number"
|
||||
},
|
||||
{
|
||||
"type": "number"
|
||||
}
|
||||
]
|
||||
},
|
||||
"render_group_id": { "type": "integer", "minimum": 0 },
|
||||
"reset": { "type": "boolean" },
|
||||
"rotation": { "type": "array", "items": [{ "type": "number" }, { "type": "number" }, { "type": "number" }] },
|
||||
"texture_meshes": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"texture": {
|
||||
"type": "string"
|
||||
},
|
||||
"local_pivot": {
|
||||
"type": "array",
|
||||
"items": [
|
||||
{
|
||||
"type": "number"
|
||||
},
|
||||
{
|
||||
"type": "number"
|
||||
},
|
||||
{
|
||||
"type": "number"
|
||||
}
|
||||
]
|
||||
},
|
||||
"position": {
|
||||
"type": "array",
|
||||
"items": [
|
||||
{
|
||||
"type": "number"
|
||||
},
|
||||
{
|
||||
"type": "number"
|
||||
},
|
||||
{
|
||||
"type": "number"
|
||||
}
|
||||
]
|
||||
},
|
||||
"rotation": {
|
||||
"type": "array",
|
||||
"items": [
|
||||
{
|
||||
"type": "number"
|
||||
},
|
||||
{
|
||||
"type": "number"
|
||||
},
|
||||
{
|
||||
"type": "number"
|
||||
}
|
||||
]
|
||||
},
|
||||
"scale": {
|
||||
"type": "array",
|
||||
"items": [
|
||||
{
|
||||
"type": "number"
|
||||
},
|
||||
{
|
||||
"type": "number"
|
||||
},
|
||||
{
|
||||
"type": "number"
|
||||
}
|
||||
]
|
||||
}
|
||||
"texture": { "type": "string" },
|
||||
"local_pivot": { "type": "array", "items": [{ "type": "number" }, { "type": "number" }, { "type": "number" }] },
|
||||
"position": { "type": "array", "items": [{ "type": "number" }, { "type": "number" }, { "type": "number" }] },
|
||||
"rotation": { "type": "array", "items": [{ "type": "number" }, { "type": "number" }, { "type": "number" }] },
|
||||
"scale": { "type": "array", "items": [{ "type": "number" }, { "type": "number" }, { "type": "number" }] }
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"cape": {
|
||||
"type": "string"
|
||||
},
|
||||
"debug": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"texturewidth": {
|
||||
"type": "integer",
|
||||
"description": "TODO description: texturewidth",
|
||||
"title": "Texturewidth"
|
||||
},
|
||||
"textureheight": {
|
||||
"type": "integer",
|
||||
"description": "TODO description: textureheight",
|
||||
"title": "Textureheight"
|
||||
},
|
||||
"visible_bounds_width": {
|
||||
"type": "number",
|
||||
"description": "TODO description: visible bounds width",
|
||||
"title": "Visible Bounds Width"
|
||||
},
|
||||
"visible_bounds_height": {
|
||||
"type": "number",
|
||||
"description": "TODO description: visible bounds height",
|
||||
"title": "Visible Bounds Height"
|
||||
},
|
||||
"cape": { "type": "string" },
|
||||
"debug": { "type": "boolean" },
|
||||
"texturewidth": { "type": "integer", "description": "TODO description: texturewidth", "title": "Texturewidth" },
|
||||
"textureheight": { "type": "integer", "description": "TODO description: textureheight", "title": "Textureheight" },
|
||||
"visible_bounds_width": { "type": "number", "description": "TODO description: visible bounds width", "title": "Visible Bounds Width" },
|
||||
"visible_bounds_height": { "type": "number", "description": "TODO description: visible bounds height", "title": "Visible Bounds Height" },
|
||||
"visible_bounds_offset": {
|
||||
"type": "array",
|
||||
"description": "TODO description: visible bounds offset",
|
||||
"title": "Visible Bounds Offset",
|
||||
"items": [
|
||||
{
|
||||
"type": "number"
|
||||
},
|
||||
{
|
||||
"type": "number"
|
||||
},
|
||||
{
|
||||
"type": "number"
|
||||
}
|
||||
]
|
||||
"items": [{ "type": "number" }, { "type": "number" }, { "type": "number" }]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -7,14 +7,7 @@
|
||||
"description": "The minecraft resourcepack model schema for 1.12.0",
|
||||
"required": ["format_version", "minecraft:geometry"],
|
||||
"definitions": {
|
||||
"uv": {
|
||||
"type": "array",
|
||||
"minItems": 2,
|
||||
"maxItems": 2,
|
||||
"items": {
|
||||
"type": "number"
|
||||
}
|
||||
},
|
||||
"uv": { "type": "array", "minItems": 2, "maxItems": 2, "items": { "type": "number" } },
|
||||
"direction_uv": {
|
||||
"additionalProperties": false,
|
||||
"type": "object",
|
||||
@@ -23,26 +16,15 @@
|
||||
"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"
|
||||
},
|
||||
"material_instance": {
|
||||
"type": "string",
|
||||
"description": "TODO"
|
||||
}
|
||||
"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" }
|
||||
}
|
||||
}
|
||||
},
|
||||
"properties": {
|
||||
"debug": {
|
||||
"type": "boolean",
|
||||
"default": false,
|
||||
"description": "TODO description",
|
||||
"title": "TODO title"
|
||||
},
|
||||
"debug": { "type": "boolean", "default": false, "description": "TODO description", "title": "TODO Title" },
|
||||
"format_version": {
|
||||
"title": "The 1.12.0 format version",
|
||||
"title": "1.12.0 Format Version",
|
||||
"type": "string",
|
||||
"pattern": "^1.12.0$",
|
||||
"description": "A version that tells minecraft what type of data format can be expected when reading this file."
|
||||
@@ -72,36 +54,18 @@
|
||||
"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",
|
||||
"type": "array",
|
||||
"minItems": 3,
|
||||
"maxItems": 3,
|
||||
"items": {
|
||||
"type": "number"
|
||||
}
|
||||
"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": {
|
||||
@@ -113,10 +77,7 @@
|
||||
"description": "A bones specification",
|
||||
"required": ["name"],
|
||||
"properties": {
|
||||
"average_normals": {
|
||||
"type": "object",
|
||||
"examples": [null]
|
||||
},
|
||||
"average_normals": { "type": "object", "examples": [null] },
|
||||
"cubes": {
|
||||
"type": "array",
|
||||
"description": "This is the list of cubes associated with this bone.",
|
||||
@@ -137,10 +98,7 @@
|
||||
"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",
|
||||
@@ -155,19 +113,13 @@
|
||||
"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",
|
||||
"minItems": 3,
|
||||
"maxItems": 3,
|
||||
"items": {
|
||||
"type": "number",
|
||||
"description": "The cube extends this amount relative to its origin (in model space units)."
|
||||
}
|
||||
"items": { "type": "number", "description": "The cube extends this amount relative to its origin (in model space units)." }
|
||||
},
|
||||
"uv": {
|
||||
"description": "This is an alternate per-face uv mapping which specifies each face of the cube. Omitting a face will cause that face to not get drawn.",
|
||||
@@ -202,26 +154,14 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "array",
|
||||
"minItems": 2,
|
||||
"maxItems": 2,
|
||||
"items": {
|
||||
"type": "number"
|
||||
}
|
||||
}
|
||||
{ "type": "array", "minItems": 2, "maxItems": 2, "items": { "type": "number" } }
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"debug": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"inflate": {
|
||||
"type": "number",
|
||||
"description": "Grow this box by this additive amount in all directions (in model space units)."
|
||||
},
|
||||
"debug": { "type": "boolean" },
|
||||
"inflate": { "type": "number", "description": "Grow this box by this additive amount in all directions (in model space units)." },
|
||||
"locators": {
|
||||
"description": "This is a list of locators associated with this bone. A locator is a point in model space that tracks a particular bone as the bone animates (by maintaining it's relationship to the bone through the animation).",
|
||||
"type": "object",
|
||||
@@ -236,25 +176,16 @@
|
||||
"minItems": 3,
|
||||
"maxItems": 3,
|
||||
"description": "Position of the locator in model space.",
|
||||
"items": {
|
||||
"type": "number",
|
||||
"description": "Position of the locator in model space."
|
||||
}
|
||||
"items": { "type": "number", "description": "Position of the locator in model space." }
|
||||
},
|
||||
"rotation": {
|
||||
"type": "array",
|
||||
"minItems": 3,
|
||||
"maxItems": 3,
|
||||
"description": "Rotation of the locator in model space.",
|
||||
"items": {
|
||||
"type": "number",
|
||||
"description": "Rotation of the locator in model space."
|
||||
}
|
||||
"items": { "type": "number", "description": "Rotation of the locator in model space." }
|
||||
},
|
||||
"ignore_inherited_scale": {
|
||||
"type": "boolean",
|
||||
"description": "Discard scale inherited from parent bone."
|
||||
}
|
||||
"ignore_inherited_scale": { "type": "boolean", "description": "Discard scale inherited from parent bone." }
|
||||
}
|
||||
},
|
||||
{
|
||||
@@ -262,35 +193,20 @@
|
||||
"minItems": 3,
|
||||
"maxItems": 3,
|
||||
"description": "This is a list of locators associated with this bone. A locator is a point in model space that tracks a particular bone as the bone animates (by maintaining it's relationship to the bone through the animation).",
|
||||
"items": {
|
||||
"type": "number",
|
||||
"description": "Position of the locator in model space."
|
||||
}
|
||||
"items": { "type": "number", "description": "Position of the locator in model space." }
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"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."
|
||||
},
|
||||
"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." },
|
||||
"pivot": {
|
||||
"type": "array",
|
||||
"minItems": 3,
|
||||
"maxItems": 3,
|
||||
"description": "The bone pivots around this point (in model space units).",
|
||||
"items": {
|
||||
"type": "number",
|
||||
"description": "The bone pivots around this point (in model space units)."
|
||||
}
|
||||
"items": { "type": "number", "description": "The bone pivots around this point (in model space units)." }
|
||||
},
|
||||
"poly_mesh": {
|
||||
"additionalProperties": false,
|
||||
@@ -336,18 +252,9 @@
|
||||
"minItems": 3,
|
||||
"maxItems": 3,
|
||||
"items": [
|
||||
{
|
||||
"type": "number",
|
||||
"description": "The index of the position"
|
||||
},
|
||||
{
|
||||
"type": "number",
|
||||
"description": "The index of the normal vertex"
|
||||
},
|
||||
{
|
||||
"type": "number",
|
||||
"description": "The index of the uv vertex"
|
||||
}
|
||||
{ "type": "number", "description": "The index of the position" },
|
||||
{ "type": "number", "description": "The index of the normal vertex" },
|
||||
{ "type": "number", "description": "The index of the uv vertex" }
|
||||
]
|
||||
}
|
||||
}
|
||||
@@ -382,19 +289,13 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"render_group_id": {
|
||||
"type": "integer",
|
||||
"minimum": 0
|
||||
},
|
||||
"render_group_id": { "type": "integer", "minimum": 0 },
|
||||
"rotation": {
|
||||
"type": "array",
|
||||
"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",
|
||||
@@ -408,10 +309,7 @@
|
||||
"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",
|
||||
@@ -428,34 +326,23 @@
|
||||
"description": "The rotation (in degrees) of the texture geometry relative to the offset",
|
||||
"minItems": 3,
|
||||
"maxItems": 3,
|
||||
"items": {
|
||||
"type": "number",
|
||||
"description": "The rotation (in degrees) of the texture geometry relative to the offset"
|
||||
}
|
||||
"items": { "type": "number", "description": "The rotation (in degrees) of the texture geometry relative to the offset" }
|
||||
},
|
||||
"scale": {
|
||||
"type": "array",
|
||||
"description": "The scale (in degrees) of the texture geometry relative to the offset",
|
||||
"minItems": 3,
|
||||
"maxItems": 3,
|
||||
"items": {
|
||||
"type": "number",
|
||||
"description": "The scale (in degrees) of the texture geometry relative to the offset"
|
||||
}
|
||||
"items": { "type": "number", "description": "The scale (in degrees) of the texture geometry relative to the offset" }
|
||||
},
|
||||
"texture": {
|
||||
"type": "string",
|
||||
"description": "The friendly-named texture to use."
|
||||
}
|
||||
"texture": { "type": "string", "description": "The friendly-named texture to use." }
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"cape": {
|
||||
"type": "string"
|
||||
}
|
||||
"cape": { "type": "string" }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -24,27 +24,18 @@
|
||||
"$ref": "#/definitions/uv"
|
||||
},
|
||||
"uv_size": {
|
||||
"title": "Uv size",
|
||||
"title": "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",
|
||||
"title": "Material instance",
|
||||
"description": "Specifies the UV's for the face that stretches"
|
||||
}
|
||||
"material_instance": { "type": "string", "title": "Material Instance", "description": "Specifies the UV's for the face that stretches" }
|
||||
}
|
||||
}
|
||||
},
|
||||
"properties": {
|
||||
"debug": {
|
||||
"type": "boolean",
|
||||
"default": false,
|
||||
"description": "TODO description",
|
||||
"title": "TODO title"
|
||||
},
|
||||
"debug": { "type": "boolean", "default": false, "description": "TODO description", "title": "TODO Title" },
|
||||
"format_version": {
|
||||
"title": "The 1.14.0 format version",
|
||||
"title": "1.14.0 Format Version",
|
||||
"type": "string",
|
||||
"pattern": "^1.14.0$",
|
||||
"description": "A version that tells minecraft what type of data format can be expected when reading this file."
|
||||
@@ -74,36 +65,18 @@
|
||||
"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",
|
||||
"type": "array",
|
||||
"minItems": 3,
|
||||
"maxItems": 3,
|
||||
"items": {
|
||||
"type": "number"
|
||||
}
|
||||
"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": {
|
||||
@@ -115,10 +88,7 @@
|
||||
"description": "A bones specification",
|
||||
"required": ["name"],
|
||||
"properties": {
|
||||
"average_normals": {
|
||||
"type": "object",
|
||||
"examples": [null]
|
||||
},
|
||||
"average_normals": { "type": "object", "examples": [null] },
|
||||
"cubes": {
|
||||
"type": "array",
|
||||
"description": "This is the list of cubes associated with this bone.",
|
||||
@@ -139,10 +109,7 @@
|
||||
"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",
|
||||
@@ -171,31 +138,16 @@
|
||||
"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": {
|
||||
@@ -250,13 +202,8 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"debug": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"inflate": {
|
||||
"type": "number",
|
||||
"description": "Grow this box by this additive amount in all directions (in model space units)."
|
||||
},
|
||||
"debug": { "type": "boolean" },
|
||||
"inflate": { "type": "number", "description": "Grow this box by this additive amount in all directions (in model space units)." },
|
||||
"locators": {
|
||||
"description": "This is a list of locators associated with this bone. A locator is a point in model space that tracks a particular bone as the bone animates (by maintaining it's relationship to the bone through the animation).",
|
||||
"type": "object",
|
||||
@@ -271,25 +218,16 @@
|
||||
"minItems": 3,
|
||||
"maxItems": 3,
|
||||
"description": "Position of the locator in model space.",
|
||||
"items": {
|
||||
"type": "number",
|
||||
"description": "Position of the locator in model space."
|
||||
}
|
||||
"items": { "type": "number", "description": "Position of the locator in model space." }
|
||||
},
|
||||
"rotation": {
|
||||
"type": "array",
|
||||
"minItems": 3,
|
||||
"maxItems": 3,
|
||||
"description": "Rotation of the locator in model space.",
|
||||
"items": {
|
||||
"type": "number",
|
||||
"description": "Rotation of the locator in model space."
|
||||
}
|
||||
"items": { "type": "number", "description": "Rotation of the locator in model space." }
|
||||
},
|
||||
"ignore_inherited_scale": {
|
||||
"type": "boolean",
|
||||
"description": "Discard scale inherited from parent bone."
|
||||
}
|
||||
"ignore_inherited_scale": { "type": "boolean", "description": "Discard scale inherited from parent bone." }
|
||||
}
|
||||
},
|
||||
{
|
||||
@@ -297,10 +235,7 @@
|
||||
"minItems": 3,
|
||||
"maxItems": 3,
|
||||
"description": "This is a list of locators associated with this bone. A locator is a point in model space that tracks a particular bone as the bone animates (by maintaining it's relationship to the bone through the animation).",
|
||||
"items": {
|
||||
"type": "number",
|
||||
"description": "Position of the locator in model space."
|
||||
}
|
||||
"items": { "type": "number", "description": "Position of the locator in model space." }
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -310,11 +245,7 @@
|
||||
"title": "Mirror",
|
||||
"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",
|
||||
"title": "Name",
|
||||
"description": "Animation files refer to this bone via this identifier."
|
||||
},
|
||||
"name": { "type": "string", "title": "Name", "description": "Animation files refer to this bone via this identifier." },
|
||||
"parent": {
|
||||
"type": "string",
|
||||
"title": "Parent",
|
||||
@@ -325,10 +256,7 @@
|
||||
"minItems": 3,
|
||||
"maxItems": 3,
|
||||
"description": "The bone pivots around this point (in model space units).",
|
||||
"items": {
|
||||
"type": "number",
|
||||
"description": "The bone pivots around this point (in model space units)."
|
||||
}
|
||||
"items": { "type": "number", "description": "The bone pivots around this point (in model space units)." }
|
||||
},
|
||||
"poly_mesh": {
|
||||
"additionalProperties": false,
|
||||
@@ -374,18 +302,9 @@
|
||||
"minItems": 3,
|
||||
"maxItems": 3,
|
||||
"items": [
|
||||
{
|
||||
"type": "number",
|
||||
"description": "The index of the position"
|
||||
},
|
||||
{
|
||||
"type": "number",
|
||||
"description": "The index of the normal vertex"
|
||||
},
|
||||
{
|
||||
"type": "number",
|
||||
"description": "The index of the uv vertex"
|
||||
}
|
||||
{ "type": "number", "description": "The index of the position" },
|
||||
{ "type": "number", "description": "The index of the normal vertex" },
|
||||
{ "type": "number", "description": "The index of the uv vertex" }
|
||||
]
|
||||
}
|
||||
}
|
||||
@@ -420,19 +339,13 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"render_group_id": {
|
||||
"type": "integer",
|
||||
"minimum": 0
|
||||
},
|
||||
"render_group_id": { "type": "integer", "minimum": 0 },
|
||||
"rotation": {
|
||||
"type": "array",
|
||||
"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",
|
||||
@@ -447,10 +360,7 @@
|
||||
"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",
|
||||
@@ -467,34 +377,23 @@
|
||||
"description": "The rotation (in degrees) of the texture geometry relative to the offset",
|
||||
"minItems": 3,
|
||||
"maxItems": 3,
|
||||
"items": {
|
||||
"type": "number",
|
||||
"description": "The rotation (in degrees) of the texture geometry relative to the offset"
|
||||
}
|
||||
"items": { "type": "number", "description": "The rotation (in degrees) of the texture geometry relative to the offset" }
|
||||
},
|
||||
"scale": {
|
||||
"type": "array",
|
||||
"description": "The scale (in degrees) of the texture geometry relative to the offset",
|
||||
"minItems": 3,
|
||||
"maxItems": 3,
|
||||
"items": {
|
||||
"type": "number",
|
||||
"description": "The scale (in degrees) of the texture geometry relative to the offset"
|
||||
}
|
||||
"items": { "type": "number", "description": "The scale (in degrees) of the texture geometry relative to the offset" }
|
||||
},
|
||||
"texture": {
|
||||
"type": "string",
|
||||
"description": "The friendly-named texture to use."
|
||||
}
|
||||
"texture": { "type": "string", "description": "The friendly-named texture to use." }
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"cape": {
|
||||
"type": "string"
|
||||
}
|
||||
"cape": { "type": "string" }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -24,27 +24,18 @@
|
||||
"$ref": "#/definitions/uv"
|
||||
},
|
||||
"uv_size": {
|
||||
"title": "Uv size",
|
||||
"title": "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",
|
||||
"title": "Material instance",
|
||||
"description": "Specifies the UV's for the face that stretches"
|
||||
}
|
||||
"material_instance": { "type": "string", "title": "Material Instance", "description": "Specifies the UV's for the face that stretches" }
|
||||
}
|
||||
}
|
||||
},
|
||||
"properties": {
|
||||
"debug": {
|
||||
"title": "Debug",
|
||||
"description": "TODO description",
|
||||
"type": "boolean",
|
||||
"default": false
|
||||
},
|
||||
"debug": { "title": "Debug", "description": "TODO description", "type": "boolean", "default": false },
|
||||
"format_version": {
|
||||
"title": "The 1.16.0 format version",
|
||||
"title": "1.16.0 Format Version",
|
||||
"type": "string",
|
||||
"pattern": "^1.16.0$",
|
||||
"description": "A version that tells minecraft what type of data format can be expected when reading this file."
|
||||
@@ -74,36 +65,18 @@
|
||||
"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).",
|
||||
"type": "array",
|
||||
"minItems": 3,
|
||||
"maxItems": 3,
|
||||
"items": {
|
||||
"type": "number"
|
||||
}
|
||||
"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": {
|
||||
@@ -142,10 +115,7 @@
|
||||
"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",
|
||||
@@ -174,31 +144,16 @@
|
||||
"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": {
|
||||
@@ -253,13 +208,8 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"debug": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"inflate": {
|
||||
"type": "number",
|
||||
"description": "Grow this box by this additive amount in all directions (in model space units)."
|
||||
},
|
||||
"debug": { "type": "boolean" },
|
||||
"inflate": { "type": "number", "description": "Grow this box by this additive amount in all directions (in model space units)." },
|
||||
"locators": {
|
||||
"description": "This is a list of locators associated with this bone. A locator is a point in model space that tracks a particular bone as the bone animates (by maintaining it's relationship to the bone through the animation).",
|
||||
"type": "object",
|
||||
@@ -274,25 +224,16 @@
|
||||
"minItems": 3,
|
||||
"maxItems": 3,
|
||||
"description": "Position of the locator in model space.",
|
||||
"items": {
|
||||
"type": "number",
|
||||
"description": "Position of the locator in model space."
|
||||
}
|
||||
"items": { "type": "number", "description": "Position of the locator in model space." }
|
||||
},
|
||||
"rotation": {
|
||||
"type": "array",
|
||||
"minItems": 3,
|
||||
"maxItems": 3,
|
||||
"description": "Rotation of the locator in model space.",
|
||||
"items": {
|
||||
"type": "number",
|
||||
"description": "Rotation of the locator in model space."
|
||||
}
|
||||
"items": { "type": "number", "description": "Rotation of the locator in model space." }
|
||||
},
|
||||
"ignore_inherited_scale": {
|
||||
"type": "boolean",
|
||||
"description": "Discard scale inherited from parent bone."
|
||||
}
|
||||
"ignore_inherited_scale": { "type": "boolean", "description": "Discard scale inherited from parent bone." }
|
||||
}
|
||||
},
|
||||
{
|
||||
@@ -300,10 +241,7 @@
|
||||
"minItems": 3,
|
||||
"maxItems": 3,
|
||||
"description": "This is a list of locators associated with this bone. A locator is a point in model space that tracks a particular bone as the bone animates (by maintaining it's relationship to the bone through the animation).",
|
||||
"items": {
|
||||
"type": "number",
|
||||
"description": "Position of the locator in model space."
|
||||
}
|
||||
"items": { "type": "number", "description": "Position of the locator in model space." }
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -313,11 +251,7 @@
|
||||
"title": "Mirror",
|
||||
"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",
|
||||
"title": "Name",
|
||||
"description": "Animation files refer to this bone via this identifier."
|
||||
},
|
||||
"name": { "type": "string", "title": "Name", "description": "Animation files refer to this bone via this identifier." },
|
||||
"parent": {
|
||||
"type": "string",
|
||||
"title": "Parent",
|
||||
@@ -377,18 +311,9 @@
|
||||
"minItems": 3,
|
||||
"maxItems": 3,
|
||||
"items": [
|
||||
{
|
||||
"type": "number",
|
||||
"description": "The index of the position"
|
||||
},
|
||||
{
|
||||
"type": "number",
|
||||
"description": "The index of the normal vertex"
|
||||
},
|
||||
{
|
||||
"type": "number",
|
||||
"description": "The index of the uv vertex"
|
||||
}
|
||||
{ "type": "number", "description": "The index of the position" },
|
||||
{ "type": "number", "description": "The index of the normal vertex" },
|
||||
{ "type": "number", "description": "The index of the uv vertex" }
|
||||
]
|
||||
}
|
||||
}
|
||||
@@ -423,10 +348,7 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"render_group_id": {
|
||||
"type": "integer",
|
||||
"minimum": 0
|
||||
},
|
||||
"render_group_id": { "type": "integer", "minimum": 0 },
|
||||
"rotation": {
|
||||
"type": "array",
|
||||
"title": "Rotation",
|
||||
@@ -439,7 +361,7 @@
|
||||
},
|
||||
"texture_meshes": {
|
||||
"type": "array",
|
||||
"title": "Texture meshes",
|
||||
"title": "Texture Meshes",
|
||||
"description": "***EXPERIMENTAL*** Adds a mesh to the bone's geometry by converting texels in a texture into boxes",
|
||||
"items": {
|
||||
"type": "object",
|
||||
@@ -451,10 +373,7 @@
|
||||
"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",
|
||||
@@ -471,36 +390,23 @@
|
||||
"description": "The rotation (in degrees) of the texture geometry relative to the offset",
|
||||
"minItems": 3,
|
||||
"maxItems": 3,
|
||||
"items": {
|
||||
"type": "number",
|
||||
"description": "The rotation (in degrees) of the texture geometry relative to the offset"
|
||||
}
|
||||
"items": { "type": "number", "description": "The rotation (in degrees) of the texture geometry relative to the offset" }
|
||||
},
|
||||
"scale": {
|
||||
"type": "array",
|
||||
"description": "The scale (in degrees) of the texture geometry relative to the offset",
|
||||
"minItems": 3,
|
||||
"maxItems": 3,
|
||||
"items": {
|
||||
"type": "number",
|
||||
"description": "The scale (in degrees) of the texture geometry relative to the offset"
|
||||
}
|
||||
"items": { "type": "number", "description": "The scale (in degrees) of the texture geometry relative to the offset" }
|
||||
},
|
||||
"texture": {
|
||||
"type": "string",
|
||||
"description": "The friendly-named texture to use."
|
||||
}
|
||||
"texture": { "type": "string", "description": "The friendly-named texture to use." }
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"cape": {
|
||||
"title": "Cape",
|
||||
"description": "UNDOCUMENTATED",
|
||||
"type": "string"
|
||||
}
|
||||
"cape": { "title": "Cape", "description": "UNDOCUMENTATED", "type": "string" }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -2,25 +2,19 @@
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.resource.model.1.8.0",
|
||||
"type": "object",
|
||||
"title": "The minecraft resourcepack model schema for 1.8.0",
|
||||
"title": "Resourcepack Model Schema For 1.8.0",
|
||||
"description": "TODO description",
|
||||
"required": ["format_version"],
|
||||
"properties": {
|
||||
"debug": {
|
||||
"type": "boolean",
|
||||
"description": "TODO description",
|
||||
"title": "TODO title"
|
||||
},
|
||||
"debug": { "type": "boolean", "description": "TODO description", "title": "TODO Title" },
|
||||
"format_version": {
|
||||
"title": "The 1.8.0 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."
|
||||
}
|
||||
},
|
||||
"propertyNames": {
|
||||
"pattern": "(^geometry\\.[a-zA-Z0-9_.'\\-:]+|format_version)"
|
||||
},
|
||||
"propertyNames": { "pattern": "(^geometry\\.[a-zA-Z0-9_.'\\-:]+|format_version)" },
|
||||
"additionalProperties": {
|
||||
"additionalProperties": false,
|
||||
"type": "object",
|
||||
@@ -38,327 +32,80 @@
|
||||
"title": "Bone",
|
||||
"required": ["name"],
|
||||
"properties": {
|
||||
"bind_pose_rotation": {
|
||||
"type": "array",
|
||||
"items": [
|
||||
{
|
||||
"type": "number"
|
||||
},
|
||||
{
|
||||
"type": "number"
|
||||
},
|
||||
{
|
||||
"type": "number"
|
||||
}
|
||||
]
|
||||
},
|
||||
"bind_pose_rotation": { "type": "array", "items": [{ "type": "number" }, { "type": "number" }, { "type": "number" }] },
|
||||
"cubes": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"additionalProperties": false,
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"inflate": {
|
||||
"type": "number"
|
||||
},
|
||||
"mirror": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"origin": {
|
||||
"type": "array",
|
||||
"items": [
|
||||
{
|
||||
"type": "number"
|
||||
},
|
||||
{
|
||||
"type": "number"
|
||||
},
|
||||
{
|
||||
"type": "number"
|
||||
}
|
||||
]
|
||||
},
|
||||
"size": {
|
||||
"type": "array",
|
||||
"items": [
|
||||
{
|
||||
"type": "number"
|
||||
},
|
||||
{
|
||||
"type": "number"
|
||||
},
|
||||
{
|
||||
"type": "number"
|
||||
}
|
||||
]
|
||||
},
|
||||
"uv": {
|
||||
"type": "array",
|
||||
"items": [
|
||||
{
|
||||
"type": "number"
|
||||
},
|
||||
{
|
||||
"type": "number"
|
||||
}
|
||||
]
|
||||
}
|
||||
"inflate": { "type": "number" },
|
||||
"mirror": { "type": "boolean" },
|
||||
"origin": { "type": "array", "items": [{ "type": "number" }, { "type": "number" }, { "type": "number" }] },
|
||||
"size": { "type": "array", "items": [{ "type": "number" }, { "type": "number" }, { "type": "number" }] },
|
||||
"uv": { "type": "array", "items": [{ "type": "number" }, { "type": "number" }] }
|
||||
}
|
||||
}
|
||||
},
|
||||
"debug": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"inflate": {
|
||||
"type": "number"
|
||||
},
|
||||
"locators": {
|
||||
"type": "object",
|
||||
"additionalProperties": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "number"
|
||||
}
|
||||
}
|
||||
},
|
||||
"mirror": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"name": {
|
||||
"type": "string"
|
||||
},
|
||||
"neverRender": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"parent": {
|
||||
"type": "string"
|
||||
},
|
||||
"pivot": {
|
||||
"type": "array",
|
||||
"items": [
|
||||
{
|
||||
"type": "number"
|
||||
},
|
||||
{
|
||||
"type": "number"
|
||||
},
|
||||
{
|
||||
"type": "number"
|
||||
}
|
||||
]
|
||||
},
|
||||
"debug": { "type": "boolean" },
|
||||
"inflate": { "type": "number" },
|
||||
"locators": { "type": "object", "additionalProperties": { "type": "array", "items": { "type": "number" } } },
|
||||
"mirror": { "type": "boolean" },
|
||||
"name": { "type": "string" },
|
||||
"neverRender": { "type": "boolean" },
|
||||
"parent": { "type": "string" },
|
||||
"pivot": { "type": "array", "items": [{ "type": "number" }, { "type": "number" }, { "type": "number" }] },
|
||||
"poly_mesh": {
|
||||
"type": "object",
|
||||
"required": ["polys"],
|
||||
"title": "Poly mesh",
|
||||
"title": "Poly Mesh",
|
||||
"description": "TODO",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"normalized_uvs": {
|
||||
"title": "Normalized uvs",
|
||||
"description": "TODO",
|
||||
"type": "boolean"
|
||||
},
|
||||
"positions": {
|
||||
"title": "Positions",
|
||||
"description": "TODO",
|
||||
"type": "array",
|
||||
"items": [
|
||||
{
|
||||
"type": "number"
|
||||
},
|
||||
{
|
||||
"type": "number"
|
||||
},
|
||||
{
|
||||
"type": "number"
|
||||
}
|
||||
]
|
||||
},
|
||||
"normals": {
|
||||
"title": "Normals",
|
||||
"description": "TODO",
|
||||
"type": "array",
|
||||
"items": [
|
||||
{
|
||||
"type": "number"
|
||||
},
|
||||
{
|
||||
"type": "number"
|
||||
},
|
||||
{
|
||||
"type": "number"
|
||||
}
|
||||
]
|
||||
},
|
||||
"normalized_uvs": { "title": "Normalized Uvs", "description": "TODO", "type": "boolean" },
|
||||
"positions": { "title": "Positions", "description": "TODO", "type": "array", "items": [{ "type": "number" }, { "type": "number" }, { "type": "number" }] },
|
||||
"normals": { "title": "Normals", "description": "TODO", "type": "array", "items": [{ "type": "number" }, { "type": "number" }, { "type": "number" }] },
|
||||
"polys": {
|
||||
"title": "Polys",
|
||||
"description": "TODO",
|
||||
"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" }] }
|
||||
}
|
||||
}
|
||||
},
|
||||
"render_group_id": {
|
||||
"title": "Render group id",
|
||||
"description": "TODO",
|
||||
"type": "integer",
|
||||
"minimum": 0
|
||||
},
|
||||
"reset": {
|
||||
"title": "Reset",
|
||||
"description": "TODO",
|
||||
"type": "boolean"
|
||||
},
|
||||
"rotation": {
|
||||
"title": "Rotation",
|
||||
"description": "TODO",
|
||||
"type": "array",
|
||||
"items": [
|
||||
{
|
||||
"type": "number"
|
||||
},
|
||||
{
|
||||
"type": "number"
|
||||
},
|
||||
{
|
||||
"type": "number"
|
||||
}
|
||||
]
|
||||
},
|
||||
"render_group_id": { "title": "Render Group Id", "description": "TODO", "type": "integer", "minimum": 0 },
|
||||
"reset": { "title": "Reset", "description": "TODO", "type": "boolean" },
|
||||
"rotation": { "title": "Rotation", "description": "TODO", "type": "array", "items": [{ "type": "number" }, { "type": "number" }, { "type": "number" }] },
|
||||
"texture_meshes": {
|
||||
"type": "array",
|
||||
"title": "Texture meshes",
|
||||
"title": "Texture Meshes",
|
||||
"description": "TODO",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"texture": {
|
||||
"type": "string"
|
||||
},
|
||||
"local_pivot": {
|
||||
"type": "array",
|
||||
"items": [
|
||||
{
|
||||
"type": "number"
|
||||
},
|
||||
{
|
||||
"type": "number"
|
||||
},
|
||||
{
|
||||
"type": "number"
|
||||
}
|
||||
]
|
||||
},
|
||||
"position": {
|
||||
"type": "array",
|
||||
"items": [
|
||||
{
|
||||
"type": "number"
|
||||
},
|
||||
{
|
||||
"type": "number"
|
||||
},
|
||||
{
|
||||
"type": "number"
|
||||
}
|
||||
]
|
||||
},
|
||||
"rotation": {
|
||||
"type": "array",
|
||||
"items": [
|
||||
{
|
||||
"type": "number"
|
||||
},
|
||||
{
|
||||
"type": "number"
|
||||
},
|
||||
{
|
||||
"type": "number"
|
||||
}
|
||||
]
|
||||
},
|
||||
"scale": {
|
||||
"type": "array",
|
||||
"items": [
|
||||
{
|
||||
"type": "number"
|
||||
},
|
||||
{
|
||||
"type": "number"
|
||||
},
|
||||
{
|
||||
"type": "number"
|
||||
}
|
||||
]
|
||||
}
|
||||
"texture": { "type": "string" },
|
||||
"local_pivot": { "type": "array", "items": [{ "type": "number" }, { "type": "number" }, { "type": "number" }] },
|
||||
"position": { "type": "array", "items": [{ "type": "number" }, { "type": "number" }, { "type": "number" }] },
|
||||
"rotation": { "type": "array", "items": [{ "type": "number" }, { "type": "number" }, { "type": "number" }] },
|
||||
"scale": { "type": "array", "items": [{ "type": "number" }, { "type": "number" }, { "type": "number" }] }
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"cape": {
|
||||
"title": "Cape",
|
||||
"description": "TODO",
|
||||
"type": "string"
|
||||
},
|
||||
"debug": {
|
||||
"title": "Debug",
|
||||
"description": "TODO",
|
||||
"type": "boolean"
|
||||
},
|
||||
"texturewidth": {
|
||||
"type": "integer",
|
||||
"description": "TODO description: texturewidth",
|
||||
"title": "Texturewidth"
|
||||
},
|
||||
"textureheight": {
|
||||
"type": "integer",
|
||||
"description": "TODO description: textureheight",
|
||||
"title": "Textureheight"
|
||||
},
|
||||
"visible_bounds_width": {
|
||||
"type": "number",
|
||||
"description": "TODO description: visible bounds width",
|
||||
"title": "Visible Bounds Width"
|
||||
},
|
||||
"visible_bounds_height": {
|
||||
"type": "number",
|
||||
"description": "TODO description: visible bounds height",
|
||||
"title": "Visible Bounds Height"
|
||||
},
|
||||
"cape": { "title": "Cape", "description": "TODO", "type": "string" },
|
||||
"debug": { "title": "Debug", "description": "TODO", "type": "boolean" },
|
||||
"texturewidth": { "type": "integer", "description": "TODO description: texturewidth", "title": "Texturewidth" },
|
||||
"textureheight": { "type": "integer", "description": "TODO description: textureheight", "title": "Textureheight" },
|
||||
"visible_bounds_width": { "type": "number", "description": "TODO description: visible bounds width", "title": "Visible Bounds Width" },
|
||||
"visible_bounds_height": { "type": "number", "description": "TODO description: visible bounds height", "title": "Visible Bounds Height" },
|
||||
"visible_bounds_offset": {
|
||||
"type": "array",
|
||||
"description": "TODO description: visible bounds offset",
|
||||
"title": "Visible Bounds Offset",
|
||||
"items": [
|
||||
{
|
||||
"type": "number"
|
||||
},
|
||||
{
|
||||
"type": "number"
|
||||
},
|
||||
{
|
||||
"type": "number"
|
||||
}
|
||||
]
|
||||
"items": [{ "type": "number" }, { "type": "number" }, { "type": "number" }]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -6,38 +6,17 @@
|
||||
"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": {}
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"allOf": [
|
||||
{
|
||||
"if": { "properties": { "format_version": { "type": "string", "const": "1.8.0" } } },
|
||||
"then": { "$ref": "./1.8.0/model_entity.json" }
|
||||
},
|
||||
{
|
||||
"if": { "properties": { "format_version": { "type": "string", "const": "1.10.0" } } },
|
||||
"then": { "$ref": "./1.10.0/model_entity.json" }
|
||||
},
|
||||
{
|
||||
"if": { "properties": { "format_version": { "type": "string", "const": "1.12.0" } } },
|
||||
"then": { "$ref": "./1.12.0/model_entity.json" }
|
||||
},
|
||||
{
|
||||
"if": { "properties": { "format_version": { "type": "string", "const": "1.14.0" } } },
|
||||
"then": { "$ref": "./1.14.0/model_entity.json" }
|
||||
},
|
||||
{
|
||||
"if": { "properties": { "format_version": { "type": "string", "const": "1.16.0" } } },
|
||||
"then": { "$ref": "./1.16.0/model_entity.json" }
|
||||
}
|
||||
{ "if": { "properties": { "format_version": { "type": "string", "const": "1.8.0" } } }, "then": { "$ref": "./1.8.0/model_entity.json" } },
|
||||
{ "if": { "properties": { "format_version": { "type": "string", "const": "1.10.0" } } }, "then": { "$ref": "./1.10.0/model_entity.json" } },
|
||||
{ "if": { "properties": { "format_version": { "type": "string", "const": "1.12.0" } } }, "then": { "$ref": "./1.12.0/model_entity.json" } },
|
||||
{ "if": { "properties": { "format_version": { "type": "string", "const": "1.14.0" } } }, "then": { "$ref": "./1.14.0/model_entity.json" } },
|
||||
{ "if": { "properties": { "format_version": { "type": "string", "const": "1.16.0" } } }, "then": { "$ref": "./1.16.0/model_entity.json" } }
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user