Примечание
Для доступа к этой странице требуется авторизация. Вы можете попробовать войти или изменить каталоги.
Для доступа к этой странице требуется авторизация. Вы можете попробовать изменить каталоги.
Determines the icon to represent the item in the UI and elsewhere.
Alternate Simple Representations
This item can also be represented as a String
.
Icon Properties
Name | Default Value | Type | Description | Example Values |
---|---|---|---|---|
textures | not set | Textures item | This map contains the different textures that can be used for the item's icon. Default will contain the actual icon texture. Armor trim textures and palettes can be specified here as well. The icon textures are the keys from the resource_pack/textures/item_texture.json 'texture_data' object associated with the texture file. | Black Bundle: {"default":"bundle_black"} , Blue Bundle: {"default":"bundle_blue"} , Brown Bundle: {"default":"bundle_brown"} |
(deprecated) texture | not set | String | Deprecated - no longer in use. This contains a single texture for the items icon. | Apple: "apple" , Breeze Rod: "breeze_rod" , Ominous Trial Key: "ominous_trial_key" |
Textures item type
Textures Properties
Name | Default Value | Type | Description | Example Values |
---|---|---|---|---|
default | not set | String | Black Bundle: "bundle_black" |
Samples
"minecraft:icon": "oak_slab"
Apple
"minecraft:icon": {
"texture": "apple"
}
Black Bundle
"minecraft:icon": {
"textures": {
"default": "bundle_black"
}
}
Blue Bundle
"minecraft:icon": {
"textures": {
"default": "bundle_blue"
}
}
Breeze Rod
"minecraft:icon": {
"texture": "breeze_rod"
}
Brown Bundle
"minecraft:icon": {
"textures": {
"default": "bundle_brown"
}
}
Bundle
"minecraft:icon": {
"textures": {
"default": "bundle"
}
}
Cyan Bundle
"minecraft:icon": {
"textures": {
"default": "bundle_cyan"
}
}
Gray Bundle
"minecraft:icon": {
"textures": {
"default": "bundle_gray"
}
}
Green Bundle
"minecraft:icon": {
"textures": {
"default": "bundle_green"
}
}
Light Blue Bundle
"minecraft:icon": {
"textures": {
"default": "bundle_light_blue"
}
}
Light Gray Bundle
"minecraft:icon": {
"textures": {
"default": "bundle_light_gray"
}
}