{
	"feature": "terralith:skylands/dirt_tops",
	"placement": [
		{
			"type": "minecraft:count",
			"count": 100
		},
		{
			"type": "minecraft:count",
			"count": 20
		},
		{
			"type": "minecraft:in_square"
		},
		{
			"type": "minecraft:random_offset",
			"xz_spread": {
				"type": "minecraft:uniform",
				"value": {
					"min_inclusive": -9,
					"max_inclusive": 9
				}
			},
			"y_spread": 0
		},
		{
			"type": "heightmap",
			"heightmap": "MOTION_BLOCKING_NO_LEAVES"
		},
		{
			"type": "environment_scan",
			"direction_of_search": "down",
			"max_steps": 4,
			"target_condition": {
				"type": "minecraft:all_of",
				"predicates": [
					{
						"type": "minecraft:matching_blocks",
						"offset": [
							0,
							0,
							0
						],
						"blocks": [
							"minecraft:stone"
						]
					},
					{
						"type": "minecraft:matching_blocks",
						"offset": [
							0,
							1,
							0
						],
						"blocks": [
							"minecraft:grass_block",
							"minecraft:dirt"
						]
					}
				]
			}
		},
		{
			"type": "minecraft:biome"
		}
	]
}
