{
  "type": "random_patch",
  "config": {
    "feature": {
      "feature": {
        "type": "random_selector",
        "config": {
          "default": {
            "feature": "nova_structures:snow_pile",
            "placement": [
              {
                "type": "environment_scan",
                "direction_of_search": "down",
                "max_steps": 10,
                "target_condition": {
                  "type": "has_sturdy_face",
                  "direction": "up",
                  "offset": [
                    0,
                    -1,
                    0
                  ]
                }
              },
              {
                "type": "block_predicate_filter",
                "predicate": {
                  "type": "all_of",
                  "predicates": [
                    {
                      "type": "minecraft:any_of",
                      "predicates": [
                        {
                          "type": "minecraft:replaceable"
                        },
                        {
                          "type": "minecraft:matching_block_tag",
                          "tag": "minecraft:wool_carpets"
                        }
                      ]
                    },
                    {
                      "type": "not",
                      "predicate": {
                        "type": "matching_blocks",
                        "blocks": [
                          "water",
                          "lava"
                        ]
                      }
                    },
                    {
                      "type": "not",
                      "predicate": {
                        "type": "matching_blocks",
                        "blocks": [
                          "snow_block",
                          "packed_ice",
                          "blue_ice"
                        ],
                        "offset": [
                          0,
                          -1,
                          0
                        ]
                      }
                    }
                  ]
                }
              }
            ]
          },
          "features": [
            {
              "chance": 0.05,
              "feature": {
                "feature": "nova_structures:packed_ice_pile",
                "placement": [
                  {
                    "type": "environment_scan",
                    "direction_of_search": "down",
                    "max_steps": 5,
                    "target_condition": {
                      "type": "any_of",
                      "predicates": [
                        {
                          "type": "minecraft:matching_blocks",
                          "blocks": [
                            "spruce_log",
                            "spruce_planks",
                            "stripped_spruce_log",
                            "packed_ice"
                          ]
                        },
                        {
                          "type": "all_of",
                          "predicates": [
                            {
                              "type": "has_sturdy_face",
                              "direction": "up",
                              "offset": [
                                0,
                                -1,
                                0
                              ]
                            },
                            {
                              "type": "not",
                              "predicate": {
                                "type": "matching_blocks",
                                "blocks": [
                                  "spruce_log",
                                  "spruce_planks",
                                  "stripped_spruce_log",
                                  "snow_block"
                                ],
                                "offset": [
                                  0,
                                  -1,
                                  0
                                ]
                              }
                            },
                            {
                              "type": "minecraft:matching_block_tag",
                              "tag": "nova_structures:support_goes_through"
                            }
                          ]
                        }
                      ]
                    }
                  }
                ]
              }
            },
            {
              "chance": 0.2,
              "feature": {
                "feature": "nova_structures:frozen_ceiling",
                "placement": [
                  {
                    "type": "environment_scan",
                    "direction_of_search": "up",
                    "max_steps": 5,
                    "target_condition": {
                      "type": "minecraft:matching_blocks",
                      "blocks": [
                        "spruce_log",
                        "spruce_planks",
                        "stripped_spruce_log",
                        "deepslate",
                        "deepslate_brick_slab",
                        "deepslate_brick_stairs",
                        "deepslate_bricks",
                        "deepslate_tile_slab",
                        "deepslate_tile_stairs",
                        "deepslate_tiles",
                        "cobbled_deepslate",
                        "cobbled_deepslate_slab",
                        "cobbled_deepslate_stairs"
                      ]
                    }
                  }
                ]
              }
            }
          ]
        }
      },
      "placement": []
    },
    "xz_spread": 3,
    "y_spread": 2,
    "tries": 160
  }
}