{
  "format_version": "1.13.0",
  "minecraft:feature_rules": {
    "description": {
      "identifier": "minecraft:plains_after_surface_flowers_feature_rules",
      "places_feature": "minecraft:scatter_plains_flower_feature"
    },
    "conditions": {
      "placement_pass": "after_surface_pass",
      "minecraft:biome_filter": [
        { "test": "has_biome_tag", "value": "plains" }
      ]
    },
    "distribution": {
      // These values are not in parity, but the resulting behavior is.
      "iterations": "(query.noise((variable.originx + 8) / 200.0, (variable.originz + 8) / 200.0) < -0.8) ? 4 : 1",
      "scatter_chance": {
        "numerator": 1,
        "denominator": 8
      },
      "x": {
        "distribution": "uniform",
        "extent": [ 0, 16 ]
      },
      "y": "query.heightmap(variable.worldx, variable.worldz)",
      "z": {
        "distribution": "uniform",
        "extent": [ 0, 16 ]
      }
    }
  }
}
