Block Culling¶
文档版本:1.21.50.25
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_version:format_version
minecraft:block_culling_rules:object- JSON container used for descriptions, especially the identifier for the name of the culled version of the block.
minecraft:block_culling_rulesdescription:object- Contains the identifier used by minecraft:geometry block components to refer to this culling data
descriptionrules:array- 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_part:object- 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_partbone:string- The bone within the geometry part
cube:integer- The cube within the geometry part
face:string- The face within the geometry part
direction:string- Specifies the direction of the neighbor block to check for culling. This direction rotates with a block's Transform component.