Files
minecraft-bedrock-json-schemas/resource/entity/1.8.0/entity.json
2021-01-27 01:06:07 +01:00

228 lines
8.3 KiB
JSON

{
"$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",
"description": "TODO description",
"additionalProperties": false,
"required": ["format_version", "minecraft:client_entity"],
"properties": {
"format_version": {
"title": "The 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."
},
"minecraft:client_entity": {
"type": "object",
"additionalProperties": false,
"title": "Client entity",
"description": "The definition of an entity's models, materials, textures, and animations",
"properties": {
"description": {
"additionalProperties": false,
"title": "Description definition",
"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",
"type": "object",
"minProperties": 1,
"additionalProperties": {
"type": "string",
"description": "TODO description: additionalProperties",
"title": "TODO"
}
},
"animation_controllers": {
"type": "array",
"minItems": 1,
"description": "TODO description: animation controllers",
"title": "Animation Controllers",
"items": {
"type": "object",
"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"
},
"geometry": {
"title": "Geometry definition",
"type": "object",
"minProperties": 1,
"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"
},
"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"
},
"particle_effects": {
"type": "object",
"minProperties": 1,
"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"
},
"description": "TODO description: particle emitters",
"title": "Particle Emitters"
},
"render_controllers": {
"type": "array",
"description": "TODO description: render controllers",
"title": "Render Controllers",
"minItems": 1,
"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"
}
},
"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"]
},
"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"
}
}
},
"scripts": {
"additionalProperties": false,
"type": "object",
"description": "TODO description: scripts",
"title": "Scripts",
"properties": {
"pre_animation": {
"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"
}
},
"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"
},
"description": "TODO description: textures",
"title": "Textures"
}
}
}
}
}
}
}