{
	"type": "minecraft:chest",
	"pools": [
		{
			"rolls": {
				"type": "minecraft:uniform",
				"min": 5,
				"max": 7
			},
			"bonus_rolls": 0,
			"entries": [
				{
					"type": "minecraft:item",
					"weight": 12,
					"quality": -2,
					"name": "minecraft:book",
					"functions": [
						{
							"function": "minecraft:set_count",
							"count": {
								"type": "minecraft:uniform",
								"min": 1,
								"max": 2
							},
							"add": true
						}
					]
				},
				{
					"type": "minecraft:item",
					"weight": 9,
					"quality": -4,
					"name": "minecraft:paper",
					"functions": [
						{
							"function": "minecraft:set_count",
							"count": {
								"type": "minecraft:uniform",
								"min": 1,
								"max": 4
							},
							"add": true
						}
					]
				},
				{
					"type": "minecraft:item",
					"weight": 4,
					"quality": 3,
					"name": "minecraft:book",
					"functions": [
						{
							"function": "minecraft:enchant_with_levels",
							"levels": {
								"min": 20,
								"max": 30
							},
							"options": "#minecraft:on_random_loot"
						}
					]
				},
				{
					"type": "minecraft:item",
					"weight": 5,
					"name": "minecraft:obsidian",
					"functions": [
						{
							"function": "minecraft:set_count",
							"count": {
								"min": 1,
								"max": 3
							},
							"add": false
						}
					]
				},
				{
					"type": "minecraft:item",
					"weight": 8,
					"name": "minecraft:amethyst_shard",
					"functions": [
						{
							"function": "minecraft:set_count",
							"count": {
								"min": 2,
								"max": 3
							}
						}
					]
				}
			]
		}
	]
}
