{
  "format_version": "1.21.80",
  "minecraft:block": {
    "description": {
      "identifier": "drz:metal_gray_slab_drz",
      "menu_category": {"category": "construction"},
      "traits": {
        "minecraft:placement_position": {
          "enabled_states": ["minecraft:vertical_half"]
        }
      },
      "states": { "drz:full_block": [false, true] }
    },
    "permutations": [
      {
        "condition": "q.block_state('minecraft:vertical_half') == 'top'",
        "components": {
          "minecraft:liquid_detection": {
            "detection_rules": [
              {
                "can_contain_liquid": true
              }
            ]
          },
          "minecraft:collision_box": {
            "origin": [-8, 8, -8],
            "size"  : [16, 8, 16]
          },
          "minecraft:selection_box": {
            "origin": [-8, 8, -8],
            "size"  : [16, 8, 16]
          }
        }
      },
      {
        "condition": "q.block_state('drz:full_block')",
        "components": {
          "minecraft:geometry": "minecraft:geometry.full_block",
          "minecraft:collision_box": true,
          "minecraft:selection_box": true,
          "minecraft:liquid_detection": {
            "detection_rules": [
              {
                "can_contain_liquid": false
              }
            ]
          },
          "minecraft:light_dampening": 15
        }
      }
    ],
    "components": {
      "tag:sound:place.iron": {},
      "tag:drz:metal": {},
      "tag:decorizon": {},
      "minecraft:geometry": {
        "identifier": "geometry.slab_drz",
        "culling": "drz:slab",
        "bone_visibility": {
          "top": "q.block_state('minecraft:vertical_half') == 'top'",
          "bottom": "q.block_state('minecraft:vertical_half') == 'bottom'"
        }
      },
      "minecraft:material_instances": { 
        "*": {"texture": "metal_gray_drz"} 
      },
      "minecraft:destruction_particles": {
        "texture": "metal_gray_drz"
      },
      "minecraft:collision_box": {
        "origin": [-8, 0, -8],
        "size"  : [16, 8, 16]
      },
      "minecraft:selection_box": {
        "origin": [-8, 0, -8],
        "size"  : [16, 8, 16]
      },
      "minecraft:light_dampening": 0,
      "minecraft:map_color": "#424149",
      "minecraft:liquid_detection": {
        "detection_rules": [
          {
            "can_contain_liquid": true,
            "stops_liquid_flowing_from_direction": ["down"]
          }
        ]
      },
      "minecraft:custom_components": ["drz:slab"]
    }
  }
}