Icon¶
文档版本:1.21.50.25
The icon item componenent determines the icon to represent the item in the UI and elsewhere.
架构¶
minecraft:icon:
{
object "textures" : opt
{
string "default" : opt
string "<any object property>" : opt
}
}
textures
:object- Contains key-value pairs of textures used by the item
textures
default
:string- The key from the resource_pack/textures/item_texture.json
texture_data
object associated with the texture file Example: blaze_powder.
<any object property>
:string- The key from the resource_pack/textures/item_texture.json
texture_data
object associated with the texture file Example: blaze_powder.