This commit is contained in:
DaanV2
2021-03-21 15:18:38 +01:00
parent d3298267bc
commit 698ee42623
960 changed files with 5960 additions and 22946 deletions

View File

@@ -2,24 +2,24 @@
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.resource.1.10.0.entity",
"type": "object",
"title": "The minecraft resourcepack actor animation 1.10.0",
"title": "Resourcepack Actor Animation 1.10.0",
"description": "TODO description",
"required": ["format_version", "minecraft:client_entity"],
"properties": {
"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."
},
"minecraft:client_entity": {
"type": "object",
"title": "The client entity",
"title": "Client Entity",
"description": "The client entity definition",
"required": ["description"],
"properties": {
"description": {
"title": "Description definition",
"title": "Description ",
"type": "object",
"required": ["identifier"],
"additionalProperties": false,
@@ -31,74 +31,38 @@
"additionalProperties": {
"type": "string",
"description": "A reference to an animation or animation controller",
"title": "Animation reference",
"examples": [
{
"basic": "controller.generic.basic"
}
]
"title": "Animation Reference",
"examples": [{ "basic": "controller.generic.basic" }]
}
},
"enable_attachables": {
"type": "boolean",
"description": "TODO description: enable attachables",
"title": "Enable Attachables"
},
"enable_attachables": { "type": "boolean", "description": "TODO description: enable attachables", "title": "Enable Attachables" },
"geometry": {
"title": "Geometry definition",
"title": "Geometry ",
"description": "The reference to defined geometries in '<resource pack>/models/'",
"type": "object",
"propertyNames": {
"pattern": "[a-zA-Z0-9_\\.\\-]+"
},
"propertyNames": { "pattern": "[a-zA-Z0-9_\\.\\-]+" },
"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"
"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" },
"materials": {
"type": "object",
"additionalProperties": {
"type": "string",
"description": "TODO description: additionalProperties",
"title": "TODO"
},
"additionalProperties": { "type": "string", "description": "TODO description: additionalProperties", "title": "TODO" },
"description": "TODO description: materials",
"title": "Materials"
},
"min_engine_version": {
"type": "string",
"pattern": "[0-9]+\\.[0-9]+\\.[0-9]+",
"description": "TODO description: min engine version",
"title": "Min Engine Version"
},
"min_engine_version": { "type": "string", "pattern": "[0-9]+\\.[0-9]+\\.[0-9]+", "description": "TODO description: min engine version", "title": "Min Engine Version" },
"particle_effects": {
"type": "object",
"minProperties": 1,
"additionalProperties": {
"type": "string",
"description": "TODO description: additionalProperties",
"title": "TODO"
},
"additionalProperties": { "type": "string", "description": "TODO description: additionalProperties", "title": "TODO" },
"description": "TODO description: particle effects",
"title": "Particle Effects"
},
"particle_emitters": {
"type": "object",
"minProperties": 1,
"additionalProperties": {
"type": "string",
"description": "TODO description: additionalProperties",
"title": "TODO"
},
"additionalProperties": { "type": "string", "description": "TODO description: additionalProperties", "title": "TODO" },
"description": "TODO description: particle emitters",
"title": "Particle Emitters"
},
@@ -109,17 +73,8 @@
"minItems": 1,
"items": {
"oneOf": [
{
"type": "string"
},
{
"type": "object",
"additionalProperties": {
"type": "string",
"description": "A render controller",
"title": "Render controller"
}
}
{ "type": "string" },
{ "type": "object", "additionalProperties": { "type": "string", "description": "A render controller", "title": "Render Controller" } }
]
}
},
@@ -131,25 +86,17 @@
"properties": {
"animate": {
"type": "array",
"title": "Animate schema",
"title": "Animate Schema",
"minItems": 1,
"items": {
"oneOf": [
{
"type": "string",
"description": "TODO description: oneOf[0]",
"title": "TODO title"
},
{ "type": "string", "description": "TODO description: oneOf[0]", "title": "TODO Title" },
{
"type": "object",
"minProperties": 1,
"additionalProperties": {
"type": "string",
"description": "TODO description: additionalProperties",
"title": "TODO"
},
"additionalProperties": { "type": "string", "description": "TODO description: additionalProperties", "title": "TODO" },
"description": "TODO description: oneOf[1]",
"title": "TODO title"
"title": "TODO Title"
}
],
"description": "TODO description: animate",
@@ -161,55 +108,26 @@
"type": "array",
"description": "TODO description: initialize",
"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": "TODO description: initialize", "title": "Initialize" }
},
"pre_animation": {
"type": "array",
"description": "TODO description: pre aninamtion",
"title": "Pre Animation",
"items": {
"pattern": ";$",
"$ref": "../../../molang/1.8.0/string.json",
"description": "TODO description: pre aninamtion",
"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"
},
"scalex": {
"$ref": "../../../molang/1.8.0/number.json",
"title": "Scale X"
},
"scaley": {
"$ref": "../../../molang/1.8.0/number.json",
"title": "Scale Y"
},
"scalez": {
"$ref": "../../../molang/1.8.0/number.json",
"title": "Scale Z"
"items": { "pattern": ";$", "$ref": "../../../molang/1.8.0/string.json", "description": "TODO description: pre aninamtion", "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" },
"scalex": { "$ref": "../../../molang/1.8.0/number.json", "title": "Scale X" },
"scaley": { "$ref": "../../../molang/1.8.0/number.json", "title": "Scale Y" },
"scalez": { "$ref": "../../../molang/1.8.0/number.json", "title": "Scale Z" },
"should_update_bones_and_effects_offscreen": {
"title": "Should update bones and effects offscreen",
"title": "Should Update Bones And Effects Offscreen",
"description": "Bones and effects will still be updated if the entity is off screen if this expression returns anything other than 0.0.",
"$ref": "../../../molang/1.8.0/string.json"
},
"should_update_effects_offscreen": {
"title": "Should update effects offscreen",
"title": "Should Update Effects Offscreen",
"description": "Effects will still be updated if the entity is off screen if this expression or `should_update_bones_and_effects_offscreen` returns anything other than 0.0.",
"$ref": "../../../molang/1.8.0/string.json"
},
@@ -218,11 +136,9 @@
"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_]*"
},
"propertyNames": { "pattern": "variable.[a-zA-Z_][a-zA-Z0-9_]*" },
"additionalProperties": {
"title": "Variable definition",
"title": "Variable ",
"description": " If a variable is public, it can be read by other mobs. See the molang `->` operator for details.",
"type": "string",
"enum": ["public"]
@@ -235,54 +151,24 @@
"description": "TODO description: sound effects",
"type": "object",
"minProperties": 1,
"additionalProperties": {
"type": "string",
"description": "TODO description: additionalProperties",
"title": "Sound effect"
}
"additionalProperties": { "type": "string", "description": "TODO description: additionalProperties", "title": "Sound Effect" }
},
"spawn_egg": {
"additionalProperties": false,
"type": "object",
"description": "TODO description: spawn egg",
"title": "Spawn Egg",
"dependencies": {
"texture_index": ["texture"],
"base_colour": ["overlay_color"],
"overlay_color": ["base_color"]
},
"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": "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" }
}
},
"textures": {
"type": "object",
"additionalProperties": {
"type": "string",
"description": "TODO description: additionalProperties",
"title": "TODO"
},
"additionalProperties": { "type": "string", "description": "TODO description: additionalProperties", "title": "TODO" },
"description": "TODO description: textures",
"title": "Textures"
}

View File

@@ -2,13 +2,13 @@
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.resource.entity1.8.0",
"type": "object",
"title": "The minecraft resourcepack actor animation 1.8.0",
"title": "Resourcepack Actor Animation 1.8.0",
"description": "TODO description",
"additionalProperties": false,
"required": ["format_version", "minecraft:client_entity"],
"properties": {
"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."
@@ -16,26 +16,22 @@
"minecraft:client_entity": {
"type": "object",
"additionalProperties": false,
"title": "Client entity",
"title": "Client Entity",
"description": "The definition of an entity's models, materials, textures, and animations",
"properties": {
"description": {
"additionalProperties": false,
"title": "Description definition",
"title": "Description ",
"description": "TODO description: description",
"type": "object",
"required": ["identifier"],
"properties": {
"animations": {
"description": "The connecting of animations in animations controllers with the actuall animations, names should corosponds",
"title": "The animations schema",
"title": "Animations Schema",
"type": "object",
"minProperties": 1,
"additionalProperties": {
"type": "string",
"description": "TODO description: additionalProperties",
"title": "TODO"
}
"additionalProperties": { "type": "string", "description": "TODO description: additionalProperties", "title": "TODO" }
},
"animation_controllers": {
"type": "array",
@@ -44,72 +40,38 @@
"title": "Animation Controllers",
"items": {
"type": "object",
"additionalProperties": {
"type": "string",
"description": "TODO description: additionalProperties",
"title": "TODO"
},
"additionalProperties": { "type": "string", "description": "TODO description: additionalProperties", "title": "TODO" },
"description": "TODO description: animation controllers",
"title": "Animation Controllers"
}
},
"enable_attachables": {
"type": "boolean",
"description": "TODO description: enable attachables",
"title": "Enable Attachables"
},
"enable_attachables": { "type": "boolean", "description": "TODO description: enable attachables", "title": "Enable Attachables" },
"geometry": {
"title": "Geometry definition",
"title": "Geometry ",
"type": "object",
"minProperties": 1,
"additionalProperties": {
"type": "string",
"description": "TODO description: additionalProperties",
"title": "TODO"
},
"additionalProperties": { "type": "string", "description": "TODO description: additionalProperties", "title": "TODO" },
"description": "TODO description: geometry"
},
"identifier": {
"type": "string",
"description": "TODO description: identifier",
"title": "Identifier",
"$ref": "../../../general/entity/identifier.json"
},
"identifier": { "type": "string", "description": "TODO description: identifier", "title": "Identifier", "$ref": "../../../general/entity/identifier.json" },
"materials": {
"type": "object",
"description": "TODO description: materials",
"title": "Materials",
"additionalProperties": {
"type": "string",
"description": "TODO description: additionalProperties",
"title": "TODO"
}
},
"min_engine_version": {
"type": "string",
"pattern": "[0-9]+\\.[0-9]+\\.[0-9]+",
"description": "TODO description: min engine version",
"title": "Min Engine Version"
"additionalProperties": { "type": "string", "description": "TODO description: additionalProperties", "title": "TODO" }
},
"min_engine_version": { "type": "string", "pattern": "[0-9]+\\.[0-9]+\\.[0-9]+", "description": "TODO description: min engine version", "title": "Min Engine Version" },
"particle_effects": {
"type": "object",
"minProperties": 1,
"additionalProperties": {
"type": "string",
"description": "TODO description: additionalProperties",
"title": "TODO"
},
"additionalProperties": { "type": "string", "description": "TODO description: additionalProperties", "title": "TODO" },
"description": "TODO description: particle effects",
"title": "Particle Effects"
},
"particle_emitters": {
"type": "object",
"minProperties": 1,
"additionalProperties": {
"type": "string",
"description": "TODO description: additionalProperties",
"title": "TODO"
},
"additionalProperties": { "type": "string", "description": "TODO description: additionalProperties", "title": "TODO" },
"description": "TODO description: particle emitters",
"title": "Particle Emitters"
},
@@ -118,56 +80,26 @@
"description": "TODO description: render controllers",
"title": "Render Controllers",
"minItems": 1,
"items": {
"type": "string",
"description": "TODO description: render controllers",
"title": "Render Controllers"
}
"items": { "type": "string", "description": "TODO description: render controllers", "title": "Render Controllers" }
},
"sound_effects": {
"title": "Sound Effects",
"description": "TODO description: sound effects",
"type": "object",
"minProperties": 1,
"additionalProperties": {
"type": "string",
"description": "TODO description: additionalProperties",
"title": "TODO"
}
"additionalProperties": { "type": "string", "description": "TODO description: additionalProperties", "title": "TODO" }
},
"spawn_egg": {
"additionalProperties": false,
"type": "object",
"description": "TODO description: spawn egg",
"title": "Spawn Egg",
"dependencies": {
"texture_index": ["texture"],
"base_colour": ["overlay_color"],
"overlay_color": ["base_color"]
},
"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": "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" }
}
},
"scripts": {
@@ -180,42 +112,18 @@
"type": "array",
"description": "TODO description: pre aninamtion",
"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/number.json", "description": "TODO description: pre aninamtion", "title": "Pre Animation" }
},
"parent_setup": {
"$ref": "../../../molang/1.8.0/number.json"
},
"scale": {
"type": "string",
"description": "TODO description: scale",
"title": "Scale"
},
"scalex": {
"$ref": "../../../molang/1.8.0/number.json",
"title": "Scale X"
},
"scaley": {
"$ref": "../../../molang/1.8.0/number.json",
"title": "Scale Y"
},
"scalez": {
"$ref": "../../../molang/1.8.0/number.json",
"title": "Scale Z"
}
"parent_setup": { "$ref": "../../../molang/1.8.0/number.json" },
"scale": { "type": "string", "description": "TODO description: scale", "title": "Scale" },
"scalex": { "$ref": "../../../molang/1.8.0/number.json", "title": "Scale X" },
"scaley": { "$ref": "../../../molang/1.8.0/number.json", "title": "Scale Y" },
"scalez": { "$ref": "../../../molang/1.8.0/number.json", "title": "Scale Z" }
}
},
"textures": {
"type": "object",
"additionalProperties": {
"type": "string",
"description": "TODO description: additionalProperties",
"title": "TODO"
},
"additionalProperties": { "type": "string", "description": "TODO description: additionalProperties", "title": "TODO" },
"description": "TODO description: textures",
"title": "Textures"
}

