{
  "format_version": "1.13.0",
  "minecraft:feature_rules": {
    "description": {
      "identifier": "nicothekid:structure_x_witch_hut_tower",
      "places_feature": "nicothekid:structure_weight_x_witch_hut_tower"
    },
    "conditions": {
      "placement_pass": "underground_pass",
      "minecraft:biome_filter": [
        {
          "all_of": [
            {
              "test": "has_biome_tag",
              "operator": "!=",
              "value": "cold"
            },
            {
              "any_of": [
                {
                  "test": "has_biome_tag",
                  "operator": "==",
                  "value": "corrupted_forest"
                },
                {
                  "test": "has_biome_tag",
                  "operator": "==",
                  "value": "mossy_forest"
                },
                {
                  "test": "has_biome_tag",
                  "operator": "==",
                  "value": "roofed"
                },
                {
                  "test": "has_biome_tag",
                  "operator": "==",
                  "value": "taiga"
                },
                {
                  "test": "has_biome_tag",
                  "operator": "==",
                  "value": "swamp"
                },
                {
                  "test": "has_biome_tag",
                  "operator": "==",
                  "value": "mangrove_swamp"
                },
                {
                  "test": "has_biome_tag",
                  "operator": "==",
                  "value": "mooshroom_island"
                }
              ]
            }
          ]
        }
      ]
    },
    "distribution": {
      "iterations": 1,
      "scatter_chance": 0.1,
      "x": {
        "distribution": "uniform",
        "extent": [ -16, 16 ]
      },
      "y": "query.heightmap(variable.worldx, variable.worldz) + -2",
      "z": {
        "distribution": "uniform",
        "extent": [ -16, 16 ]
      }
    }
  }
}