{
  "feature": "terralith:volcano/top_secret_do_not_touch",
  "placement": [
    {
      "type": "minecraft:count",
      "count": 8
    },
    {
      "type": "minecraft:in_square"
    },
    {
      "type": "minecraft:heightmap",
      "heightmap": "WORLD_SURFACE_WG"
    },
    {
      "type": "minecraft:environment_scan",
      "direction_of_search": "down",
      "max_steps": 7,
      "target_condition": {
        "type": "minecraft:all_of",
        "predicates": [
          {
            "type": "minecraft:matching_blocks",
            "blocks": [
              "minecraft:lava"
            ],
            "offset": [
              0,
              1,
              0
            ]
          },
          {
            "type": "minecraft:not",
            "predicate": {
              "type": "minecraft:any_of",
              "predicates": [
                {
                  "type": "minecraft:matching_blocks",
                  "blocks": [
                    "minecraft:air"
                  ],
                  "offset": [
                    0,
                    -1,
                    0
                  ]
                },
                {
                  "type": "minecraft:matching_blocks",
                  "blocks": [
                    "minecraft:air"
                  ],
                  "offset": [
                    1,
                    0,
                    0
                  ]
                },
                {
                  "type": "minecraft:matching_blocks",
                  "blocks": [
                    "minecraft:air"
                  ],
                  "offset": [
                    0,
                    0,
                    1
                  ]
                },
                {
                  "type": "minecraft:matching_blocks",
                  "blocks": [
                    "minecraft:air"
                  ],
                  "offset": [
                    -1,
                    0,
                    0
                  ]
                },
                {
                  "type": "minecraft:matching_blocks",
                  "blocks": [
                    "minecraft:air"
                  ],
                  "offset": [
                    0,
                    0,
                    1
                  ]
                },
                {
                  "type": "minecraft:matching_blocks",
                  "blocks": [
                    "minecraft:lava"
                  ],
                  "offset": [
                    0,
                    0,
                    0
                  ]
                }
              ]
            }
          }
        ]
      }
    },
    {
      "type": "minecraft:noise_based_count",
      "noise_factor": 150,
      "noise_offset": 0,
      "noise_to_count_ratio": 1
    },
    {
      "type": "minecraft:biome"
    }
  ]
}