{
  "feature": "terralith:mountains/rocky/snow",
  "placement": [
    {
      "type": "minecraft:count",
      "count": 20
    },
    {
      "type": "minecraft:count",
      "count": 50
    },
    {
      "type": "minecraft:in_square"
    },
    {
      "type": "minecraft:random_offset",
      "xz_spread": {
        "type": "minecraft:uniform",
        "value": {
          "min_inclusive": -2,
          "max_inclusive": 2
        }
      },
      "y_spread": 0
    },
    {
      "type": "minecraft:heightmap",
      "heightmap": "WORLD_SURFACE_WG"
    },
    {
      "type": "minecraft:environment_scan",
      "direction_of_search": "down",
      "max_steps": 4,
      "target_condition": {
        "type": "minecraft:all_of",
        "predicates": [
          {
            "type": "minecraft:matching_blocks",
            "offset": [
              0,
              0,
              0
            ],
            "blocks": [
              "minecraft:air",
              "minecraft:stone",
              "minecraft:cobblestone",
              "minecraft:snow_block",
              "minecraft:powder_snow",
              "minecraft:cobbled_deepslate"
            ]
          },
          {
            "type": "minecraft:all_of",
            "predicates": [
              {
                "type": "minecraft:matching_blocks",
                "offset": [
                  0,
                  0,
                  0
                ],
                "blocks": [
                  "minecraft:air",
                  "minecraft:snow"
                ]
              },
              {
                "type": "minecraft:matching_blocks",
                "offset": [
                  1,
                  0,
                  0
                ],
                "blocks": [
                  "minecraft:air",
                  "minecraft:snow"
                ]
              },
              {
                "type": "minecraft:matching_blocks",
                "offset": [
                  2,
                  0,
                  0
                ],
                "blocks": [
                  "minecraft:air",
                  "minecraft:snow"
                ]
              },
              {
                "type": "minecraft:matching_blocks",
                "offset": [
                  -1,
                  0,
                  0
                ],
                "blocks": [
                  "minecraft:air",
                  "minecraft:snow"
                ]
              },
              {
                "type": "minecraft:matching_blocks",
                "offset": [
                  -2,
                  0,
                  0
                ],
                "blocks": [
                  "minecraft:air",
                  "minecraft:snow"
                ]
              },
              {
                "type": "minecraft:matching_blocks",
                "offset": [
                  0,
                  0,
                  1
                ],
                "blocks": [
                  "minecraft:air",
                  "minecraft:snow"
                ]
              },
              {
                "type": "minecraft:matching_blocks",
                "offset": [
                  0,
                  0,
                  2
                ],
                "blocks": [
                  "minecraft:air",
                  "minecraft:snow"
                ]
              },
              {
                "type": "minecraft:matching_blocks",
                "offset": [
                  0,
                  0,
                  -1
                ],
                "blocks": [
                  "minecraft:air",
                  "minecraft:snow"
                ]
              },
              {
                "type": "minecraft:matching_blocks",
                "offset": [
                  0,
                  0,
                  -2
                ],
                "blocks": [
                  "minecraft:air",
                  "minecraft:snow"
                ]
              }
            ]
          }
        ]
      }
    },
    {
      "type": "minecraft:biome"
    }
  ]
}
