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

@@ -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"
}
}