{
	"type": "minecraft:chest",
	"pools": [
		{
			"rolls": 1,
			"bonus_rolls": 0,
			"entries": [
				{
					"type": "minecraft:item",
					"name": "minecraft:map",
					"functions": [
						{
							"function": "minecraft:exploration_map",
							"decoration": "red_x",
							"zoom": 1,
							"skip_existing_chunks": false
						},
						{
							"function": "minecraft:set_name",
							"name": {
								"translate": "filled_map.buried_treasure"
							}
						}
					]
				}
			]
		},
		{
			"rolls": 3,
			"bonus_rolls": 0,
			"entries": [
				{
					"type": "minecraft:item",
					"name": "minecraft:compass"
				},
				{
					"type": "minecraft:item",
					"name": "minecraft:map"
				},
				{
					"type": "minecraft:item",
					"name": "minecraft:clock"
				},
				{
					"type": "minecraft:item",
					"weight": 20,
					"name": "minecraft:paper",
					"functions": [
						{
							"function": "minecraft:set_count",
							"count": {
								"type": "minecraft:uniform",
								"min": 1,
								"max": 5
							},
							"add": false
						}
					]
				},
				{
					"type": "minecraft:item",
					"weight": 10,
					"name": "minecraft:feather",
					"functions": [
						{
							"function": "minecraft:set_count",
							"count": {
								"type": "minecraft:uniform",
								"min": 1,
								"max": 5
							},
							"add": false
						}
					]
				},
				{
					"type": "minecraft:item",
					"weight": 5,
					"name": "minecraft:book",
					"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_map"
}
