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

210 lines
9.0 KiB
JSON
Raw Normal View History

2021-06-06 10:07:19 +00:00
{
"$id": "blockception.minecraft.resource.1.10.0.attachables",
"type": "object",
2021-06-08 22:46:21 +02:00
"title": "Actor Animation 1.10.0",
2022-07-22 19:41:04 +02:00
"description": "UNDOCUMENTED.",
2021-07-01 11:35:53 +02:00
"$comment": "UNDOCUMENTED",
"required": [ "format_version", "minecraft:attachable" ],
2021-06-06 10:07:19 +00:00
"properties": {
"format_version": {
"title": "1.10.0 Format Version",
"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",
"title": "Attachables",
2022-07-22 19:41:04 +02:00
"description": "The attachables definition.",
"required": [ "description" ],
2021-06-06 10:07:19 +00:00
"properties": {
"description": {
"title": "Description",
"type": "object",
"required": [ "identifier" ],
2021-06-06 10:07:19 +00:00
"additionalProperties": false,
"properties": {
"animations": {
"type": "object",
2022-07-22 19:41:04 +02:00
"additionalProperties": { "type": "string", "description": "A single animation reference.", "title": "Animation" },
"description": "The collection of animations references.",
2021-06-06 10:07:19 +00:00
"title": "Animations"
},
"animation_controllers": {
"type": "array",
"additionalProperties": {
"type": "object",
2022-07-22 19:41:04 +02:00
"description": "A collection of animation controller references.",
2021-06-09 11:12:18 +02:00
"title": "Animation Controller",
2021-06-06 10:07:19 +00:00
"additionalProperties": {
"type": "string",
2022-07-22 19:41:04 +02:00
"description": "A single Animation controller reference.",
2021-06-06 10:07:19 +00:00
"title": "Animation Controller Reference"
2021-06-09 11:12:18 +02:00
}
2021-06-06 10:07:19 +00:00
},
2022-07-22 19:41:04 +02:00
"description": "The specification of animation controllers.",
2021-06-06 10:07:19 +00:00
"title": "Animation Controllers"
},
2022-07-22 19:41:04 +02:00
"enable_attachables": { "type": "boolean", "description": "UNDOCUMENTED: enable attachables.", "title": "Enable Attachables" },
2021-06-06 10:07:19 +00:00
"geometry": {
"title": "Geometry",
"type": "object",
"propertyNames": { "pattern": "[a-zA-Z0-9_\\.\\-]+" },
"minProperties": 1,
2022-07-22 19:41:04 +02:00
"additionalProperties": { "type": "string", "description": "A single geometry reference.", "title": "Geometry" },
"description": "The geometry specification."
2021-06-06 10:07:19 +00:00
},
"identifier": {
"type": "string",
2022-07-22 19:41:04 +02:00
"description": "UNDOCUMENTED: identifier.",
2021-06-06 10:07:19 +00:00
"title": "Identifier",
"$ref": "../../../general/item/identifier.json"
},
"item": {
"type": "object",
"title": "Item",
2022-07-22 19:41:04 +02:00
"description": "UNDOCUMENTED.",
2021-07-01 11:35:53 +02:00
"$comment": "UNDOCUMENTED",
2021-07-01 16:35:56 +02:00
"additionalProperties": {
"type": "string",
"title": "Item",
2022-07-22 19:41:04 +02:00
"description": "UNDOCUMENTED.",
2021-07-01 16:35:56 +02:00
"$comment": "UNDOCUMENTED"
}
2021-06-06 10:07:19 +00:00
},
"materials": {
"type": "object",
"additionalProperties": {
"type": "string",
"description":
"A single material reference.",
"title": "Material",
"$ref": "../../../general/vanilla/material.json"
},
2022-07-22 19:41:04 +02:00
"description": "A collection of material references.",
2021-06-06 10:07:19 +00:00
"title": "Materials"
},
"min_engine_version": {
"type": "string",
"pattern": "[0-9]+\\.[0-9]+\\.[0-9]+",
2022-07-22 19:41:04 +02:00
"description": "The minimum engine needed to use this.",
2021-07-01 16:42:21 +02:00
"title": "Minimum Engine Version"
2021-06-06 10:07:19 +00:00
},
"particle_effects": {
"type": "object",
"minProperties": 1,
2022-07-22 19:41:04 +02:00
"additionalProperties": { "type": "string", "description": "A single particle effect reference.", "title": "Particle Effect" },
"description": "A collection of particle effect references.",
2021-06-06 10:07:19 +00:00
"title": "Particle Effects"
},
"particle_emitters": {
"type": "object",
"minProperties": 1,
2022-07-22 19:41:04 +02:00
"additionalProperties": { "type": "string", "description": "UNDOCUMENTED: additionalProperties.", "title": "Particle Emitters" },
"description": "UNDOCUMENTED: particle emitters.",
2021-06-06 10:07:19 +00:00
"title": "Particle Emitters"
},
"render_controllers": {
"type": "array",
2022-07-22 19:41:04 +02:00
"description": "UNDOCUMENTED: render controllers.",
2021-06-06 10:07:19 +00:00
"title": "Render Controllers",
"minItems": 1,
2022-07-22 19:41:04 +02:00
"items": { "type": "string", "description": "UNDOCUMENTED: render controllers.", "title": "Render Controllers" }
2021-06-06 10:07:19 +00:00
},
"scripts": {
"additionalProperties": false,
"type": "object",
2022-07-22 19:41:04 +02:00
"description": "UNDOCUMENTED: scripts.",
2021-06-06 10:07:19 +00:00
"title": "Scripts",
"properties": {
"animate": {
"type": "array",
2021-06-09 11:12:18 +02:00
"title": "Animate",
2021-06-06 10:07:19 +00:00
"minItems": 1,
"items": {
"oneOf": [
2022-07-22 19:41:04 +02:00
{ "type": "string", "description": "UNDOCUMENTED: oneOf[0].", "title": "Animate" },
2021-06-06 10:07:19 +00:00
{
"type": "object",
"minProperties": 1,
2022-07-22 19:41:04 +02:00
"additionalProperties": { "type": "string", "description": "UNDOCUMENTED: additionalProperties.", "title": "Animate" },
"description": "UNDOCUMENTED: oneOf[1].",
2021-06-09 11:12:18 +02:00
"title": "Animate"
2021-06-06 10:07:19 +00:00
}
],
2022-07-22 19:41:04 +02:00
"description": "UNDOCUMENTED: animate.",
2021-06-06 10:07:19 +00:00
"title": "Animate"
},
2022-07-22 19:41:04 +02:00
"description": "UNDOCUMENTED: animate."
2021-06-06 10:07:19 +00:00
},
"initialize": {
"type": "array",
2022-07-22 19:41:04 +02:00
"description": "UNDOCUMENTED: initialize.",
2021-06-06 10:07:19 +00:00
"title": "Initialize",
"items": {
"pattern": ";$",
"$ref": "../../../molang/number.json",
2022-07-22 19:41:04 +02:00
"description": "UNDOCUMENTED: initialize.",
2021-06-06 10:07:19 +00:00
"title": "Initialize"
}
},
"pre_animation": {
"type": "array",
2022-07-22 19:41:04 +02:00
"description": "UNDOCUMENTED: pre aninamtion.",
2021-06-06 10:07:19 +00:00
"title": "Pre Animation",
"items": {
"pattern": ";$",
"$ref": "../../../molang/number.json",
2022-07-22 19:41:04 +02:00
"description": "UNDOCUMENTED: pre aninamtion.",
2021-06-06 10:07:19 +00:00
"title": "Pre Animation"
}
},
"parent_setup": {
"type": "string",
2022-07-22 19:41:04 +02:00
"description": "UNDOCUMENTED: parent setup.",
2021-06-06 10:07:19 +00:00
"title": "Parent Setup",
"$ref": "../../../molang/number.json"
},
2022-07-22 19:41:04 +02:00
"scale": { "type": "string", "description": "UNDOCUMENTED: scale.", "title": "Scale", "$ref": "../../../molang/number.json" }
2021-06-06 10:07:19 +00:00
}
},
"sound_effects": {
"type": "array",
2022-07-22 19:41:04 +02:00
"description": "UNDOCUMENTED: sound effects.",
2021-06-06 10:07:19 +00:00
"title": "Sound Effects",
"minItems": 1,
2022-07-22 19:41:04 +02:00
"items": { "type": "string", "description": "UNDOCUMENTED: sound effects.", "title": "Sound Effects" }
2021-06-06 10:07:19 +00:00
},
"spawn_egg": {
"type": "object",
2022-07-22 19:41:04 +02:00
"description": "UNDOCUMENTED: spawn egg.",
2021-06-06 10:07:19 +00:00
"title": "Spawn Egg",
"dependencies": {
"texture": [ "texture_index" ],
"texture_index": [ "texture" ],
"base_colour": [ "overlay_color" ],
"overlay_color": [ "base_colour" ]
2021-06-06 10:07:19 +00:00
},
"properties": {
2022-07-22 19:41:04 +02:00
"base_colour": { "type": "string", "description": "UNDOCUMENTED: base colour.", "title": "Base Colour" },
"overlay_color": { "type": "string", "description": "UNDOCUMENTED: overlay color.", "title": "Overlay Color" },
"texture": { "type": "string", "description": "UNDOCUMENTED: texture.", "title": "Texture" },
"texture_index": { "type": "integer", "description": "UNDOCUMENTED: texture index.", "title": "Texture Index" }
2021-06-06 10:07:19 +00:00
}
},
"textures": {
"type": "object",
2022-07-22 19:41:04 +02:00
"additionalProperties": { "type": "string", "description": "UNDOCUMENTED: additionalProperties.", "title": "Texture" },
"description": "UNDOCUMENTED: textures.",
2021-06-06 10:07:19 +00:00
"title": "Textures"
}
},
2022-07-22 19:41:04 +02:00
"description": "UNDOCUMENTED: description."
2021-06-06 10:07:19 +00:00
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}