Custom Fences
📝 RP/block_culling/custom_fence.json
json
{
"format_version": "1.21.80",
"minecraft:block_culling_rules": {
"description": {
"identifier": "wiki:culling.custom_fence"
},
"rules": [
// Post
{
"direction": "down",
"geometry_part": {
"bone": "post",
"cube": 0,
"face": "down"
}
},
{
"direction": "up",
"geometry_part": {
"bone": "post",
"cube": 0,
"face": "up"
}
},
// North rails
{
"direction": "north",
"geometry_part": {
"bone": "north_rails",
"cube": 0,
"face": "north"
}
},
{
"direction": "north",
"geometry_part": {
"bone": "north_rails",
"cube": 1,
"face": "north"
}
},
// South rails
{
"direction": "south",
"geometry_part": {
"bone": "south_rails",
"cube": 0,
"face": "south"
}
},
{
"direction": "south",
"geometry_part": {
"bone": "south_rails",
"cube": 1,
"face": "south"
}
},
// West rails
{
"direction": "west",
"geometry_part": {
"bone": "west_rails",
"cube": 0,
"face": "west"
}
},
{
"direction": "west",
"geometry_part": {
"bone": "west_rails",
"cube": 1,
"face": "west"
}
},
// East rails
{
"direction": "east",
"geometry_part": {
"bone": "east_rails",
"cube": 0,
"face": "east"
}
},
{
"direction": "east",
"geometry_part": {
"bone": "east_rails",
"cube": 1,
"face": "east"
}
}
]
}
}Code samples on this page are licensed under the MIT License