Files

185 lines
8.1 KiB
JSON
Raw Permalink Normal View History

2021-06-06 10:07:19 +00:00
{
"$id": "blockception.minecraft.resource.1.8.0.attachables",
"type": "object",
2021-06-08 22:46:21 +02:00
"title": "Actor Animation 1.8.0",
2022-07-22 19:41:04 +02:00
"description": "UNDOCUMENTED.",
2021-07-01 11:35:53 +02:00
"$comment": "UNDOCUMENTED",
2021-06-06 10:07:19 +00:00
"required": ["format_version", "minecraft:attachable"],
"properties": {
"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."
},
"minecraft:attachable": {
"type": "object",
"title": "Attachables",
"description": "The attachables definition for 1.8.0",
"required": ["description"],
"properties": {
"description": {
"additionalProperties": false,
"title": "Description",
2022-07-22 19:41:04 +02:00
"description": "UNDOCUMENTED: description.",
2021-06-06 10:07:19 +00:00
"type": "object",
"required": ["identifier", "geometry"],
"properties": {
"animations": {
2022-07-22 19:41:04 +02:00
"description": "The connecting of animations in animations controllers with the actuall animations, names should corosponds.",
2021-06-09 11:12:18 +02:00
"title": "Animations",
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": "Animation" }
2021-06-06 10:07:19 +00:00
},
"animation_controllers": {
"type": "array",
"minItems": 1,
2022-07-22 19:41:04 +02:00
"description": "UNDOCUMENTED: animation controllers.",
2021-06-06 10:07:19 +00:00
"title": "Animation Controllers",
"items": {
"type": "object",
2022-07-22 19:41:04 +02:00
"additionalProperties": { "type": "string", "description": "UNDOCUMENTED: additionalProperties.", "title": "Animation Controller" },
"description": "UNDOCUMENTED: 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",
"minProperties": 1,
2022-07-22 19:41:04 +02:00
"additionalProperties": { "type": "string", "description": "UNDOCUMENTED: additionalProperties.", "title": "Geometry" },
"description": "UNDOCUMENTED: geometry."
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",
"title": "Materials",
"additionalProperties": {
"type": "string", "description": "Material Reference.", "title": "Material",
"$ref": "../../../general/vanilla/material.json"
}
2021-06-06 10:07:19 +00:00
},
"min_engine_version": {
"type": "string",
"pattern": "[0-9]+\\.[0-9]+\\.[0-9]+",
2022-07-22 19:41:04 +02:00
"description": "UNDOCUMENTED: Minimum engine version.",
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": "UNDOCUMENTED: additionalProperties.", "title": "Particle Effects" },
"description": "UNDOCUMENTED: particle effects.",
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 Emitter" },
"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
},
"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"]
},
"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
}
},
"scripts": {
"type": "object",
2022-07-22 19:41:04 +02:00
"description": "UNDOCUMENTED: scripts.",
2021-06-09 11:12:18 +02:00
"title": "Scripts",
2021-06-06 10:07:19 +00:00
"properties": {
"pre_animation": {
"type": "array",
"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"
},
2022-07-22 19:41:04 +02:00
"description": "UNDOCUMENTED: pre aninamtion.",
2021-06-06 10:07:19 +00:00
"title": "Pre Animation"
},
2022-07-22 19:41:04 +02:00
"scale": { "type": "string", "description": "UNDOCUMENTED: scale.", "title": "Scale" },
2021-06-06 10:07:19 +00:00
"animate": {
"type": "array",
2021-06-09 11:12:18 +02:00
"title": "Animate",
2021-06-06 10:07:19 +00:00
"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
},
"parent_setup": { "$ref": "../../../molang/number.json" }
2021-06-09 11:12:18 +02:00
}
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": "Textures" },
"description": "UNDOCUMENTED: textures.",
2021-06-06 10:07:19 +00:00
"title": "Textures"
}
}
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}