{
	"config": {
		"feature": {
			"feature": {
				"config": {
					"allowed_placement": {
						"blocks": "minecraft:air",
						"type": "minecraft:matching_blocks"
					},
					"direction": "up",
					"layers": [
						{
							"height": {
								"type": "minecraft:biased_to_bottom",
								"value": {
									"max_inclusive": 4,
									"min_inclusive": 2
								}
							},
							"provider": {
								"state": {
									"Name": "minecraft:sugar_cane",
									"Properties": {
										"age": "0"
									}
								},
								"type": "minecraft:simple_state_provider"
							}
						}
					],
					"prioritize_tip": false
				},
				"type": "minecraft:block_column"
			},
			"placement": [
				{
					"predicate": {
						"predicates": [
							{
								"blocks": "minecraft:air",
								"type": "minecraft:matching_blocks"
							},
							{
								"state": {
									"Name": "minecraft:sugar_cane",
									"Properties": {
										"age": "0"
									}
								},
								"type": "minecraft:would_survive"
							},
							{
								"predicates": [
									{
										"fluids": [
											"minecraft:water",
											"minecraft:flowing_water"
										],
										"offset": [
											1,
											-1,
											0
										],
										"type": "minecraft:matching_fluids"
									},
									{
										"fluids": [
											"minecraft:water",
											"minecraft:flowing_water"
										],
										"offset": [
											-1,
											-1,
											0
										],
										"type": "minecraft:matching_fluids"
									},
									{
										"fluids": [
											"minecraft:water",
											"minecraft:flowing_water"
										],
										"offset": [
											0,
											-1,
											1
										],
										"type": "minecraft:matching_fluids"
									},
									{
										"fluids": [
											"minecraft:water",
											"minecraft:flowing_water"
										],
										"offset": [
											0,
											-1,
											-1
										],
										"type": "minecraft:matching_fluids"
									}
								],
								"type": "minecraft:any_of"
							}
						],
						"type": "minecraft:all_of"
					},
					"type": "minecraft:block_predicate_filter"
				}
			]
		},
		"tries": 20,
		"xz_spread": 4,
		"y_spread": 0
	},
	"type": "minecraft:random_patch"
}