View File

@@ -8,33 +8,19 @@
"description": {
"identifier": "minecraft:entity",
"materials": { "default": "entity_custom" },
"textures": {
"default": "textures/entity/custom/entity"
},
"geometry": {
"default": "geometry.entity"
},
"textures": { "default": "textures/entity/custom/entity" },
"geometry": { "default": "geometry.entity" },
"animations": {},
"particle_effects": {},
"scripts": {},
"render_controllers": ["controller.render.entity"],
"spawn_egg": {
"base_color": "#288483",
"overlay_color": "#2B7135"
}
"spawn_egg": { "base_color": "#288483", "overlay_color": "#2B7135" }
}
}
}
],
"allOf": [
{
"if": { "properties": { "format_version": { "type": "string", "const": "1.8.0" } } },
"then": { "$ref": "./1.8.0/entity.json" }
},
{
"if": { "properties": { "format_version": { "type": "string", "const": "1.10.0" } } },
"then": { "$ref": "./1.10.0/entity.json" }
}
{ "if": { "properties": { "format_version": { "type": "string", "const": "1.8.0" } } }, "then": { "$ref": "./1.8.0/entity.json" } },
{ "if": { "properties": { "format_version": { "type": "string", "const": "1.10.0" } } }, "then": { "$ref": "./1.10.0/entity.json" } }
]
}