{
	"format_version": "1.13.0",
	"minecraft:feature_rules": {
		"description": {
			"identifier": "minecraft:towers_struc",
			"places_feature": "minecraft:towers_struc"
		},
		"conditions": {
			"placement_pass": "surface_pass",
			"minecraft:biome_filter": [
				{
					"all_of": [
						{
							"test": "has_biome_tag",
							"operator": "!=",
							"value": "ocean"
						},
						{
							"test": "has_biome_tag",
							"operator": "!=",
							"value": "river"
						},
						{
							"test": "has_biome_tag",
							"operator": "!=",
							"value": "lakes"
						},
						{
							"any_of": [
								{
									"test": "has_biome_tag",
									"operator": "==",
									"value": "overworld"
								},
								{
									"test": "has_biome_tag",
									"operator": "==",
									"value": "overworld_generation"
								}
							]
						}
					]
				}
			]
		},
		"distribution": {
			"iterations": 1,
			"scatter_chance": 4,
			"x": {
				"distribution": "uniform",
				"extent": [
					0,
				    64
				]
			},
			"y": "query.heightmap(variable.worldx, variable.worldz)",
			"z": {
				"distribution": "uniform",
				"extent": [
					0,
					64
				]
			}
		}
	}
}