{
  "feature": {
    "type": "minecraft:random_patch",
    "config": {
      "tries": 64,
      "xz_spread": 6,
      "y_spread": 3,
      "feature": {
        "feature": {
          "type": "minecraft:block_column",
          "config": {
            "direction": "up",
            "allowed_placement": {
              "type": "minecraft:all_of",
              "predicates": [
                {
                  "type": "minecraft:matching_blocks",
                  "blocks": "minecraft:air"
                },
                {
                  "type": "minecraft:not",
                  "predicate": {
                    "type": "minecraft:matching_block_tag",
                    "offset": [
                      0,
                      -1,
                      0
                    ],
                    "tag": "minecraft:leaves"
                  }
                }
              ]
            },
            "prioritize_tip": false,
            "layers": [
              {
                "height": {
                  "type": "minecraft:uniform",
                  "min_inclusive": 1,
                  "max_inclusive": 3
                },
                "provider": {
                  "type": "minecraft:simple_state_provider",
                  "state": {
                    "Name": "minecraft:sugar_cane",
                    "Properties": {
                      "age": "0"
                    }
                  }
                }
              }
            ]
          }
        },
        "placement": [
          {
            "type": "minecraft:block_predicate_filter",
            "predicate": {
              "type": "minecraft:would_survive",
              "state": {
                "Name": "minecraft:sugar_cane",
                "Properties": {
                  "age": "0"
                }
              }
            }
          },
          {
            "type": "minecraft:block_predicate_filter",
            "predicate": {
              "type": "minecraft:matching_blocks",
              "offset": [
                0,
                -1,
                0
              ],
              "blocks": "minecraft:grass_block"
            }
          },
          {
            "type": "minecraft:surface_water_depth_filter",
            "max_water_depth": 0
          }
        ]
      }
    }
  },
  "placement": [
    {
      "type": "minecraft:count",
      "count": 10
    },
    {
      "type": "minecraft:height_range",
      "height": {
        "absolute": 0
      }
    },
    {
      "type": "minecraft:in_square"
    },
    {
      "type": "minecraft:surface_relative_threshold_filter",
      "heightmap": "WORLD_SURFACE_WG",
      "min_inclusive": -140,
      "max_inclusive": -66
    },
    {
      "type": "minecraft:heightmap",
      "heightmap": "MOTION_BLOCKING"
    },
    {
      "type": "minecraft:block_predicate_filter",
      "predicate": {
        "type": "minecraft:matching_blocks",
        "offset": [
          0,
          -1,
          0
        ],
        "blocks": "minecraft:grass_block"
      }
    },
    {
      "type": "minecraft:biome"
    }
  ]
}
