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

37 lines
1.2 KiB
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.",
"examples": ["stick", { "textures": { "default": "stick" } }],
"oneOf": [
{
"type": "string"
},
{
"type": "object",
2024-05-11 11:48:20 +02:00
"additionalProperties": false,
"required": ["textures"],
2024-03-24 15:51:30 +05:00
"properties": {
"textures": {
"title": "Textures",
"description": "Contains key-value pairs of textures used by the item",
"type": "object",
2024-05-11 11:48:20 +02:00
"additionalProperties": {
"type": "string",
"title": "Texture",
"description": "The key from the resource_pack/textures/item_texture.json `texture_data` object associated with the texture file Example: blaze_powder."
},
"required": ["default"],
"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."
}
}
2024-03-24 15:51:30 +05:00
}
}
2022-06-07 20:42:18 +02:00
}
]
}