{
	"type": "minecraft:chest",
	"pools": [
		{
			"rolls": {
				"type": "minecraft:uniform",
				"min": 5,
				"max": 7
			},
			"bonus_rolls": 0,
			"entries": [
				{
					"type": "minecraft:item",
					"weight": 8,
					"name": "minecraft:paper",
					"functions": [
						{
							"function": "minecraft:set_count",
							"count": {
								"type": "minecraft:uniform",
								"min": 1,
								"max": 8
							},
							"add": false
						}
					]
				},
				{
					"type": "minecraft:item",
					"weight": 7,
					"name": "minecraft:potato",
					"functions": [
						{
							"function": "minecraft:set_count",
							"count": {
								"type": "minecraft:uniform",
								"min": 2,
								"max": 5
							},
							"add": false
						}
					]
				},
				{
					"type": "minecraft:item",
					"weight": 7,
					"name": "minecraft:moss_block",
					"functions": [
						{
							"function": "minecraft:set_count",
							"count": {
								"type": "minecraft:uniform",
								"min": 1,
								"max": 4
							},
							"add": false
						}
					]
				},
				{
					"type": "minecraft:item",
					"weight": 7,
					"name": "minecraft:poisonous_potato",
					"functions": [
						{
							"function": "minecraft:set_count",
							"count": {
								"type": "minecraft:uniform",
								"min": 2,
								"max": 3
							},
							"add": false
						}
					]
				},
				{
					"type": "minecraft:item",
					"weight": 7,
					"name": "minecraft:carrot",
					"functions": [
						{
							"function": "minecraft:set_count",
							"count": {
								"type": "minecraft:uniform",
								"min": 3,
								"max": 5
							},
							"add": false
						}
					]
				},
				{
					"type": "minecraft:item",
					"weight": 7,
					"name": "minecraft:wheat",
					"functions": [
						{
							"function": "minecraft:set_count",
							"count": {
								"type": "minecraft:uniform",
								"min": 3,
								"max": 6
							},
							"add": false
						}
					]
				},
				{
					"type": "minecraft:item",
					"weight": 10,
					"name": "minecraft:suspicious_stew",
					"functions": [
						{
							"function": "minecraft:set_stew_effect",
							"effects": [
								{
									"type": "minecraft:blindness",
									"duration": {
										"type": "minecraft:uniform",
										"min": 5,
										"max": 7
									}
								},
								{
									"type": "minecraft:jump_boost",
									"duration": {
										"type": "minecraft:uniform",
										"min": 7,
										"max": 10
									}
								},
								{
									"type": "minecraft:night_vision",
									"duration": {
										"type": "minecraft:uniform",
										"min": 7,
										"max": 10
									}
								},
								{
									"type": "minecraft:poison",
									"duration": {
										"type": "minecraft:uniform",
										"min": 10,
										"max": 20
									}
								},
								{
									"type": "minecraft:saturation",
									"duration": {
										"type": "minecraft:uniform",
										"min": 7,
										"max": 10
									}
								},
								{
									"type": "minecraft:weakness",
									"duration": {
										"type": "minecraft:uniform",
										"min": 6,
										"max": 8
									}
								}
							]
						}
					]
				},
				{
					"type": "minecraft:item",
					"weight": 6,
					"name": "minecraft:coal",
					"functions": [
						{
							"function": "minecraft:set_count",
							"count": {
								"type": "minecraft:uniform",
								"min": 2,
								"max": 4
							},
							"add": false
						}
					]
				},
				{
					"type": "minecraft:item",
					"weight": 5,
					"name": "minecraft:rotten_flesh",
					"functions": [
						{
							"function": "minecraft:set_count",
							"count": {
								"type": "minecraft:uniform",
								"min": 3,
								"max": 5
							},
							"add": false
						}
					]
				},
				{
					"type": "minecraft:item",
					"weight": 2,
					"name": "minecraft:pumpkin",
					"functions": [
						{
							"function": "minecraft:set_count",
							"count": {
								"type": "minecraft:uniform",
								"min": 1,
								"max": 2
							},
							"add": false
						}
					]
				},
				{
					"type": "minecraft:item",
					"weight": 2,
					"name": "minecraft:bamboo",
					"functions": [
						{
							"function": "minecraft:set_count",
							"count": {
								"type": "minecraft:uniform",
								"min": 1,
								"max": 2
							},
							"add": false
						}
					]
				},
				{
					"type": "minecraft:item",
					"weight": 3,
					"name": "minecraft:gunpowder",
					"functions": [
						{
							"function": "minecraft:set_count",
							"count": {
								"type": "minecraft:uniform",
								"min": 1,
								"max": 4
							},
							"add": false
						}
					]
				},
				{
					"type": "minecraft:item",
					"name": "minecraft:tnt",
					"functions": [
						{
							"function": "minecraft:set_count",
							"count": {
								"type": "minecraft:uniform",
								"min": 1,
								"max": 2
							},
							"add": false
						}
					]
				},
				{
					"type": "minecraft:item",
					"weight": 3,
					"name": "minecraft:leather_helmet",
					"functions": [
						{
							"function": "minecraft:enchant_randomly"
						}
					]
				},
				{
					"type": "minecraft:item",
					"weight": 3,
					"name": "minecraft:leather_chestplate",
					"functions": [
						{
							"function": "minecraft:enchant_randomly"
						}
					]
				},
				{
					"type": "minecraft:item",
					"weight": 3,
					"name": "minecraft:leather_leggings",
					"functions": [
						{
							"function": "minecraft:enchant_randomly"
						}
					]
				},
				{
					"type": "minecraft:item",
					"weight": 3,
					"name": "minecraft:leather_boots",
					"functions": [
						{
							"function": "minecraft:enchant_randomly"
						}
					]
				}
			]
		},
		{
			"rolls": 1,
			"bonus_rolls": 0,
			"entries": [
				{
					"type": "minecraft:empty",
					"weight": 5
				},
				{
					"type": "minecraft:item",
					"name": "minecraft:coast_armor_trim_smithing_template",
					"functions": [
						{
							"function": "minecraft:set_count",
							"count": {
								"min": 1,
								"max": 2
							},
							"add": false
						}
					]
				}
			]
		},
        {
			"rolls": 3,
			"entries": [
				{
					"type": "minecraft:item",
					"name": "minecraft:kelp",
					"functions": [
						{
							"function": "minecraft:set_count",
							"count": {
								"min": 2,
								"max": 4
							}
						}
					]
				},
				{
					"type": "minecraft:item",
					"name": "minecraft:seagrass",
					"functions": [
						{
							"function": "minecraft:set_count",
							"count": {
								"min": 3,
								"max": 5
							}
						}
					]
				}
			],
			"conditions": [
				{
					"condition": "minecraft:location_check",
					"predicate": {
						"structure": "minecraft:shipwreck"
					}
				}
			]
		},
		{
			"rolls": 1,
			"entries": [
				{
					"type": "minecraft:item",
					"name": "minecraft:sand",
					"functions": [
						{
							"function": "minecraft:set_count",
							"count": {
								"min": 4,
								"max": 10
							}
						}
					]
				}
			],
			"conditions": [
				{
					"condition": "minecraft:location_check",
					"predicate": {
						"structure": "minecraft:shipwreck_beached"
					}
				}
			]
		}
	],
	"random_sequence": "minecraft:chests/shipwreck_supply"
}
