{
	"type": "minecraft:chest",
	"pools": [
		{
			"rolls": 2,
			"bonus_rolls": 0,
			"entries": [
				{
					"type": "minecraft:item",
					"weight": 90,
					"name": "minecraft:iron_ingot",
					"functions": [
						{
							"function": "minecraft:set_count",
							"count": {
								"type": "minecraft:uniform",
								"min": 1,
								"max": 3
							},
							"add": false
						}
					]
				},
				{
					"type": "minecraft:item",
					"weight": 10,
					"name": "minecraft:gold_ingot",
					"functions": [
						{
							"function": "minecraft:set_count",
							"count": {
								"type": "minecraft:uniform",
								"min": 1,
								"max": 3
							},
							"add": false
						}
					]
				},
				{
					"type": "minecraft:item",
					"weight": 40,
					"name": "minecraft:emerald",
					"functions": [
						{
							"function": "minecraft:set_count",
							"count": {
								"type": "minecraft:uniform",
								"min": 1,
								"max": 4
							},
							"add": false
						}
					]
				},
				{
					"type": "minecraft:item",
					"weight": 5,
					"name": "minecraft:diamond"
				},
				{
					"type": "minecraft:item",
					"weight": 5,
					"name": "minecraft:experience_bottle"
				}
			]
		},
		{
			"rolls": 3,
			"bonus_rolls": 0,
			"entries": [
				{
					"type": "minecraft:item",
					"weight": 50,
					"name": "minecraft:iron_nugget",
					"functions": [
						{
							"function": "minecraft:set_count",
							"count": {
								"type": "minecraft:uniform",
								"min": 1,
								"max": 6
							},
							"add": false
						}
					]
				},
				{
					"type": "minecraft:item",
					"weight": 10,
					"name": "minecraft:gold_nugget",
					"functions": [
						{
							"function": "minecraft:set_count",
							"count": {
								"type": "minecraft:uniform",
								"min": 1,
								"max": 6
							},
							"add": false
						}
					]
				},
				{
					"type": "minecraft:item",
					"weight": 20,
					"name": "minecraft:lapis_lazuli",
					"functions": [
						{
							"function": "minecraft:set_count",
							"count": {
								"type": "minecraft:uniform",
								"min": 1,
								"max": 5
							},
							"add": false
						}
					]
				}
			]
		},
		{
			"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_treasure"
}
