{
  "feature": "terralith:dark/giant_shrooms/brown_disk",
  "placement": [
    {
      "type": "minecraft:count",
      "count": 4
    },
    {
      "type": "minecraft:in_square"
    },
    {
      "type": "minecraft:heightmap",
      "heightmap": "MOTION_BLOCKING"
    },
    {
      "type": "minecraft:environment_scan",
      "direction_of_search": "down",
      "max_steps": 8,
      "target_condition": {
        "type": "minecraft:all_of",
        "predicates": [
          {
            "type": "minecraft:not",
            "predicate": {
              "type": "minecraft:any_of",
              "predicates": [
                {
                  "type": "minecraft:has_sturdy_face",
                  "offset": [
                    0,
                    -1,
                    0
                  ],
                  "direction": "up"
                },
                {
                  "type": "minecraft:matching_blocks",
                  "blocks": "#minecraft:leaves"
                },
                {
                  "type": "minecraft:matching_blocks",
                  "offset": [
                    0,
                    1,
                    0
                  ],
                  "blocks": "#minecraft:leaves"
                },
                {
                  "type": "minecraft:matching_blocks",
                  "offset": [
                    0,
                    2,
                    0
                  ],
                  "blocks": "#minecraft:leaves"
                }
              ]
            }
          },
          {
            "type": "minecraft:any_of",
            "predicates": [
              {
                "type": "minecraft:matching_blocks",
                "offset": [
                  1,
                  0,
                  0
                ],
                "blocks": "#minecraft:dark_oak_logs"
              },
              {
                "type": "minecraft:matching_blocks",
                "offset": [
                  -1,
                  0,
                  0
                ],
                "blocks": "#minecraft:dark_oak_logs"
              },
              {
                "type": "minecraft:matching_blocks",
                "offset": [
                  0,
                  0,
                  1
                ],
                "blocks": []
              },
              {
                "type": "minecraft:matching_blocks",
                "offset": [
                  0,
                  0,
                  -1
                ],
                "blocks": "#minecraft:dark_oak_logs"
              }
            ]
          }
        ]
      }
    },
    {
      "type": "minecraft:biome"
    }
  ]
}