跳转至

Icon

文档版本:1.21.0.24

The icon item componenent determines the icon to represent the item in the UI and elsewhere.

架构

minecraft:icon:
{
  object "textures" : opt
  {
    string "default" : opt
  }
}
texturesobject
Contains key-value pairs of textures used by the item
textures
defaultstring
The key from the resource_pack/textures/item_texture.json texture_data object associated with the texture file Example: blaze_powder.