Item Documentation - minecraft:icon
minecraft:icon
sets the icon item component. Determines the icon to represent the item in the UI and elsewhere.
Parameters
Name | Default Value | Type | Description |
---|---|---|---|
textures | not set | JSON Object | 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. |
Example
"minecraft:icon":{
"textures": "oak_slab"
}
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