{
  "feature": "integrateddynamics:tree_menril",
  "placement": [
    {
      "type": "minecraft:count",
      "count": {
        "type": "minecraft:uniform",
        "value": {
          "min_inclusive": 3,
          "max_inclusive": 5
        }
      }
    },
    {
      "type": "minecraft:in_square"
    },
    {
      "type": "minecraft:surface_water_depth_filter",
      "max_water_depth": 0
    },
    {
      "type": "minecraft:height_range",
      "height": {
        "type": "minecraft:uniform",
        "min_inclusive": {
          "absolute": 150
        },
        "max_inclusive": {
          "absolute": 190
        }
      }
    },
    {
      "type": "minecraft:environment_scan",
      "direction_of_search": "down",
      "max_steps": 24,
      "target_condition": {
        "type": "minecraft:all_of",
        "predicates": [
          {
            "type": "minecraft:has_sturdy_face",
            "direction": "up"
          },
          {
            "type": "minecraft:matching_blocks",
            "blocks": [
              "integrateddynamics:menril_wood",
              "botania:infused_grass"
            ]
          }
        ]
      },
      "allowed_search_condition": {
        "type": "minecraft:matching_blocks",
        "blocks": [
          "minecraft:air"
        ]
      }
    },
    {
      "type": "minecraft:random_offset",
      "xz_spread": 0,
      "y_spread": 1
    },
    {
      "type": "minecraft:biome"
    }
  ]
}