Updated Comments

This commit is contained in:
DaanV2
2021-06-19 15:05:41 +02:00
parent 827e8be9f9
commit 93b0a7f030
45 changed files with 98 additions and 92 deletions

View File

@@ -126,7 +126,7 @@
"properties": {
"anim_time_update": {
"title": "Start Delay",
"description": "How does time pass when playing the animation. Defaults to \"query.anim_time + query.delta_time\" which means advance in seconds.",
"description": "How does time pass when playing the animation. Defaults to `query.anim_time + query.delta_time` which means advance in seconds.",
"$ref": "../../../molang/number.json"
},
"animation_length": {

View File

@@ -126,7 +126,7 @@
"properties": {
"anim_time_update": {
"title": "Anim Time Update",
"description": "How does time pass when playing the animation. Defaults to \"query.anim_time + query.delta_time\" which means advance in seconds.",
"description": "How does time pass when playing the animation. Defaults to `query.anim_time + query.delta_time` which means advance in seconds.",
"$ref": "../../../molang/number.json"
},
"animation_length": {

View File

@@ -178,7 +178,7 @@
},
"variables": {
"title": "Variables",
"description": " A list of variables that need certain settings applied to them. Currently, for the client, only \"public\" is supported.",
"description": " A list of variables that need certain settings applied to them. Currently, for the client, only `public` is supported.",
"type": "object",
"minProperties": 1,
"propertyNames": { "pattern": "variable.[a-zA-Z_][a-zA-Z0-9_]*" },

View File

@@ -250,15 +250,15 @@
},
"normals": {
"type": "array",
"description": "Vertex normals. Can be either indexed via the \"polys\" section, or be a quad-list if mapped 1-to-1 to the positions and UVs sections.",
"description": "Vertex normals. Can be either indexed via the `polys` section, or be a quad-list if mapped 1-to-1 to the positions and UVs sections.",
"items": {
"type": "array",
"minItems": 3,
"maxItems": 3,
"description": "Vertex normals. Can be either indexed via the \"polys\" section, or be a quad-list if mapped 1-to-1 to the positions and UVs sections.",
"description": "Vertex normals. Can be either indexed via the `polys` section, or be a quad-list if mapped 1-to-1 to the positions and UVs sections.",
"items": {
"type": "number",
"description": "Vertex normals. Can be either indexed via the \"polys\" section, or be a quad-list if mapped 1-to-1 to the positions and UVs sections."
"description": "Vertex normals. Can be either indexed via the `polys` section, or be a quad-list if mapped 1-to-1 to the positions and UVs sections."
}
}
},
@@ -266,7 +266,7 @@
"oneOf": [
{
"type": "string",
"description": "If not specifying vertex indices, arrays of data must be a list of tris or quads, set by making this property either \"tri_list\" or \"quad_list\"",
"description": "If not specifying vertex indices, arrays of data must be a list of tris or quads, set by making this property either `tri_list` or `quad_list`",
"enum": ["tri_list", "quad_list"]
},
{
@@ -299,21 +299,21 @@
"maxItems": 3,
"items": {
"type": "number",
"description": "Vertex positions for the mesh. Can be either indexed via the \"polys\" section, or be a quad-list if mapped 1-to-1 to the normals and UVs sections."
"description": "Vertex positions for the mesh. Can be either indexed via the `polys` section, or be a quad-list if mapped 1-to-1 to the normals and UVs sections."
}
}
},
"uvs": {
"type": "array",
"description": "Vertex UVs. Can be either indexed via the \"polys\" section, or be a quad-list if mapped 1-to-1 to the positions and normals sections.",
"description": "Vertex UVs. Can be either indexed via the `polys` section, or be a quad-list if mapped 1-to-1 to the positions and normals sections.",
"items": {
"type": "array",
"description": "Vertex UVs. Can be either indexed via the \"polys\" section, or be a quad-list if mapped 1-to-1 to the positions and normals sections.",
"description": "Vertex UVs. Can be either indexed via the `polys` section, or be a quad-list if mapped 1-to-1 to the positions and normals sections.",
"minItems": 2,
"maxItems": 2,
"items": {
"type": "number",
"description": "Vertex UVs. Can be either indexed via the \"polys\" section, or be a quad-list if mapped 1-to-1 to the positions and normals sections."
"description": "Vertex UVs. Can be either indexed via the `polys` section, or be a quad-list if mapped 1-to-1 to the positions and normals sections."
}
}
}

View File

@@ -308,15 +308,15 @@
},
"normals": {
"type": "array",
"description": "Vertex normals. Can be either indexed via the \"polys\" section, or be a quad-list if mapped 1-to-1 to the positions and UVs sections.",
"description": "Vertex normals. Can be either indexed via the `polys` section, or be a quad-list if mapped 1-to-1 to the positions and UVs sections.",
"items": {
"type": "array",
"minItems": 3,
"maxItems": 3,
"description": "Vertex normals. Can be either indexed via the \"polys\" section, or be a quad-list if mapped 1-to-1 to the positions and UVs sections.",
"description": "Vertex normals. Can be either indexed via the `polys` section, or be a quad-list if mapped 1-to-1 to the positions and UVs sections.",
"items": {
"type": "number",
"description": "Vertex normals. Can be either indexed via the \"polys\" section, or be a quad-list if mapped 1-to-1 to the positions and UVs sections."
"description": "Vertex normals. Can be either indexed via the `polys` section, or be a quad-list if mapped 1-to-1 to the positions and UVs sections."
}
}
},
@@ -324,7 +324,7 @@
"oneOf": [
{
"type": "string",
"description": "If not specifying vertex indices, arrays of data must be a list of tris or quads, set by making this property either \"tri_list\" or \"quad_list\"",
"description": "If not specifying vertex indices, arrays of data must be a list of tris or quads, set by making this property either `tri_list` or `quad_list`",
"enum": ["tri_list", "quad_list"]
},
{
@@ -357,21 +357,21 @@
"maxItems": 3,
"items": {
"type": "number",
"description": "Vertex positions for the mesh. Can be either indexed via the \"polys\" section, or be a quad-list if mapped 1-to-1 to the normals and UVs sections."
"description": "Vertex positions for the mesh. Can be either indexed via the `polys` section, or be a quad-list if mapped 1-to-1 to the normals and UVs sections."
}
}
},
"uvs": {
"type": "array",
"description": "Vertex UVs. Can be either indexed via the \"polys\" section, or be a quad-list if mapped 1-to-1 to the positions and normals sections.",
"description": "Vertex UVs. Can be either indexed via the `polys` section, or be a quad-list if mapped 1-to-1 to the positions and normals sections.",
"items": {
"type": "array",
"description": "Vertex UVs. Can be either indexed via the \"polys\" section, or be a quad-list if mapped 1-to-1 to the positions and normals sections.",
"description": "Vertex UVs. Can be either indexed via the `polys` section, or be a quad-list if mapped 1-to-1 to the positions and normals sections.",
"minItems": 2,
"maxItems": 2,
"items": {
"type": "number",
"description": "Vertex UVs. Can be either indexed via the \"polys\" section, or be a quad-list if mapped 1-to-1 to the positions and normals sections."
"description": "Vertex UVs. Can be either indexed via the `polys` section, or be a quad-list if mapped 1-to-1 to the positions and normals sections."
}
}
}

View File

@@ -106,7 +106,7 @@
"properties": {
"binding": {
"title": "Binding",
"description": "useful for items. A molang expression specifying the bone name of the parent skeletal hierarchy that this bone should use as the root transform. Without this field it will look for a bone in the parent entity with the same name as this bone. If both are missing, it will assume a local skeletal hierarchy (via the \"parent\" field). If that is also missing, it will attach to the owning entity's root transform.",
"description": "useful for items. A molang expression specifying the bone name of the parent skeletal hierarchy that this bone should use as the root transform. Without this field it will look for a bone in the parent entity with the same name as this bone. If both are missing, it will assume a local skeletal hierarchy (via the `parent` field). If that is also missing, it will attach to the owning entity's root transform.",
"$ref": "../../../../molang/string.json"
},
"cubes": {
@@ -317,15 +317,15 @@
},
"normals": {
"type": "array",
"description": "Vertex normals. Can be either indexed via the \"polys\" section, or be a quad-list if mapped 1-to-1 to the positions and UVs sections.",
"description": "Vertex normals. Can be either indexed via the `polys` section, or be a quad-list if mapped 1-to-1 to the positions and UVs sections.",
"items": {
"type": "array",
"minItems": 3,
"maxItems": 3,
"description": "Vertex normals. Can be either indexed via the \"polys\" section, or be a quad-list if mapped 1-to-1 to the positions and UVs sections.",
"description": "Vertex normals. Can be either indexed via the `polys` section, or be a quad-list if mapped 1-to-1 to the positions and UVs sections.",
"items": {
"type": "number",
"description": "Vertex normals. Can be either indexed via the \"polys\" section, or be a quad-list if mapped 1-to-1 to the positions and UVs sections."
"description": "Vertex normals. Can be either indexed via the `polys` section, or be a quad-list if mapped 1-to-1 to the positions and UVs sections."
}
}
},
@@ -333,7 +333,7 @@
"oneOf": [
{
"type": "string",
"description": "If not specifying vertex indices, arrays of data must be a list of tris or quads, set by making this property either \"tri_list\" or \"quad_list\"",
"description": "If not specifying vertex indices, arrays of data must be a list of tris or quads, set by making this property either `tri_list` or `quad_list`",
"enum": ["tri_list", "quad_list"]
},
{
@@ -366,21 +366,21 @@
"maxItems": 3,
"items": {
"type": "number",
"description": "Vertex positions for the mesh. Can be either indexed via the \"polys\" section, or be a quad-list if mapped 1-to-1 to the normals and UVs sections."
"description": "Vertex positions for the mesh. Can be either indexed via the `polys` section, or be a quad-list if mapped 1-to-1 to the normals and UVs sections."
}
}
},
"uvs": {
"type": "array",
"description": "Vertex UVs. Can be either indexed via the \"polys\" section, or be a quad-list if mapped 1-to-1 to the positions and normals sections.",
"description": "Vertex UVs. Can be either indexed via the `polys` section, or be a quad-list if mapped 1-to-1 to the positions and normals sections.",
"items": {
"type": "array",
"description": "Vertex UVs. Can be either indexed via the \"polys\" section, or be a quad-list if mapped 1-to-1 to the positions and normals sections.",
"description": "Vertex UVs. Can be either indexed via the `polys` section, or be a quad-list if mapped 1-to-1 to the positions and normals sections.",
"minItems": 2,
"maxItems": 2,
"items": {
"type": "number",
"description": "Vertex UVs. Can be either indexed via the \"polys\" section, or be a quad-list if mapped 1-to-1 to the positions and normals sections."
"description": "Vertex UVs. Can be either indexed via the `polys` section, or be a quad-list if mapped 1-to-1 to the positions and normals sections."
}
}
}

View File

@@ -18,7 +18,7 @@
"timeline": {
"title": "Timeline",
"type": "object",
"description": "A series of times, e.g. 0.0 or 1.0, that trigger the event, these get fired on every loop the emitter goes through, \"time\" is the time, e.g. one line might be: \"0.4\": \"event\"",
"description": "A series of times, e.g. 0.0 or 1.0, that trigger the event, these get fired on every loop the emitter goes through, `time` is the time, e.g. one line might be: `0.4`: `event`",
"propertyNames": { "pattern": "^[\\d\\.]+$" },
"additionalProperties": {
"title": "Timeline Object",
@@ -28,7 +28,7 @@
},
"travel_distance_events": {
"title": "Travel Distance Events",
"description": "A series of distances, e.g. 0.0 or 1.0, that trigger the event these get fired when the emitter has moved by the specified input distance, e.g. one line might be: \"0.4\": \"event\"",
"description": "A series of distances, e.g. 0.0 or 1.0, that trigger the event these get fired when the emitter has moved by the specified input distance, e.g. one line might be: `0.4`: `event`",
"propertyNames": { "pattern": "^[\\d\\.]+$" }
},
"looping_travel_distance_events": {

View File

@@ -1,6 +1,6 @@
{
"$id": "blockception.minecraft.resource.particle.1.10.0.particle_appearance_tinting",
"description": "Color fields are special, they can be either an RGB, or a \"#RRGGBB\" field (or RGBA or \"AARRGGBB\"). If RGB(A), the channels are from 0 to 1. If the string \"#AARRGGBB\", then the values are hex from 00 to ff.",
"description": "Color fields are special, they can be either an RGB, or a `#RRGGBB` field (or RGBA or `AARRGGBB`). If RGB(A), the channels are from 0 to 1. If the string `#AARRGGBB`, then the values are hex from 00 to ff.",
"type": "object",
"title": "Particle Appearance Tinting Component For 1.10.0",
"additionalProperties": false,