Bedrock Snippets

Custom Glass Block

View Source

custom_glass > rp > block_culling > glass_culling.json

{
  "format_version": "1.21.80",
  "minecraft:block_culling_rules": {
    "description": {
      "identifier": "wiki:culling.custom_glass"
    },
    "rules": [
      {
        "direction": "north",
        "condition": "same_block",
        "geometry_part": {
          "bone": "block",
          "cube": 0,
          "face": "north"
        }
      },
      {
        "direction": "south",
        "condition": "same_block",
        "geometry_part": {
          "bone": "block",
          "cube": 0,
          "face": "south"
        }
      },
      {
        "direction": "east",
        "condition": "same_block",
        "geometry_part": {
          "bone": "block",
          "cube": 0,
          "face": "east"
        }
      },
      {
        "direction": "west",
        "condition": "same_block",
        "geometry_part": {
          "bone": "block",
          "cube": 0,
          "face": "west"
        }
      },
      {
        "direction": "up",
        "condition": "same_block",
        "geometry_part": {
          "bone": "block",
          "cube": 0,
          "face": "up"
        }
      },
      {
        "direction": "down",
        "condition": "same_block",
        "geometry_part": {
          "bone": "block",
          "cube": 0,
          "face": "down"
        }
      }
    ]
  }
}
Copied to Clipboard