{
  "config": {
    "features": [
      {
        "feature": {
          "config": {
            "to_place": {
              "state": {
                "Name": "minecraft:lily_pad"
              },
              "type": "minecraft:simple_state_provider"
            }
          },
          "type": "minecraft:simple_block"
        },
        "placement": [
          {
            "chance": 3,
            "type": "minecraft:rarity_filter"
          },
          {
            "xz_spread": {
              "type": "minecraft:uniform",
              "min_inclusive": -7,
              "max_inclusive": 7
            },
            "y_spread": 0,
            "type": "minecraft:random_offset"
          },
          {
            "predicate": {
              "predicates": [
                {
                  "blocks": "minecraft:air",
                  "type": "minecraft:matching_blocks"
                },
                {
                  "fluids": [
                    "minecraft:water",
                    "minecraft:flowing_water"
                  ],
                  "offset": [
                    0,
                    -1,
                    0
                  ],
                  "type": "minecraft:matching_fluids"
                },
                {
                  "state": {
                    "Name": "minecraft:lily_pad"
                  },
                  "type": "minecraft:would_survive"
                }
              ],
              "type": "minecraft:all_of"
            },
            "type": "minecraft:block_predicate_filter"
          }
        ]
      },
      {
        "feature": {
          "config": {
            "to_place": {
              "state": {
                "Name": "minecraft:short_grass"
              },
              "type": "minecraft:simple_state_provider"
            }
          },
          "type": "minecraft:simple_block"
        },
        "placement": [
          {
            "count": 4,
            "type": "minecraft:count"
          },
          {
            "xz_spread": {
              "type": "minecraft:uniform",
              "min_inclusive": -8,
              "max_inclusive": 8
            },
            "y_spread": 0,
            "type": "minecraft:random_offset"
          },
          {
            "predicate": {
              "predicates": [
                {
                  "blocks": "minecraft:air",
                  "type": "minecraft:matching_blocks"
                },
                {
                  "state": {
                    "Name": "minecraft:short_grass"
                  },
                  "type": "minecraft:would_survive"
                }
              ],
              "type": "minecraft:all_of"
            },
            "type": "minecraft:block_predicate_filter"
          }
        ]
      },
      {
        "feature": {
          "config": {
            "allowed_placement": {
              "blocks": "minecraft:air",
              "type": "minecraft:matching_blocks"
            },
            "direction": "up",
            "layers": [
              {
                "height": {
                  "type": "minecraft:uniform",
                  "min_inclusive": 2,
                  "max_inclusive": 4
                },
                "provider": {
                  "state": {
                    "Name": "minecraft:sugar_cane",
                    "Properties": {
                      "age": "0"
                    }
                  },
                  "type": "minecraft:simple_state_provider"
                }
              }
            ],
            "prioritize_tip": false
          },
          "type": "minecraft:block_column"
        },
        "placement": [
          {
            "count": 3,
            "type": "minecraft:count"
          },
          {
            "xz_spread": {
              "type": "minecraft:uniform",
              "min_inclusive": -8,
              "max_inclusive": 8
            },
            "y_spread": 0,
            "type": "minecraft:random_offset"
          },
          {
            "predicate": {
              "predicates": [
                {
                  "blocks": "minecraft:air",
                  "type": "minecraft:matching_blocks"
                },
                {
                  "state": {
                    "Name": "minecraft:sugar_cane",
                    "Properties": {
                      "age": "0"
                    }
                  },
                  "type": "minecraft:would_survive"
                },
                {
                  "predicates": [
                    {
                      "blocks": "minecraft:water",
                      "offset": [
                        1,
                        -1,
                        0
                      ],
                      "type": "minecraft:matching_blocks"
                    },
                    {
                      "blocks": "minecraft:water",
                      "offset": [
                        0,
                        -1,
                        1
                      ],
                      "type": "minecraft:matching_blocks"
                    },
                    {
                      "blocks": "minecraft:water",
                      "offset": [
                        -1,
                        -1,
                        0
                      ],
                      "type": "minecraft:matching_blocks"
                    },
                    {
                      "blocks": "minecraft:water",
                      "offset": [
                        0,
                        -1,
                        -1
                      ],
                      "type": "minecraft:matching_blocks"
                    }
                  ],
                  "type": "minecraft:any_of"
                }
              ],
              "type": "minecraft:all_of"
            },
            "type": "minecraft:block_predicate_filter"
          }
        ]
      },
      {
        "feature": {
          "config": {
            "allowed_placement": {
              "blocks": "minecraft:air",
              "type": "minecraft:matching_blocks"
            },
            "direction": "up",
            "layers": [
              {
                "height": {
                  "type": "minecraft:uniform",
                  "min_inclusive": 1,
                  "max_inclusive": 3
                },
                "provider": {
                  "state": {
                    "Name": "minecraft:cactus",
                    "Properties": {
                      "age": "0"
                    }
                  },
                  "type": "minecraft:simple_state_provider"
                }
              }
            ],
            "prioritize_tip": false
          },
          "type": "minecraft:block_column"
        },
        "placement": [
          {
            "count": 2,
            "type": "minecraft:count"
          },
          {
            "xz_spread": {
              "type": "minecraft:uniform",
              "min_inclusive": -8,
              "max_inclusive": 8
            },
            "y_spread": 0,
            "type": "minecraft:random_offset"
          },
          {
            "xz_spread": {
              "type": "minecraft:uniform",
              "min_inclusive": -8,
              "max_inclusive": 8
            },
            "y_spread": 0,
            "type": "minecraft:random_offset"
          },
          {
            "heightmap": "MOTION_BLOCKING_NO_LEAVES",
            "type": "minecraft:heightmap"
          },
          {
            "predicate": {
              "predicates": [
                {
                  "blocks": "minecraft:air",
                  "type": "minecraft:matching_blocks"
                },
                {
                  "state": {
                    "Name": "minecraft:cactus",
                    "Properties": {
                      "age": "0"
                    }
                  },
                  "type": "minecraft:would_survive"
                }
              ],
              "type": "minecraft:all_of"
            },
            "type": "minecraft:block_predicate_filter"
          }
        ]
      },
      {
        "feature": {
          "config": {
            "to_place": {
              "state": {
                "Name": "minecraft:seagrass"
              },
              "type": "minecraft:simple_state_provider"
            }
          },
          "type": "minecraft:simple_block"
        },
        "placement": [
          {
            "xz_spread": {
              "type": "minecraft:uniform",
              "min_inclusive": -7,
              "max_inclusive": 7
            },
            "y_spread": 0,
            "type": "minecraft:random_offset"
          },
          {
            "heightmap": "OCEAN_FLOOR",
            "type": "minecraft:heightmap"
          },
          {
            "predicate": {
              "predicates": [
                {
                  "blocks": "minecraft:water",
                  "type": "minecraft:matching_blocks"
                },
                {
                  "state": {
                    "Name": "minecraft:seagrass"
                  },
                  "type": "minecraft:would_survive"
                }
              ],
              "type": "minecraft:all_of"
            },
            "type": "minecraft:block_predicate_filter"
          }
        ]
      }
    ]
  },
  "type": "minecraft:simple_random_selector"
}