跳转至

Block Culling

文档版本:1.21.0.24

A resource pack file that helps the system determine how to change the appearance of this block.

架构

block_culling:
{
  format_version "format_version"
  object "minecraft:block_culling_rules" : opt
  {
    object "description" : opt
    {
      identifier "identifier"
    }
    array "rules" : opt
    {
      object "<any array element>" : opt
      {
        object "geometry_part" : opt
        {
          string "bone" : opt
          integer "cube" : opt
          string "face" : opt
        }
        string "direction" : opt
      }
    }
  }
}
format_versionformat_version
format_version:
string
minecraft:block_culling_rulesobject
JSON container used for descriptions, especially the identifier for the name of the culled version of the block.
minecraft:block_culling_rules
descriptionobject
Contains the identifier used by minecraft:geometry block components to refer to this culling data
description
identifieridentifier
Sets the identifier for this rule's description.
identifier:
string
rulesarray
List of all components used to identify geometry parts used in culling.
rules
<any array element>object
The rules that specifies a "geometry_part" and "direction"
<any array element>
geometry_partobject
Specifies the bone, cube, and face that the block will be culled. The cube and face fields are optional to allow culling a specific face. Omitting these fields will cull the whole bone.
geometry_part
bonestring
The bone within the geometry part
cubeinteger
The cube within the geometry part
facestring
The face within the geometry part
directionstring
Specifies the direction of the neighbor block to check for culling. This direction rotates with a block's Transform component.