{
  "feature": {
    "type": "minecraft:random_selector",
    "config": {
      "features": [
        {
          "chance": 0.5,
          "feature": {
            "feature": {
              "type": "minecraft:disk",
              "config": {
                "state_provider": {
                  "fallback": {
                    "type": "minecraft:simple_state_provider",
                    "state": {
                      "Name": "minecraft:air"
                    }
                  },
                  "rules": []
                },
                "target": {
                  "type": "minecraft:all_of",
                  "predicates": [
                    {
                      "type": "minecraft:all_of",
                      "predicates": [
                        {
                          "type": "minecraft:any_of",
                          "predicates": [
                            {
                              "type": "minecraft:matching_block_tag",
                              "tag": "wythers:river_carver_replaceables"
                            }
                          ]
                        },
                        {
                          "type": "minecraft:matching_blocks",
                          "offset": [
                            1,
                            2,
                            0
                          ],
                          "blocks": [
                            "minecraft:air",
                            "minecraft:short_grass",
                            "minecraft:fern"
                          ]
                        },
                        {
                          "type": "minecraft:matching_blocks",
                          "offset": [
                            -1,
                            2,
                            0
                          ],
                          "blocks": [
                            "minecraft:air",
                            "minecraft:short_grass",
                            "minecraft:fern"
                          ]
                        },
                        {
                          "type": "minecraft:matching_blocks",
                          "offset": [
                            0,
                            2,
                            1
                          ],
                          "blocks": [
                            "minecraft:air",
                            "minecraft:short_grass",
                            "minecraft:fern"
                          ]
                        },
                        {
                          "type": "minecraft:matching_blocks",
                          "offset": [
                            0,
                            2,
                            -1
                          ],
                          "blocks": [
                            "minecraft:air",
                            "minecraft:short_grass",
                            "minecraft:fern"
                          ]
                        },
                        {
                          "type": "minecraft:matching_blocks",
                          "offset": [
                            0,
                            1,
                            0
                          ],
                          "blocks": [
                            "minecraft:air",
                            "minecraft:short_grass",
                            "minecraft:fern"
                          ]
                        },
                        {
                          "type": "minecraft:any_of",
                          "predicates": [
                            {
                              "type": "minecraft:matching_blocks",
                              "offset": [
                                1,
                                0,
                                0
                              ],
                              "blocks": "minecraft:air"
                            },
                            {
                              "type": "minecraft:matching_blocks",
                              "offset": [
                                -1,
                                0,
                                0
                              ],
                              "blocks": "minecraft:air"
                            },
                            {
                              "type": "minecraft:matching_blocks",
                              "offset": [
                                0,
                                0,
                                1
                              ],
                              "blocks": "minecraft:air"
                            },
                            {
                              "type": "minecraft:matching_blocks",
                              "offset": [
                                0,
                                0,
                                -1
                              ],
                              "blocks": "minecraft:air"
                            }
                          ]
                        },
                        {
                          "type": "minecraft:not",
                          "predicate": {
                            "type": "minecraft:any_of",
                            "predicates": [
                              {
                                "type": "minecraft:matching_fluids",
                                "offset": [
                                  1,
                                  0,
                                  1
                                ],
                                "fluids": "minecraft:water"
                              },
                              {
                                "type": "minecraft:matching_fluids",
                                "offset": [
                                  1,
                                  0,
                                  0
                                ],
                                "fluids": "minecraft:water"
                              },
                              {
                                "type": "minecraft:matching_fluids",
                                "offset": [
                                  1,
                                  0,
                                  -1
                                ],
                                "fluids": "minecraft:water"
                              },
                              {
                                "type": "minecraft:matching_fluids",
                                "offset": [
                                  0,
                                  0,
                                  1
                                ],
                                "fluids": "minecraft:water"
                              },
                              {
                                "type": "minecraft:matching_fluids",
                                "offset": [
                                  0,
                                  0,
                                  -1
                                ],
                                "fluids": "minecraft:water"
                              },
                              {
                                "type": "minecraft:matching_fluids",
                                "offset": [
                                  -1,
                                  0,
                                  1
                                ],
                                "fluids": "minecraft:water"
                              },
                              {
                                "type": "minecraft:matching_fluids",
                                "offset": [
                                  -1,
                                  0,
                                  0
                                ],
                                "fluids": "minecraft:water"
                              },
                              {
                                "type": "minecraft:matching_fluids",
                                "offset": [
                                  -1,
                                  0,
                                  -1
                                ],
                                "fluids": "minecraft:water"
                              },
                              {
                                "type": "minecraft:matching_fluids",
                                "offset": [
                                  2,
                                  0,
                                  0
                                ],
                                "fluids": "minecraft:water"
                              },
                              {
                                "type": "minecraft:matching_fluids",
                                "offset": [
                                  -2,
                                  0,
                                  0
                                ],
                                "fluids": "minecraft:water"
                              },
                              {
                                "type": "minecraft:matching_fluids",
                                "offset": [
                                  0,
                                  0,
                                  2
                                ],
                                "fluids": "minecraft:water"
                              },
                              {
                                "type": "minecraft:matching_fluids",
                                "offset": [
                                  0,
                                  0,
                                  -2
                                ],
                                "fluids": "minecraft:water"
                              },
                              {
                                "type": "minecraft:matching_fluids",
                                "offset": [
                                  3,
                                  0,
                                  0
                                ],
                                "fluids": "minecraft:water"
                              },
                              {
                                "type": "minecraft:matching_fluids",
                                "offset": [
                                  -3,
                                  0,
                                  0
                                ],
                                "fluids": "minecraft:water"
                              },
                              {
                                "type": "minecraft:matching_fluids",
                                "offset": [
                                  0,
                                  0,
                                  3
                                ],
                                "fluids": "minecraft:water"
                              },
                              {
                                "type": "minecraft:matching_fluids",
                                "offset": [
                                  0,
                                  0,
                                  -3
                                ],
                                "fluids": "minecraft:water"
                              },
                              {
                                "type": "minecraft:matching_fluids",
                                "offset": [
                                  4,
                                  0,
                                  0
                                ],
                                "fluids": "minecraft:water"
                              },
                              {
                                "type": "minecraft:matching_fluids",
                                "offset": [
                                  -4,
                                  0,
                                  0
                                ],
                                "fluids": "minecraft:water"
                              },
                              {
                                "type": "minecraft:matching_fluids",
                                "offset": [
                                  0,
                                  0,
                                  4
                                ],
                                "fluids": "minecraft:water"
                              },
                              {
                                "type": "minecraft:matching_fluids",
                                "offset": [
                                  0,
                                  0,
                                  -4
                                ],
                                "fluids": "minecraft:water"
                              },
                              {
                                "type": "minecraft:matching_fluids",
                                "offset": [
                                  5,
                                  0,
                                  0
                                ],
                                "fluids": "minecraft:water"
                              },
                              {
                                "type": "minecraft:matching_fluids",
                                "offset": [
                                  -5,
                                  0,
                                  0
                                ],
                                "fluids": "minecraft:water"
                              },
                              {
                                "type": "minecraft:matching_fluids",
                                "offset": [
                                  0,
                                  0,
                                  5
                                ],
                                "fluids": "minecraft:water"
                              },
                              {
                                "type": "minecraft:matching_fluids",
                                "offset": [
                                  0,
                                  0,
                                  -5
                                ],
                                "fluids": "minecraft:water"
                              }
                            ]
                          }
                        }
                      ]
                    }
                  ]
                },
                "radius": {
                  "type": "minecraft:uniform",
                  "min_inclusive": 5,
                  "max_inclusive": 7
                },
                "half_height": 4
              }
            },
            "placement": []
          }
        }
      ],
      "default": {
        "feature": {
          "type": "minecraft:disk",
          "config": {
            "state_provider": {
              "fallback": {
                "type": "minecraft:simple_state_provider",
                "state": {
                  "Name": "minecraft:air"
                }
              },
              "rules": []
            },
            "target": {
              "type": "minecraft:all_of",
              "predicates": [
                {
                  "type": "minecraft:all_of",
                  "predicates": [
                    {
                      "type": "minecraft:any_of",
                      "predicates": [
                        {
                          "type": "minecraft:matching_block_tag",
                          "tag": "wythers:river_carver_replaceables"
                        }
                      ]
                    },
                    {
                      "type": "minecraft:matching_blocks",
                      "offset": [
                        1,
                        1,
                        0
                      ],
                      "blocks": [
                        "minecraft:air",
                        "minecraft:short_grass",
                        "minecraft:fern"
                      ]
                    },
                    {
                      "type": "minecraft:matching_blocks",
                      "offset": [
                        -1,
                        1,
                        0
                      ],
                      "blocks": [
                        "minecraft:air",
                        "minecraft:short_grass",
                        "minecraft:fern"
                      ]
                    },
                    {
                      "type": "minecraft:matching_blocks",
                      "offset": [
                        0,
                        1,
                        1
                      ],
                      "blocks": [
                        "minecraft:air",
                        "minecraft:short_grass",
                        "minecraft:fern"
                      ]
                    },
                    {
                      "type": "minecraft:matching_blocks",
                      "offset": [
                        0,
                        1,
                        -1
                      ],
                      "blocks": [
                        "minecraft:air",
                        "minecraft:short_grass",
                        "minecraft:fern"
                      ]
                    },
                    {
                      "type": "minecraft:matching_blocks",
                      "offset": [
                        0,
                        1,
                        0
                      ],
                      "blocks": [
                        "minecraft:air",
                        "minecraft:short_grass",
                        "minecraft:fern"
                      ]
                    },
                    {
                      "type": "minecraft:any_of",
                      "predicates": [
                        {
                          "type": "minecraft:matching_blocks",
                          "offset": [
                            1,
                            0,
                            0
                          ],
                          "blocks": "minecraft:air"
                        },
                        {
                          "type": "minecraft:matching_blocks",
                          "offset": [
                            -1,
                            0,
                            0
                          ],
                          "blocks": "minecraft:air"
                        },
                        {
                          "type": "minecraft:matching_blocks",
                          "offset": [
                            0,
                            0,
                            1
                          ],
                          "blocks": "minecraft:air"
                        },
                        {
                          "type": "minecraft:matching_blocks",
                          "offset": [
                            0,
                            0,
                            -1
                          ],
                          "blocks": "minecraft:air"
                        }
                      ]
                    },
                    {
                      "type": "minecraft:not",
                      "predicate": {
                        "type": "minecraft:any_of",
                        "predicates": [
                          {
                            "type": "minecraft:matching_fluids",
                            "offset": [
                              1,
                              0,
                              1
                            ],
                            "fluids": "minecraft:water"
                          },
                          {
                            "type": "minecraft:matching_fluids",
                            "offset": [
                              1,
                              0,
                              0
                            ],
                            "fluids": "minecraft:water"
                          },
                          {
                            "type": "minecraft:matching_fluids",
                            "offset": [
                              1,
                              0,
                              -1
                            ],
                            "fluids": "minecraft:water"
                          },
                          {
                            "type": "minecraft:matching_fluids",
                            "offset": [
                              0,
                              0,
                              1
                            ],
                            "fluids": "minecraft:water"
                          },
                          {
                            "type": "minecraft:matching_fluids",
                            "offset": [
                              0,
                              0,
                              -1
                            ],
                            "fluids": "minecraft:water"
                          },
                          {
                            "type": "minecraft:matching_fluids",
                            "offset": [
                              -1,
                              0,
                              1
                            ],
                            "fluids": "minecraft:water"
                          },
                          {
                            "type": "minecraft:matching_fluids",
                            "offset": [
                              -1,
                              0,
                              0
                            ],
                            "fluids": "minecraft:water"
                          },
                          {
                            "type": "minecraft:matching_fluids",
                            "offset": [
                              -1,
                              0,
                              -1
                            ],
                            "fluids": "minecraft:water"
                          },
                          {
                            "type": "minecraft:matching_fluids",
                            "offset": [
                              2,
                              0,
                              0
                            ],
                            "fluids": "minecraft:water"
                          },
                          {
                            "type": "minecraft:matching_fluids",
                            "offset": [
                              -2,
                              0,
                              0
                            ],
                            "fluids": "minecraft:water"
                          },
                          {
                            "type": "minecraft:matching_fluids",
                            "offset": [
                              0,
                              0,
                              2
                            ],
                            "fluids": "minecraft:water"
                          },
                          {
                            "type": "minecraft:matching_fluids",
                            "offset": [
                              0,
                              0,
                              -2
                            ],
                            "fluids": "minecraft:water"
                          },
                          {
                            "type": "minecraft:matching_fluids",
                            "offset": [
                              3,
                              0,
                              0
                            ],
                            "fluids": "minecraft:water"
                          },
                          {
                            "type": "minecraft:matching_fluids",
                            "offset": [
                              -3,
                              0,
                              0
                            ],
                            "fluids": "minecraft:water"
                          },
                          {
                            "type": "minecraft:matching_fluids",
                            "offset": [
                              0,
                              0,
                              3
                            ],
                            "fluids": "minecraft:water"
                          },
                          {
                            "type": "minecraft:matching_fluids",
                            "offset": [
                              0,
                              0,
                              -3
                            ],
                            "fluids": "minecraft:water"
                          },
                          {
                            "type": "minecraft:matching_fluids",
                            "offset": [
                              4,
                              0,
                              0
                            ],
                            "fluids": "minecraft:water"
                          },
                          {
                            "type": "minecraft:matching_fluids",
                            "offset": [
                              -4,
                              0,
                              0
                            ],
                            "fluids": "minecraft:water"
                          },
                          {
                            "type": "minecraft:matching_fluids",
                            "offset": [
                              0,
                              0,
                              4
                            ],
                            "fluids": "minecraft:water"
                          },
                          {
                            "type": "minecraft:matching_fluids",
                            "offset": [
                              0,
                              0,
                              -4
                            ],
                            "fluids": "minecraft:water"
                          },
                          {
                            "type": "minecraft:matching_fluids",
                            "offset": [
                              5,
                              0,
                              0
                            ],
                            "fluids": "minecraft:water"
                          },
                          {
                            "type": "minecraft:matching_fluids",
                            "offset": [
                              -5,
                              0,
                              0
                            ],
                            "fluids": "minecraft:water"
                          },
                          {
                            "type": "minecraft:matching_fluids",
                            "offset": [
                              0,
                              0,
                              5
                            ],
                            "fluids": "minecraft:water"
                          },
                          {
                            "type": "minecraft:matching_fluids",
                            "offset": [
                              0,
                              0,
                              -5
                            ],
                            "fluids": "minecraft:water"
                          }
                        ]
                      }
                    }
                  ]
                }
              ]
            },
            "radius": {
              "type": "minecraft:uniform",
              "min_inclusive": 5,
              "max_inclusive": 7
            },
            "half_height": 4
          }
        },
        "placement": []
      }
    }
  },
  "placement": [
    {
      "type": "minecraft:count",
      "count": 90
    },
    {
      "type": "minecraft:height_range",
      "height": {
        "absolute": 0
      }
    },
    {
      "type": "minecraft:in_square"
    },
    {
      "type": "minecraft:surface_relative_threshold_filter",
      "heightmap": "WORLD_SURFACE_WG",
      "min_inclusive": -70,
      "max_inclusive": -67
    },
    {
      "type": "minecraft:heightmap",
      "heightmap": "WORLD_SURFACE_WG"
    }
  ]
}
