{
	"feature": "cavernous:biomes/lush/fungal/mushrooms/upside_down/stem",
	"placement": [
		{
			"type": "minecraft:count",
			"count": 6
		},
		{
			"type": "minecraft:in_square"
		},
		{
			"type": "minecraft:height_range",
			"height": {
				"type": "minecraft:uniform",
				"min_inclusive": {
					"above_bottom": 0
				},
				"max_inclusive": {
					"absolute": 55
				}
			}
		},
		{
			"type": "minecraft:environment_scan",
			"direction_of_search": "up",
			"max_steps": 24,
			"target_condition": {
				"type": "minecraft:solid"
			},
			"allowed_search_condition": {
				"type": "minecraft:all_of",
				"predicates": [
					{
						"type": "minecraft:not",
						"predicate": {
							"type": "minecraft:matching_blocks",
							"offset": [
								0,
								1,
								0
							],
							"blocks": [
								"minecraft:brown_mushroom_block",
								"minecraft:red_mushroom_block"
							]
						}
					},
					{
						"type": "minecraft:matching_blocks",
						"offset": [
							0,
							0,
							0
						],
						"blocks": "minecraft:air"
					}
				]
			}
		},
		{
			"type": "minecraft:random_offset",
			"xz_spread": 0,
			"y_spread": -1
		},
		{
			"type": "minecraft:biome"
		}
	]
}
