Files
minecraft-bedrock-json-schemas/source/behavior/items/format/components/icon.json

27 lines
873 B
JSON
Raw Normal View History

2022-06-07 20:42:18 +02:00
{
2022-07-20 21:25:32 +02:00
"$id": "blockception.minecraft.behavior.items.minecraft:icon",
2022-06-07 20:42:18 +02:00
"title": "Icon",
"description": "The icon item componenent determines the icon to represent the item in the UI and elsewhere.",
"type": "object",
2024-03-16 01:02:41 +05:00
"additionalProperties": true,
2024-03-28 23:02:22 +05:00
"required": ["textures"],
2022-06-07 20:42:18 +02:00
"properties": {
2024-03-24 15:51:30 +05:00
"textures": {
"title": "Textures",
"description": "Contains key-value pairs of textures used by the item",
"type": "object",
"additionalProperties": true,
2024-03-28 23:02:22 +05:00
"required": ["default"],
2024-03-24 15:51:30 +05:00
"properties": {
"default": {
"type": "string",
"title": "Default Texture",
"description": "The key from the resource_pack/textures/item_texture.json `texture_data` object associated with the texture file Example: blaze_powder."
}
}
2022-06-07 20:42:18 +02:00
}
},
"examples": [
2024-03-24 15:51:30 +05:00
{"textures": {"default": "stick"}}
]
2024-03-24 15:51:30 +05:00
}