{
  "type": "minecraft:random_patch",
  "config": {
    "tries": 64,
    "xz_spread": 7,
    "y_spread": 3,
    "feature": {
      "feature": {
        "type": "minecraft:simple_block",
        "config": {
          "to_place": {
            "type": "minecraft:simple_state_provider",
            "state": {
              "Name": "minecraft:poppy"
            }
          }
        }
      },
      "placement": [
        {
          "type": "minecraft:block_predicate_filter",
          "predicate": {
            "type": "minecraft:all_of",
            "predicates": [
              {
                "type": "minecraft:matching_blocks",
                "offset": [
                  0,
                  -1,
                  0
                ],
                "blocks": [
                  "minecraft:grass_block"
                ]
              }
            ]
          }
        }
      ]
    }
  }
}
