{
  "feature": "mining_dimension:desert_caves/cacti",
  "placement": [
    {
      "type": "minecraft:count",
      "count": 4
    },
    {
      "type": "minecraft:in_square"
    },
    {
      "type": "minecraft:height_range",
      "height": {
        "type": "minecraft:uniform",
        "min_inclusive": {
          "above_bottom": 7
        },
        "max_inclusive": {
          "absolute": 200
        }
      }
    },
    {
      "type": "minecraft:environment_scan",
      "allowed_search_condition": {
        "type": "minecraft:matching_blocks",
        "blocks": [
          "minecraft:air"
        ]
      },
      "direction_of_search": "down",
      "max_steps": 32,
      "target_condition": {
        "type": "minecraft:solid"
      }
    },
    {
      "type": "minecraft:noise_based_count",
      "noise_factor": 20,
      "noise_offset": 0.5,
      "noise_to_count_ratio": 1
    },
    {
      "type": "minecraft:rarity_filter",
      "chance": 1
    }
  ]
}