{
  "feature": {
    "config": {
      "feature": {
        "feature": {
          "type": "minecraft:simple_block",
          "config": {
            "to_place": {
              "type": "minecraft:simple_state_provider",
              "state": {
                "Name": "minecraft:firefly_bush"
              }
            }
          }
        },
        "placement": [
          {
            "predicate": {
              "predicates": [
                {
                  "blocks": "minecraft:air",
                  "type": "minecraft:matching_blocks"
                },
                {
                  "state": {
                    "Name": "minecraft:firefly_bush"
                  },
                  "type": "minecraft:would_survive"
                }
              ],
              "type": "minecraft:all_of"
            },
            "type": "minecraft:block_predicate_filter"
          }
        ]
      },
      "tries": 20,
      "xz_spread": 3,
      "y_spread": 2
    },
    "type": "minecraft:random_patch"
  },
  "placement": [
    {
      "count": {
        "distribution": [
          {
            "data": 0,
            "weight": 2
          },
          {
            "data": 1,
            "weight": 1
          }
        ],
        "type": "minecraft:weighted_list"
      },
      "type": "minecraft:count"
    },
    {
      "type": "minecraft:in_square"
    },
    {
      "heightmap": "MOTION_BLOCKING_NO_LEAVES",
      "type": "minecraft:heightmap"
    },
    {
      "predicate": {
        "predicates": [
          {
            "blocks": "minecraft:air",
            "type": "minecraft:matching_blocks"
          },
          {
            "predicates": [
              {
                "fluids": [
                  "minecraft:water",
                  "minecraft:flowing_water"
                ],
                "offset": [
                  1,
                  -1,
                  0
                ],
                "type": "minecraft:matching_fluids"
              },
              {
                "fluids": [
                  "minecraft:water",
                  "minecraft:flowing_water"
                ],
                "offset": [
                  -1,
                  -1,
                  0
                ],
                "type": "minecraft:matching_fluids"
              },
              {
                "fluids": [
                  "minecraft:water",
                  "minecraft:flowing_water"
                ],
                "offset": [
                  0,
                  -1,
                  1
                ],
                "type": "minecraft:matching_fluids"
              },
              {
                "fluids": [
                  "minecraft:water",
                  "minecraft:flowing_water"
                ],
                "offset": [
                  0,
                  -1,
                  -1
                ],
                "type": "minecraft:matching_fluids"
              }
            ],
            "type": "minecraft:any_of"
          }
        ],
        "type": "minecraft:all_of"
      },
      "type": "minecraft:block_predicate_filter"
    },
    {
      "type": "minecraft:biome"
    }
  ]
}