{
  "feature": {
    "type": "minecraft:tree",
    "config": {
      "ignore_vines": true,
      "minimum_size": {
        "type": "minecraft:two_layers_feature_size",
        "min_clipped_height": 0,
        "limit": 2,
        "lower_size": 0,
        "upper_size": 2
      },
      "dirt_provider": {
        "type": "minecraft:simple_state_provider",
        "state": {
          "Name": "minecraft:dirt"
        }
      },
      "trunk_provider": {
        "type": "minecraft:simple_state_provider",
        "state": {
          "Name": "minecraft:dark_oak_log",
          "Properties": {
            "axis": "y"
          }
        }
      },
      "foliage_provider": {
        "type": "minecraft:simple_state_provider",
        "state": {
          "Name": "minecraft:dark_oak_leaves",
          "Properties": {
            "distance": "7",
            "persistent": "false"
          }
        }
      },
      "trunk_placer": {
        "type": "minecraft:straight_trunk_placer",
        "base_height": 10,
        "height_rand_a": 4,
        "height_rand_b": 12
      },
      "foliage_placer": {
        "type": "minecraft:mega_pine_foliage_placer",
        "radius": {
          "type": "minecraft:uniform",
          "value": {
            "min_inclusive": 0,
            "max_inclusive": 1
          }
        },
        "offset": 1,
        "crown_height": {
          "type": "minecraft:uniform",
          "value": {
            "min_inclusive": 3,
            "max_inclusive": 8
          }
        }
      },
      "decorators": []
    }
  },
  "placement": [
    {
      "type": "minecraft:count",
      "count": {
        "type": "minecraft:uniform",
        "value": {
          "min_inclusive": 4,
          "max_inclusive": 5
        }
      }
    },
    {
      "type": "minecraft:in_square"
    },
    {
      "type": "minecraft:heightmap",
      "heightmap": "MOTION_BLOCKING"
    },
    {
      "type": "minecraft:noise_based_count",
      "noise_to_count_ratio": 1,
      "noise_factor": 89,
      "noise_offset": 0.25
    },
    {
      "type": "minecraft:environment_scan",
      "direction_of_search": "down",
      "max_steps": 1,
      "target_condition": {
        "type": "minecraft:all_of",
        "predicates": [
          {
            "type": "minecraft:replaceable"
          },
          {
            "type": "minecraft:any_of",
            "predicates": [
              {
                "type": "minecraft:would_survive",
                "state": {
                  "Name": "minecraft:fern"
                }
              },
              {
                "type": "minecraft:matching_blocks",
                "offset": [
                  0,
                  -1,
                  0
                ],
                "blocks": [
                  "minecraft:snow_block",
                  "minecraft:powder_snow"
                ]
              }
            ]
          }
        ]
      }
    },
    {
      "type": "minecraft:biome"
    },
    {
      "type": "minecraft:count",
      "count": {
        "type": "minecraft:uniform",
        "value": {
          "min_inclusive": 2,
          "max_inclusive": 5
        }
      }
    }
  ]
}
