{
  "feature": {
    "type": "minecraft:root_system",
    "config": {
      "required_vertical_space_for_tree": 1,
      "root_radius": 3,
      "root_placement_attempts": 20,
      "root_column_max_height": 100,
      "hanging_root_radius": 3,
      "hanging_roots_vertical_span": 2,
      "hanging_root_placement_attempts": 20,
      "allowed_vertical_water_for_tree": 4,
      "root_replaceable": "#minecraft:azalea_root_replaceable",
      "root_state_provider": {
        "type": "minecraft:simple_state_provider",
        "state": {
          "Name": "minecraft:granite"
        }
      },
      "hanging_root_state_provider": {
        "type": "minecraft:simple_state_provider",
        "state": {
          "Name": "minecraft:granite"
        }
      },
      "allowed_tree_position": {
        "type": "minecraft:matching_blocks",
        "offset": [
          0,
          13,
          0
        ],
        "blocks": [
          "minecraft:air"
        ]
      },
      "feature": {
        "feature": {
          "type": "minecraft:random_selector",
          "config": {
            "features": [
              {
                "chance": 0.05,
                "feature": "terralith:cave/stone/granite_pillar_large"
              }
            ],
            "default": "terralith:cave/stone/granite_pillar_small"
          }
        },
        "placement": []
      }
    }
  },
  "placement": [
    {
      "type": "minecraft:rarity_filter",
      "chance": 16
    },
    {
      "type": "minecraft:in_square"
    },
    {
      "type": "minecraft:height_range",
      "height": {
        "type": "minecraft:uniform",
        "min_inclusive": {
          "absolute": -64
        },
        "max_inclusive": {
          "absolute": 112
        }
      }
    },
    {
      "type": "minecraft:environment_scan",
      "direction_of_search": "up",
      "max_steps": 32,
      "target_condition": {
        "type": "minecraft:all_of",
        "predicates": [
          {
            "type": "minecraft:matching_blocks",
            "offset": [
              0,
              1,
              0
            ],
            "blocks": [
              "minecraft:granite"
            ]
          },
          {
            "type": "minecraft:matching_blocks",
            "offset": [
              0,
              0,
              0
            ],
            "blocks": [
              "minecraft:air",
              "minecraft:cave_air"
            ]
          }
        ]
      }
    },
    {
      "type": "minecraft:biome"
    }
  ]
}
