{
	"feature": "terralith:yellowstone/water_fix",
	"placement": [
		{
			"type": "minecraft:count",
			"count": 40
		},
		{
			"type": "minecraft:count",
			"count": 40
		},
		{
			"type": "minecraft:in_square"
		},
		{
			"type": "heightmap",
			"heightmap": "WORLD_SURFACE_WG"
		},
		{
			"type": "minecraft:block_predicate_filter",
			"predicate": {
				"type": "minecraft:all_of",
				"predicates": [
					{
						"type": "minecraft:any_of",
						"predicates": [
							{
								"type": "minecraft:matching_fluids",
								"offset": [
									-1,
									0,
									0
								],
								"fluids": [
									"minecraft:water"
								]
							},
							{
								"type": "minecraft:matching_fluids",
								"offset": [
									1,
									0,
									0
								],
								"fluids": [
									"minecraft:water"
								]
							},
							{
								"type": "minecraft:matching_fluids",
								"offset": [
									0,
									0,
									-1
								],
								"fluids": [
									"minecraft:water"
								]
							},
							{
								"type": "minecraft:matching_fluids",
								"offset": [
									0,
									0,
									1
								],
								"fluids": [
									"minecraft:water"
								]
							}
						]
					},
					{
						"type": "minecraft:not",
						"predicate": {
							"type": "minecraft:matching_blocks",
							"offset": [
								0,
								0,
								0
							],
							"blocks": [
								"minecraft:cave_air"
							]
						}
					}
				]
			}
		}
	]
}
