跳转至

未命名

文档版本:1.21.0.24

架构

items:
{
  string "format_version" : opt
  object "minecraft:item" : opt
  {
    object "description" : opt
    {
      identifier "identifier"
      string "category" : opt
    }
    object "components" : opt
    {
      string "minecraft:icon" : opt
      string "minecraft:render_offsets" : opt
    }
  }
}
format_versionstring
A version that tells minecraft what type of data format can be expected when reading this file.
minecraft:itemobject
A resource pack definition of an item.
minecraft:item
descriptionobject
The description of an item.
description
identifieridentifier
The item identifier.
identifier:
string
categorystring
The category this item belongs in.
componentsobject
The components that describe this item.
components
minecraft:iconstring
The texture defined in textures/item_texture.json
minecraft:render_offsetsstring
The render offset used for the item.
items:
{
  format_version "format_version"
}
format_versionformat_version
format_version:
string