{
  "feature": "terralith:shield/birch",
  "placement": [
    {
      "type": "minecraft:count",
      "count": {
        "type": "minecraft:weighted_list",
        "distribution": [
          {
            "data": 2,
            "weight": 90
          },
          {
            "data": 3,
            "weight": 10
          }
        ]
      }
    },
    {
      "type": "minecraft:in_square"
    },
    {
      "type": "minecraft:heightmap",
      "heightmap": "WORLD_SURFACE_WG"
    },
    {
      "type": "minecraft:noise_based_count",
      "noise_factor": 188,
      "noise_offset": 0.5,
      "noise_to_count_ratio": 1
    },
    {
      "type": "minecraft:noise_based_count",
      "noise_factor": 188,
      "noise_offset": -1,
      "noise_to_count_ratio": -1
    },
    {
      "type": "minecraft:block_predicate_filter",
      "predicate": {
        "type": "minecraft:all_of",
        "predicates": [
          {
            "type": "minecraft:any_of",
            "predicates": [
              {
                "type": "minecraft:would_survive",
                "state": {
                  "Name": "minecraft:fern"
                }
              },
              {
                "type": "minecraft:matching_blocks",
                "blocks": [
                  "minecraft:snow_block",
                  "minecraft:powder_snow"
                ],
                "offset": [
                  0,
                  -1,
                  0
                ]
              }
            ]
          },
          {
            "type": "minecraft:not",
            "predicate": {
              "type": "minecraft:any_of",
              "predicates": [
                {
                  "type": "minecraft:matching_blocks",
                  "blocks": [
                    "minecraft:spruce_log",
                    "minecraft:dark_oak_log",
                    "birch_log"
                  ],
                  "offset": [
                    0,
                    0,
                    0
                  ]
                },
                {
                  "type": "minecraft:matching_blocks",
                  "blocks": [
                    "minecraft:spruce_log",
                    "minecraft:dark_oak_log",
                    "birch_log"
                  ],
                  "offset": [
                    1,
                    0,
                    0
                  ]
                },
                {
                  "type": "minecraft:matching_blocks",
                  "blocks": [
                    "minecraft:spruce_log",
                    "minecraft:dark_oak_log",
                    "birch_log"
                  ],
                  "offset": [
                    -1,
                    0,
                    0
                  ]
                },
                {
                  "type": "minecraft:matching_blocks",
                  "blocks": [
                    "minecraft:spruce_log",
                    "minecraft:dark_oak_log",
                    "birch_log"
                  ],
                  "offset": [
                    0,
                    0,
                    1
                  ]
                },
                {
                  "type": "minecraft:matching_blocks",
                  "blocks": [
                    "minecraft:spruce_log",
                    "minecraft:dark_oak_log",
                    "birch_log"
                  ],
                  "offset": [
                    0,
                    0,
                    -1
                  ]
                },
                {
                  "type": "minecraft:matching_blocks",
                  "blocks": [
                    "minecraft:spruce_log",
                    "minecraft:dark_oak_log",
                    "birch_log"
                  ],
                  "offset": [
                    1,
                    0,
                    1
                  ]
                },
                {
                  "type": "minecraft:matching_blocks",
                  "blocks": [
                    "minecraft:spruce_log",
                    "minecraft:dark_oak_log",
                    "birch_log"
                  ],
                  "offset": [
                    1,
                    0,
                    -1
                  ]
                },
                {
                  "type": "minecraft:matching_blocks",
                  "blocks": [
                    "minecraft:spruce_log",
                    "minecraft:dark_oak_log",
                    "birch_log"
                  ],
                  "offset": [
                    -1,
                    0,
                    -1
                  ]
                },
                {
                  "type": "minecraft:matching_blocks",
                  "blocks": [
                    "minecraft:spruce_log",
                    "minecraft:dark_oak_log",
                    "birch_log"
                  ],
                  "offset": [
                    -1,
                    0,
                    1
                  ]
                }
              ]
            }
          }
        ]
      }
    },
    {
      "type": "minecraft:biome"
    }
  ]
}