{
	"version": "2.0.0",
	"category": "wither_chest",
	"rarity": "scarce",
	"type": "minecraft:chest",
	"pools": [
		{
			"name": "treasure",
			"rolls": 1,
			"entries": [
                {
                    "type": "minecraft:loot_table",
                    "name": "treasure2:pools/treasure/scarce",
                    "weight": 30
                }
			]
		},
		{
			"name": "charms",
			"rolls": 1,
			"entries": [
				{
					"type": "loot_table",
					"name": "treasure2:pools/treasure/scarce_charms",
					"weight": 1
				}
			]
		},
		{
			"name": "bones",
			"rolls": 1,
			"entries": [
				{
					"entryName": "bone",
					"type": "minecraft:item",
					"name": "minecraft:bone",
					"functions": [
						{
							"function": "minecraft:set_count",
							"count": {
								"min": 0,
								"max": 25
							}
						}
					],
					"weight": 20
				}
			]
		},
		{
			"name": "books",
			"rolls": {
				"min": 1,
				"max": 3
			},
			"entries": [
				{
					"entryName": "book",
					"type": "minecraft:item",
					"name": "minecraft:book",
					"weight": 20
				},
				{
					"entryName": "enchanted_book",
					"type": "minecraft:item",
					"name": "minecraft:book",
					"weight": 10,
					"functions": [
						{
							"function": "minecraft:enchant_with_levels",
							"levels": 30,
							"treasure": true
						}
					]
				}
			]
		},
		{
			"name": "crafting",
			"rolls": 1,
			"entries": [
				{
					"entryName": "table",
					"type": "minecraft:item",
					"name": "minecraft:enchanting_table",
					"weight": 1,
					"conditions": [
						{
							"condition": "minecraft:random_chance",
							"chance": 0.2
						}
					]
				}
			]
		},
		{
			"name": "common_potions",
			"rolls": {
				"min": 0,
				"max": 3
			},
			"entries": [
                {
                    "type": "minecraft:loot_table",
                    "name": "treasure2:pools/potions/common",
                    "weight": 30
                }
			]
		},
		{
			"name": "uncommon_potions",
			"rolls": {
				"min": 1,
				"max": 3
			},
			"entries": [
                {
                    "type": "minecraft:loot_table",
                    "name": "treasure2:pools/potions/uncommon",
                    "weight": 40
                }
			]
		},
		{
			"name": "scarce_potions",
			"rolls": {
				"min": 3,
				"max": 5
			},
			"entries": [
                {
                    "type": "minecraft:loot_table",
                    "name": "treasure2:pools/potions/scarce",
                    "weight": 50
                }
			]
		},
		{
			"name": "rare_potions",
			"rolls": {
				"min": 0,
				"max": 3
			},
			"entries": [
                {
                    "type": "minecraft:loot_table",
                    "name": "treasure2:pools/potions/rare",
                    "weight": 30
                }
			]
		}
	]
}
