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

@@ -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": {}
}
]