跳转至

Geometry

文档版本:1.21.0.24

The description identifier of the geometry file to use to render this block. This identifier must match an existing geometry identifier in any of the currently loaded resource packs.

架构

geometry:
string
geometry:
{
  string "identifier" : opt
  object "bone_visibility" : opt
  {
    ['boolean', 'string'] "<any object property>" : opt
  }
  string "culling" : opt
}
identifierstring
The description identifier of the geometry file to use to render this block. This identifier must match an existing geometry identifier in any of the currently loaded resource packs.
bone_visibilityobject
A list of bones that should be visible when rendering this block. If not specified, all bones will be visible.
bone_visibility
<any object property>['boolean', 'string']
Whether or not the bone should be visible. Can be defined as a boolean or a molang expression resulting in a boolean.
cullingstring
The description identifer of the block culling rule used to cull this block. This identifier must match an existing geometry identifier in any of the currently loaded resource packs.