{
  "feature": "terralith:volcano/top_secret_do_not_touch",
  "placement": [
    {
      "type": "minecraft:count",
      "count": {
        "type": "minecraft:weighted_list",
        "distribution": [
          {
            "weight": 45,
            "data": 8
          },
          {
            "weight": 0,
            "data": 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",
            "offset": [
              0,
              1,
              0
            ],
            "blocks": [
              "minecraft:lava"
            ]
          },
          {
            "type": "minecraft:not",
            "predicate": {
              "type": "minecraft:any_of",
              "predicates": [
                {
                  "type": "minecraft:matching_blocks",
                  "offset": [
                    0,
                    -1,
                    0
                  ],
                  "blocks": [
                    "minecraft:air"
                  ]
                },
                {
                  "type": "minecraft:matching_blocks",
                  "offset": [
                    1,
                    0,
                    0
                  ],
                  "blocks": [
                    "minecraft:air"
                  ]
                },
                {
                  "type": "minecraft:matching_blocks",
                  "offset": [
                    0,
                    0,
                    1
                  ],
                  "blocks": [
                    "minecraft:air"
                  ]
                },
                {
                  "type": "minecraft:matching_blocks",
                  "offset": [
                    -1,
                    0,
                    0
                  ],
                  "blocks": [
                    "minecraft:air"
                  ]
                },
                {
                  "type": "minecraft:matching_blocks",
                  "offset": [
                    0,
                    0,
                    1
                  ],
                  "blocks": [
                    "minecraft:air"
                  ]
                },
                {
                  "type": "minecraft:matching_blocks",
                  "offset": [
                    0,
                    0,
                    0
                  ],
                  "blocks": [
                    "minecraft:lava"
                  ]
                }
              ]
            }
          }
        ]
      }
    },
    {
      "type": "minecraft:noise_based_count",
      "noise_to_count_ratio": 1,
      "noise_factor": 150,
      "noise_offset": 0
    },
    {
      "type": "minecraft:biome"
    }
  ]
}
