{
  "feature": "terralith:taiga/birch/trees_small",
  "placement": [
    {
      "type": "minecraft:count",
      "count": 8
    },
    {
      "type": "minecraft:in_square"
    },
    {
      "type": "minecraft:heightmap",
      "heightmap": "WORLD_SURFACE_WG"
    },
    {
      "type": "minecraft:block_predicate_filter",
      "predicate": {
        "type": "minecraft:would_survive",
        "state": {
          "Name": "minecraft:fern"
        }
      }
    },
    {
      "type": "minecraft:block_predicate_filter",
      "predicate": {
        "type": "minecraft:all_of",
        "predicates": [
          {
            "type": "minecraft:not",
            "predicate": {
              "type": "minecraft:any_of",
              "predicates": [
                {
                  "type": "minecraft:matching_blocks",
                  "blocks": [
                    "minecraft:calcite",
                    "minecraft:stone",
                    "minecraft:diorite",
                    "birch_log",
                    "oak_log"
                  ],
                  "offset": [
                    1,
                    0,
                    0
                  ]
                },
                {
                  "type": "minecraft:matching_blocks",
                  "blocks": [
                    "minecraft:calcite",
                    "minecraft:stone",
                    "minecraft:diorite",
                    "birch_log",
                    "oak_log"
                  ],
                  "offset": [
                    -1,
                    0,
                    0
                  ]
                },
                {
                  "type": "minecraft:matching_blocks",
                  "blocks": [
                    "minecraft:calcite",
                    "minecraft:stone",
                    "minecraft:diorite",
                    "birch_log",
                    "oak_log"
                  ],
                  "offset": [
                    0,
                    0,
                    1
                  ]
                },
                {
                  "type": "minecraft:matching_blocks",
                  "blocks": [
                    "minecraft:calcite",
                    "minecraft:stone",
                    "minecraft:diorite",
                    "birch_log",
                    "oak_log"
                  ],
                  "offset": [
                    0,
                    0,
                    -1
                  ]
                },
                {
                  "type": "minecraft:matching_blocks",
                  "blocks": [
                    "minecraft:calcite",
                    "minecraft:stone",
                    "minecraft:diorite",
                    "birch_log",
                    "oak_log"
                  ],
                  "offset": [
                    1,
                    0,
                    1
                  ]
                },
                {
                  "type": "minecraft:matching_blocks",
                  "blocks": [
                    "minecraft:calcite",
                    "minecraft:stone",
                    "minecraft:diorite",
                    "birch_log",
                    "oak_log"
                  ],
                  "offset": [
                    1,
                    0,
                    -1
                  ]
                },
                {
                  "type": "minecraft:matching_blocks",
                  "blocks": [
                    "minecraft:calcite",
                    "minecraft:stone",
                    "minecraft:diorite",
                    "birch_log",
                    "oak_log"
                  ],
                  "offset": [
                    -1,
                    0,
                    1
                  ]
                },
                {
                  "type": "minecraft:matching_blocks",
                  "blocks": [
                    "minecraft:calcite",
                    "minecraft:stone",
                    "minecraft:diorite",
                    "birch_log",
                    "oak_log"
                  ],
                  "offset": [
                    -1,
                    0,
                    -1
                  ]
                },
                {
                  "type": "minecraft:matching_blocks",
                  "blocks": [
                    "minecraft:calcite",
                    "minecraft:stone",
                    "minecraft:diorite",
                    "birch_log",
                    "oak_log"
                  ],
                  "offset": [
                    0,
                    0,
                    0
                  ]
                }
              ]
            }
          }
        ]
      }
    },
    {
      "type": "minecraft:biome"
    }
  ]
}