{
  "feature": "arboria:other/leaf_litter",
  "placement": [
    {
      "count": 48,
      "type": "minecraft:count"
    },
    {
      "type": "minecraft:in_square"
    },
    {
      "heightmap": "MOTION_BLOCKING_NO_LEAVES",
      "type": "minecraft:heightmap"
    },
    {
      "type": "minecraft:biome"
    },
    {
      "xz_spread": {
        "type": "minecraft:uniform",
        "min_inclusive": -4,
        "max_inclusive": 4
      },
      "y_spread": 0,
      "type": "minecraft:random_offset"
    },
    {
      "heightmap": "MOTION_BLOCKING_NO_LEAVES",
      "type": "minecraft:heightmap"
    },
    {
      "predicate": {
        "predicates": [
          {
            "blocks": "minecraft:air",
            "type": "minecraft:matching_blocks"
          },
          {
            "blocks": "minecraft:grass_block",
            "offset": [
              0,
              -1,
              0
            ],
            "type": "minecraft:matching_blocks"
          }
        ],
        "type": "minecraft:all_of"
      },
      "type": "minecraft:block_predicate_filter"
    },
    {
      "direction_of_search": "up",
      "max_steps": 32,
      "target_condition": {
        "blocks": [
          "minecraft:oak_leaves",
          "minecraft:birch_leaves",
          "minecraft:dark_oak_leaves"
        ],
        "type": "minecraft:matching_blocks"
      },
      "type": "minecraft:environment_scan"
    },
    {
      "heightmap": "MOTION_BLOCKING_NO_LEAVES",
      "type": "minecraft:heightmap"
    }
  ]
}