Files
minecraft-bedrock-json-schemas/source/resource/attachables/1.10.0/attachables.json

197 lines
8.5 KiB
JSON
Raw Normal View History

2020-11-01 17:22:42 +01:00
{
"$id": "blockception.minecraft.resource.1.10.0.attachables",
"type": "object",
2021-03-21 15:18:38 +01:00
"title": "Resourcepack Actor Animation 1.10.0",
2020-11-01 17:22:42 +01:00
"description": "TODO description",
"required": ["format_version", "minecraft:attachable"],
"properties": {
"format_version": {
2021-03-21 15:18:38 +01:00
"title": "1.10.0 Format Version",
2020-11-01 17:22:42 +01:00
"type": "string",
"pattern": "^(1.10.0|1.10)$",
"description": "A version that tells minecraft what type of data format can be expected when reading this file."
},
"minecraft:attachable": {
"type": "object",
2021-03-21 15:18:38 +01:00
"title": "Attachables",
2020-11-01 17:22:42 +01:00
"description": "The attachables definition",
"required": ["description"],
"properties": {
"description": {
2021-04-04 14:00:43 +02:00
"title": "Description",
2020-11-01 17:22:42 +01:00
"type": "object",
"required": ["identifier"],
"additionalProperties": false,
"properties": {
"animations": {
"type": "object",
2021-03-21 15:18:38 +01:00
"additionalProperties": { "type": "string", "description": "A single animation reference", "title": "Animation" },
2020-11-01 17:22:42 +01:00
"description": "The collection of animations references",
"title": "Animations"
},
"animation_controllers": {
"type": "array",
"additionalProperties": {
"type": "object",
2021-05-18 23:32:44 +02:00
"additionalProperties": {
"type": "string",
"description": "A single Animation controller reference",
"title": "Animation Controller Reference"
},
2020-11-01 17:22:42 +01:00
"description": "A collection of animation controller references",
"title": "TODO"
},
"description": "The specification of animation controllers",
"title": "Animation Controllers"
},
2021-03-21 15:18:38 +01:00
"enable_attachables": { "type": "boolean", "description": "TODO description: enable attachables", "title": "Enable Attachables" },
2020-11-01 17:22:42 +01:00
"geometry": {
2021-04-04 14:00:43 +02:00
"title": "Geometry",
2020-11-01 17:22:42 +01:00
"type": "object",
2021-03-21 15:18:38 +01:00
"propertyNames": { "pattern": "[a-zA-Z0-9_\\.\\-]+" },
2020-11-01 17:22:42 +01:00
"minProperties": 1,
2021-03-21 15:18:38 +01:00
"additionalProperties": { "type": "string", "description": "A single geometry reference", "title": "Geometry" },
2020-11-01 17:22:42 +01:00
"description": "The geometry specification"
},
2021-05-18 23:32:44 +02:00
"identifier": {
"type": "string",
"description": "TODO description: identifier",
"title": "Identifier",
"$ref": "../../../general/item/identifier.json"
},
"item": {
"type": "object",
"title": "Item",
"description": "TODO",
"additionalProperties": { "type": "string", "title": "TODO", "description": "TODO" }
},
2020-11-01 17:22:42 +01:00
"materials": {
"type": "object",
2021-03-21 15:18:38 +01:00
"additionalProperties": { "type": "string", "description": "A single material reference", "title": "Material" },
2020-11-01 17:22:42 +01:00
"description": "A collection of material references",
"title": "Materials"
},
"min_engine_version": {
"type": "string",
"pattern": "[0-9]+\\.[0-9]+\\.[0-9]+",
"description": "The minimum engine needed to use this",
"title": "Min Engine Version"
},
"particle_effects": {
"type": "object",
"minProperties": 1,
2021-03-21 15:18:38 +01:00
"additionalProperties": { "type": "string", "description": "A single particle effect reference", "title": "Particle Effect" },
2020-11-01 17:22:42 +01:00
"description": "A collection of particle effect references",
"title": "Particle Effects"
},
"particle_emitters": {
"type": "object",
"minProperties": 1,
2021-03-21 15:18:38 +01:00
"additionalProperties": { "type": "string", "description": "TODO description: additionalProperties", "title": "TODO" },
2020-11-01 17:22:42 +01:00
"description": "TODO description: particle emitters",
"title": "Particle Emitters"
},
"render_controllers": {
"type": "array",
"description": "TODO description: render controllers",
"title": "Render Controllers",
"minItems": 1,
2021-03-21 15:18:38 +01:00
"items": { "type": "string", "description": "TODO description: render controllers", "title": "Render Controllers" }
2020-11-01 17:22:42 +01:00
},
"scripts": {
"additionalProperties": false,
"type": "object",
"description": "TODO description: scripts",
"title": "Scripts",
"properties": {
"animate": {
"type": "array",
2021-03-21 15:18:38 +01:00
"title": "Animate Schema",
2020-11-01 17:22:42 +01:00
"minItems": 1,
"items": {
"oneOf": [
2021-03-21 15:18:38 +01:00
{ "type": "string", "description": "TODO description: oneOf[0]", "title": "TODO Title" },
2020-11-01 17:22:42 +01:00
{
"type": "object",
"minProperties": 1,
2021-03-21 15:18:38 +01:00
"additionalProperties": { "type": "string", "description": "TODO description: additionalProperties", "title": "TODO" },
2020-11-01 17:22:42 +01:00
"description": "TODO description: oneOf[1]",
2021-03-21 15:18:38 +01:00
"title": "TODO Title"
2020-11-01 17:22:42 +01:00
}
],
"description": "TODO description: animate",
"title": "Animate"
},
"description": "TODO description: animate"
},
"initialize": {
"type": "array",
"description": "TODO description: initialize",
"title": "Initialize",
2021-05-18 23:32:44 +02:00
"items": {
"pattern": ";$",
2021-06-05 21:54:49 +02:00
"$ref": "../../../molang/number.json",
2021-05-18 23:32:44 +02:00
"description": "TODO description: initialize",
"title": "Initialize"
}
2020-11-01 17:22:42 +01:00
},
"pre_animation": {
"type": "array",
"description": "TODO description: pre aninamtion",
"title": "Pre Animation",
2021-05-18 23:32:44 +02:00
"items": {
"pattern": ";$",
2021-06-05 21:54:49 +02:00
"$ref": "../../../molang/number.json",
2021-05-18 23:32:44 +02:00
"description": "TODO description: pre aninamtion",
"title": "Pre Animation"
}
},
"parent_setup": {
"type": "string",
"description": "TODO description: parent setup",
"title": "Parent Setup",
2021-06-05 21:54:49 +02:00
"$ref": "../../../molang/number.json"
2020-11-01 17:22:42 +01:00
},
2021-06-05 21:54:49 +02:00
"scale": { "type": "string", "description": "TODO description: scale", "title": "Scale", "$ref": "../../../molang/number.json" }
2020-11-01 17:22:42 +01:00
}
},
"sound_effects": {
"type": "array",
"description": "TODO description: sound effects",
"title": "Sound Effects",
"minItems": 1,
2021-03-21 15:18:38 +01:00
"items": { "type": "string", "description": "TODO description: sound effects", "title": "Sound Effects" }
2020-11-01 17:22:42 +01:00
},
"spawn_egg": {
"type": "object",
"description": "TODO description: spawn egg",
"title": "Spawn Egg",
2021-05-18 23:32:44 +02:00
"dependencies": {
"texture": ["texture_index"],
"texture_index": ["texture"],
"base_colour": ["overlay_color"],
"overlay_color": ["base_colour"]
},
2020-11-01 17:22:42 +01:00
"properties": {
2021-03-21 15:18:38 +01:00
"base_colour": { "type": "string", "description": "TODO description: base colour", "title": "Base Colour" },
"overlay_color": { "type": "string", "description": "TODO description: overlay color", "title": "Overlay Color" },
"texture": { "type": "string", "description": "TODO description: texture", "title": "Texture" },
"texture_index": { "type": "integer", "description": "TODO description: texture index", "title": "Texture Index" }
2020-11-01 17:22:42 +01:00
}
},
"textures": {
"type": "object",
2021-03-21 15:18:38 +01:00
"additionalProperties": { "type": "string", "description": "TODO description: additionalProperties", "title": "TODO" },
2020-11-01 17:22:42 +01:00
"description": "TODO description: textures",
"title": "Textures"
}
},
"description": "TODO description: description"
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}