{
  "format_version": "1.13.0",
  "minecraft:feature_rules": {
    "description": {
      "identifier": "minecraft:overworld_surface_flowers_feature",
      "places_feature": "minecraft:legacy:overworld_flower_feature"
    },
    "conditions": {
      "placement_pass": "surface_pass",
      "minecraft:biome_filter": [
        // (overworld || overworld_generation) && !(jungle || flower_forest || swamp || mesa || mooshroom_island || plains || ((forest || forest_generation) && (!extreme_hills && !taiga)) || (savanna && !mutated))        ->
        // (overworld || overworld_generation) && (!jungle && !flower_forest && !swamp && !mesa && !mooshroom_island && !plains && !((forest || forest_generation) && !extreme_hills && !taiga) && !(savanna && !mutated)) ->
        // (overworld || overworld_generation) && !jungle && !flower_forest && !swamp && !mesa && !mooshroom_island && !plains && (!(forest || forest_generation) || extreme_hills || taiga) && (!savanna || mutated)     ->
        // (overworld || overworld_generation) && !jungle && !flower_forest && !swamp && !mesa && !mooshroom_island && !plains && ((!forest && !forest_generation) || extreme_hills || taiga) && (!savanna || mutated)
        {
          "any_of": [
            {
              "test": "has_biome_tag",
              "operator": "==",
              "value": "overworld"
            },
            {
              "test": "has_biome_tag",
              "operator": "==",
              "value": "overworld_generation"
            }
          ]
        },
        {
          "test": "has_biome_tag",
          "operator": "!=",
          "value": "jungle"
        },
        {
          "test": "has_biome_tag",
          "operator": "!=",
          "value": "flower_forest"
        },
        {
          "test": "has_biome_tag",
          "operator": "!=",
          "value": "swamp"
        },
        {
          "test": "has_biome_tag",
          "operator": "!=",
          "value": "mangrove_swamp"
        },
        {
          "test": "has_biome_tag",
          "operator": "!=",
          "value": "mesa"
        },
        {
          "test": "has_biome_tag",
          "operator": "!=",
          "value": "mooshroom_island"
        },
        {
          "test": "has_biome_tag",
          "operator": "!=",
          "value": "plains"
        },
        {
          "test": "has_biome_tag",
          "operator": "!=",
          "value": "cherry_grove"
        },
        {
          "any_of": [
            {
              "all_of": [
                {
                  "test": "has_biome_tag",
                  "operator": "!=",
                  "value": "forest"
                },
                {
                  "test": "has_biome_tag",
                  "operator": "!=",
                  "value": "forest_generation"
                }
              ]
            },
            {
              "test": "has_biome_tag",
              "operator": "==",
              "value": "extreme_hills"
            },
            {
              "test": "has_biome_tag",
              "operator": "==",
              "value": "taiga"
            }
          ]
        },
        {
          "any_of": [
            {
              "test": "has_biome_tag",
              "operator": "!=",
              "value": "savanna"
            },
            {
              "test": "has_biome_tag",
              "operator": "==",
              "value": "mutated"
            }
          ]
        }
      ]
    },
    "distribution": {
      "iterations": 2,
      "x": {
        "distribution": "uniform",
        "extent": [ 0, 16 ]
      },
      "y": {
        "distribution": "uniform",
        "extent": [ 0, "query.heightmap(variable.worldx, variable.worldz) + 32" ]
      },
      "z": {
        "distribution": "uniform",
        "extent": [ 0, 16 ]
      }
    }
  }
}
