Updated comments

This commit is contained in:
DaanV2
2021-04-30 17:15:07 +02:00
parent 8da8c04f7e
commit 9bcfd97f21
3 changed files with 40 additions and 25 deletions

View File

@@ -22,6 +22,7 @@
"title": "Description",
"type": "object",
"required": ["identifier"],
"description": "The entity description for clientside rendering, animations and models",
"additionalProperties": false,
"properties": {
"animations": {
@@ -45,7 +46,7 @@
"minProperties": 1,
"additionalProperties": { "type": "string", "description": "The reference to the geometry", "title": "Geometry Reference" }
},
"identifier": { "type": "string", "description": "TODO description: identifier", "title": "Identifier", "$ref": "../../../general/item/identifier.json" },
"identifier": { "type": "string", "description": "The entity indentifier", "title": "Identifier", "$ref": "../../../general/item/identifier.json" },
"materials": {
"type": "object",
"additionalProperties": { "type": "string", "description": "TODO description: additionalProperties", "title": "TODO" },
@@ -110,15 +111,25 @@
},
"initialize": {
"type": "array",
"description": "TODO description: initialize",
"description": "Clientside molang variables that are to be evualated during the creation of the entity",
"title": "Initialize",
"items": { "pattern": ";$", "$ref": "../../../molang/1.8.0/string.json", "description": "TODO description: initialize", "title": "Initialize" }
"items": {
"pattern": ";$",
"$ref": "../../../molang/1.8.0/string.json",
"description": "Clientside molang variables that are to be evualated during the creation of the entity",
"title": "Initialize"
}
},
"pre_animation": {
"type": "array",
"description": "TODO description: pre aninamtion",
"description": "Clientside molang variables that are to be evualated during the animation",
"title": "Pre Animation",
"items": { "pattern": ";$", "$ref": "../../../molang/1.8.0/string.json", "description": "TODO description: pre aninamtion", "title": "Pre Animation" }
"items": {
"pattern": ";$",
"$ref": "../../../molang/1.8.0/string.json",
"description": "Clientside molang variables that are to be evualated during the animation",
"title": "Pre Animation"
}
},
"parent_setup": { "type": "string", "description": "TODO description: parent setup", "title": "Parent Setup", "$ref": "../../../molang/1.8.0/number.json" },
"scale": { "type": "string", "description": "TODO description: scale", "title": "Scale", "$ref": "../../../molang/1.8.0/number.json" },
@@ -160,24 +171,23 @@
"spawn_egg": {
"additionalProperties": false,
"type": "object",
"description": "TODO description: spawn egg",
"description": "The definition of how the spawn_egg icon looks like",
"title": "Spawn Egg",
"dependencies": { "texture_index": ["texture"], "base_colour": ["overlay_color"], "overlay_color": ["base_color"] },
"properties": {
"base_color": { "type": "string", "description": "TODO description: base color", "title": "Base Color", "format": "color-hex" },
"overlay_color": { "type": "string", "description": "TODO description: overlay color", "title": "Overlay Color", "format": "color-hex" },
"texture": { "type": "string", "description": "TODO description: texture", "title": "Texture" },
"texture_index": { "type": "integer", "description": "TODO description: texture index", "title": "Texture Index" }
"base_color": { "type": "string", "description": "The basic color of the egg", "title": "Base Color", "format": "color-hex" },
"overlay_color": { "type": "string", "description": "The colors of the dots on the egg", "title": "Overlay Color", "format": "color-hex" },
"texture": { "type": "string", "description": "The texture reference in item_texture.json", "title": "Texture" },
"texture_index": { "type": "integer", "description": "The index of the texture", "title": "Texture Index", "default": 0 }
}
},
"textures": {
"type": "object",
"additionalProperties": { "type": "string", "description": "TODO description: additionalProperties", "title": "TODO" },
"description": "TODO description: textures",
"additionalProperties": { "type": "string", "description": "A reference to a texture in the resourcepack", "title": "Texture" },
"description": "A collection of references to textures in the resourcepack",
"title": "Textures"
}
},
"description": "TODO description: description"
}
}
},
"additionalProperties": false

View File

@@ -17,7 +17,7 @@
"type": "object",
"additionalProperties": false,
"title": "Client Entity",
"description": "The definition of an entity's models, materials, textures, and animations",
"description": "The entity description for clientside rendering, animations and models",
"properties": {
"description": {
"additionalProperties": false,
@@ -92,14 +92,14 @@
"spawn_egg": {
"additionalProperties": false,
"type": "object",
"description": "TODO description: spawn egg",
"description": "The definition of how the spawn_egg icon looks like",
"title": "Spawn Egg",
"dependencies": { "texture_index": ["texture"], "base_colour": ["overlay_color"], "overlay_color": ["base_color"] },
"properties": {
"base_color": { "type": "string", "description": "TODO description: base color", "title": "Base Color", "format": "color-hex" },
"overlay_color": { "type": "string", "description": "TODO description: overlay color", "title": "Overlay Color", "format": "color-hex" },
"texture": { "type": "string", "description": "TODO description: texture", "title": "Texture" },
"texture_index": { "type": "integer", "description": "TODO description: texture index", "title": "Texture Index" }
"base_color": { "type": "string", "description": "The basic color of the egg", "title": "Base Color", "format": "color-hex" },
"overlay_color": { "type": "string", "description": "The colors of the dots on the egg", "title": "Overlay Color", "format": "color-hex" },
"texture": { "type": "string", "description": "The texture reference in item_texture.json", "title": "Texture" },
"texture_index": { "type": "integer", "description": "The index of the texture", "title": "Texture Index", "default": 0 }
}
},
"scripts": {
@@ -110,9 +110,14 @@
"properties": {
"pre_animation": {
"type": "array",
"description": "TODO description: pre aninamtion",
"description": "Clientside molang variables that are to be evualated during the animation",
"title": "Pre Animation",
"items": { "pattern": ";$", "$ref": "../../../molang/1.8.0/number.json", "description": "TODO description: pre aninamtion", "title": "Pre Animation" }
"items": {
"pattern": ";$",
"$ref": "../../../molang/1.8.0/string.json",
"description": "Clientside molang variables that are to be evualated during the animation",
"title": "Pre Animation"
}
},
"parent_setup": { "$ref": "../../../molang/1.8.0/number.json" },
"scale": { "type": "string", "description": "TODO description: scale", "title": "Scale" },
@@ -123,8 +128,8 @@
},
"textures": {
"type": "object",
"additionalProperties": { "type": "string", "description": "TODO description: additionalProperties", "title": "TODO" },
"description": "TODO description: textures",
"additionalProperties": { "type": "string", "description": "A reference to a texture in the resourcepack", "title": "Texture" },
"description": "A collection of references to textures in the resourcepack",
"title": "Textures"
}
}

View File

@@ -120,7 +120,7 @@
},
"light_color_multiplier": {
"$ref": "../../../molang/1.8.0/number.json",
"description": "TODO description: light color multiplier",
"description": "The amount of light that blends into what is being rendered, lower values gives darker rendering, (1 = 100%)",
"title": "Light Color Multiplier"
},
"materials": {