{
  "pools": [
    {
      "rolls": {
        "type": "minecraft:binomial",
        "n": 3,
        "p": 0.15
      },
      "entries": [
        {
          "type": "minecraft:item",
          "name": "minecraft:book",
          "functions": [
            {
              "function": "minecraft:enchant_randomly"
            }
          ]
        }
      ]
    },
	{		
      "rolls": {
        "type": "minecraft:binomial",
        "n": 5,
        "p": 0.20
      },
      "entries": [
        {
          "type": "minecraft:item",
		  "weight": 10,
          "name": "immersiveengineering:armor_steel_feet",
          "functions": [
            {
              "function": "minecraft:enchant_with_levels",
              "levels": {
                "min": 0,
                "max": 30
              },
              "conditions": [
                {
                  "condition": "minecraft:random_chance",
                  "chance": 0.5
                }
              ]
            }
          ]
        },
        {
          "type": "minecraft:item",
		  "weight": 10,
          "name": "immersiveengineering:armor_steel_legs",
          "functions": [
            {
              "function": "minecraft:enchant_with_levels",
              "levels": {
                "min": 1,
                "max": 30
              },
              "conditions": [
                {
                  "condition": "minecraft:random_chance",
                  "chance": 0.5
                }
              ]
            }
          ]
        },
        {
          "type": "minecraft:item",
		  "weight": 10,
          "name": "immersiveengineering:armor_steel_chest",
          "functions": [
            {
              "function": "minecraft:enchant_with_levels",
              "levels": {
                "min": 1,
                "max": 30
              },
              "conditions": [
                {
                  "condition": "minecraft:random_chance",
                  "chance": 0.5
                }
              ]
            }
          ]
        },
        {
          "type": "minecraft:item",
		  "weight": 10,
          "name": "immersiveengineering:armor_steel_head",
          "functions": [
            {
              "function": "minecraft:enchant_with_levels",
              "levels": {
                "min": 1,
                "max": 30
              },
              "conditions": [
                {
                  "condition": "minecraft:random_chance",
                  "chance": 0.5
                }
              ]
            }
          ]
        },
        {
          "type": "minecraft:item",
		  "weight": 10,		  
          "name": "minecraft:diamond_helmet",
          "functions": [
            {
              "function": "minecraft:enchant_with_levels",
              "levels": {
                "min": 1,
                "max": 30
              },
              "conditions": [
                {
                  "condition": "minecraft:random_chance",
                  "chance": 0.5
                }
              ]
            }
          ]
        },
        {
          "type": "minecraft:item",
		  "weight": 10,		  
          "name": "minecraft:diamond_leggings",
          "functions": [
            {
              "function": "minecraft:enchant_with_levels",
              "levels": {
                "min": 2,
                "max": 30
              },
              "conditions": [
                {
                  "condition": "minecraft:random_chance",
                  "chance": 0.5
                }
              ]
            }
          ]
        },
        {
          "type": "minecraft:item",
		  "weight": 10,		  
          "name": "minecraft:diamond_chestplate",
          "functions": [
            {
              "function": "minecraft:enchant_with_levels",
              "levels": {
                "min": 2,
                "max": 30
              },
              "conditions": [
                {
                  "condition": "minecraft:random_chance",
                  "chance": 0.5
                }
              ]
            }
          ]
        },
        {
          "type": "minecraft:item",
		  "weight": 10,		  
          "name": "minecraft:diamond_boots",
          "functions": [
            {
              "function": "minecraft:enchant_with_levels",
              "levels": {
                "min": 1,
                "max": 30
              },
              "conditions": [
                {
                  "condition": "minecraft:random_chance",
                  "chance": 0.5
                }
              ]
            }
          ]
        },
        {
          "type": "minecraft:item",
		  "weight": 20,		  
          "name": "betterendforge:thallasium_boots",
          "functions": [
            {
              "function": "minecraft:enchant_with_levels",
              "levels": {
                "min": 1,
                "max": 30
              },
              "conditions": [
                {
                  "condition": "minecraft:random_chance",
                  "chance": 0.5
                }
              ]
            }
          ]
        },
        {
          "type": "minecraft:item",
		  "weight": 20,		  
          "name": "betterendforge:thallasium_leggings",
          "functions": [
            {
              "function": "minecraft:enchant_with_levels",
              "levels": {
                "min": 1,
                "max": 30
              },
              "conditions": [
                {
                  "condition": "minecraft:random_chance",
                  "chance": 0.5
                }
              ]
            }
          ]
        },
        {
          "type": "minecraft:item",
		  "weight": 20,		  
          "name": "betterendforge:thallasium_chestplate",
          "functions": [
            {
              "function": "minecraft:enchant_with_levels",
              "levels": {
                "min": 1,
                "max": 30
              },
              "conditions": [
                {
                  "condition": "minecraft:random_chance",
                  "chance": 0.5
                }
              ]
            }
          ]
        },
        {
          "type": "minecraft:item",
		  "weight": 20,		  
          "name": "betterendforge:thallasium_helmet",
          "functions": [
            {
              "function": "minecraft:enchant_with_levels",
              "levels": {
                "min": 1,
                "max": 30
              },
              "conditions": [
                {
                  "condition": "minecraft:random_chance",
                  "chance": 0.5
                }
              ]
            }
          ]
        },
        {
          "type": "minecraft:item",
		  "weight": 25,
          "name": "minecraft:iron_helmet",
          "functions": [
            {
              "function": "minecraft:enchant_with_levels",
              "levels": {
                "min": 1,
                "max": 30
              },
              "conditions": [
                {
                  "condition": "minecraft:random_chance",
                  "chance": 0.5
                }
              ]
            }
          ]
        },
        {
          "type": "minecraft:item",
		  "weight": 25,
          "name": "minecraft:iron_chestplate",
          "functions": [
            {
              "function": "minecraft:enchant_with_levels",
              "levels": {
                "min": 1,
                "max": 30
              },
              "conditions": [
                {
                  "condition": "minecraft:random_chance",
                  "chance": 0.5
                }
              ]
            }
          ]
        },
        {
          "type": "minecraft:item",
		  "weight": 25,
          "name": "minecraft:iron_leggings",
          "functions": [
            {
              "function": "minecraft:enchant_with_levels",
              "levels": {
                "min": 1,
                "max": 30
              },
              "conditions": [
                {
                  "condition": "minecraft:random_chance",
                  "chance": 0.5
                }
              ]
            }
          ]
        },
        {
          "type": "minecraft:item",
		  "weight": 25,
          "name": "minecraft:iron_boots",
          "functions": [
            {
              "function": "minecraft:enchant_with_levels",
              "levels": {
                "min": 1,
                "max": 30
              },
              "conditions": [
                {
                  "condition": "minecraft:random_chance",
                  "chance": 0.5
                }
              ]
            }
          ]
		}
      ]
    },
    {
      "rolls": {
        "type": "minecraft:binomial",
        "n": 3,
        "p": 0.25
      },
      "entries": [
        {
          "type": "minecraft:item",
          "weight": 20,		  
          "name": "minecraft:iron_axe",
          "functions": [
            {
              "function": "minecraft:enchant_with_levels",
              "levels": {
                "min": 1,
                "max": 30
              },
              "conditions": [
                {
                  "condition": "minecraft:random_chance",
                  "chance": 0.5
                }
              ]
            }
          ]
        },
        {
          "type": "minecraft:item",
          "weight": 5,		  
          "name": "minecraft:diamond_pickaxe",
          "functions": [
            {
              "function": "minecraft:enchant_with_levels",
              "levels": {
                "min": 1,
                "max": 30
              },
              "conditions": [
                {
                  "condition": "minecraft:random_chance",
                  "chance": 0.5
                }
              ]
            }
          ]
        },
        {	
          "type": "minecraft:item",
          "weight": 5,		  
          "name": "minecraft:diamond_axe",
          "functions": [
            {
              "function": "minecraft:enchant_with_levels",
              "levels": {
                "min": 1,
                "max": 30
              },
              "conditions": [
                {
                  "condition": "minecraft:random_chance",
                  "chance": 0.5
                }
              ]
            }
          ]
        },
        {
          "type": "minecraft:item",
          "weight": 5,		  
          "name": "minecraft:diamond_shovel",
          "functions": [
            {
              "function": "minecraft:enchant_with_levels",
              "levels": {
                "min": 1,
                "max": 30
              },
              "conditions": [
                {
                  "condition": "minecraft:random_chance",
                  "chance": 0.5
                }
              ]
            }
          ]
        },
        {			
          "type": "minecraft:item",
          "weight": 20,		  
          "name": "minecraft:iron_pickaxe",
          "functions": [
            {
              "function": "minecraft:enchant_with_levels",
              "levels": {
                "min": 1,
                "max": 30
              },
              "conditions": [
                {
                  "condition": "minecraft:random_chance",
                  "chance": 0.5
                }
              ]
            }
          ]
        },
        {			
          "type": "minecraft:item",
          "weight": 20,		  
          "name": "minecraft:iron_shovel",
          "functions": [
            {
              "function": "minecraft:enchant_with_levels",
              "levels": {
                "min": 1,
                "max": 30
              },
              "conditions": [
                {
                  "condition": "minecraft:random_chance",
                  "chance": 0.5
                }
              ]
            }
          ]
        },
        {			
          "type": "minecraft:item",
          "weight": 15,		  
          "name": "betterendforge:thallasium_hoe",
          "functions": [
            {
              "function": "minecraft:enchant_with_levels",
              "levels": {
                "min": 1,
                "max": 30
              },
              "conditions": [
                {
                  "condition": "minecraft:random_chance",
                  "chance": 0.5
                }
              ]
            }
          ]
        },
        {			
          "type": "minecraft:item",
          "weight": 15,		  
          "name": "betterendforge:thallasium_hammer",
          "functions": [
            {
              "function": "minecraft:enchant_with_levels",
              "levels": {
                "min": 1,
                "max": 30
              },
              "conditions": [
                {
                  "condition": "minecraft:random_chance",
                  "chance": 0.5
                }
              ]
            }
          ]
        },
        {
          "type": "minecraft:item",
          "weight": 15,		  
          "name": "betterendforge:thallasium_shovel",
          "functions": [
            {
              "function": "minecraft:enchant_with_levels",
              "levels": {
                "min": 1,
                "max": 30
              },
              "conditions": [
                {
                  "condition": "minecraft:random_chance",
                  "chance": 0.5
                }
              ]
            }
          ]
        },
        {			
          "type": "minecraft:item",
          "weight": 15,		  
          "name": "betterendforge:thallasium_axe",
          "functions": [
            {
              "function": "minecraft:enchant_with_levels",
              "levels": {
                "min": 1,
                "max": 30
              },
              "conditions": [
                {
                  "condition": "minecraft:random_chance",
                  "chance": 0.5
                }
              ]
            }
          ]
        },
        {
          "type": "minecraft:item",
          "weight": 15,		  
          "name": "betterendforge:thallasium_pickaxe",
          "functions": [
            {
              "function": "minecraft:enchant_with_levels",
              "levels": {
                "min": 1,
                "max": 30
              },
              "conditions": [
                {
                  "condition": "minecraft:random_chance",
                  "chance": 0.5
                }
              ]
            }
		  ]
		}
      ]
    },
    {	
      "rolls": {
        "min": 4,
        "max": 6
      },
      "entries": [
        {
          "type": "minecraft:item",
          "weight": 15,
          "name": "minecraft:ender_pearl",
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 1,
                "max": 3
              }
            }
          ]
        },
        {
          "type": "minecraft:item",
          "weight": 15,
          "name": "betterendforge:thallasium_chain",
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 1,
                "max": 12
              }
            }
          ]
        },
        {			
          "type": "minecraft:item",
          "weight": 5,
          "name": "apotheosis:farmers_leash"
        },
        {
          "type": "minecraft:item",
          "weight": 20,
          "name": "endergetic:ender_lantern",
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 1,
                "max": 3
              }
            }
          ]
        },
        {
          "type": "minecraft:item",
          "weight": 5,
          "name": "minecraft:dragon_breath"
        },
        {
          "type": "minecraft:item",
          "weight": 30,
          "name": "endergetic:ender_torch",
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 1,
                "max": 16
              }
            }
          ]
        },
        {
          "type": "minecraft:item",
          "weight": 1,
          "name": "endergetic:music_disc_kilobyte"
        },
        {
          "type": "minecraft:item",
          "weight": 30,
          "name": "minecraft:chorus_fruit",
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 1,
                "max": 8
              }
            }
          ]
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:book",
          "functions": [
            {
              "function": "minecraft:enchant_with_levels",
              "levels": {
                "min": 0,
                "max": 75
              }
            }
          ]
        },
        {
          "type": "minecraft:item",
          "weight": 3,
          "name": "thermal:enderium_dust",
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 1,
                "max": 2
              }
            }
          ]
        },
        {
          "type": "minecraft:item",
          "weight": 8,
          "name": "betterendforge:thallasium_nugget",
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 1,
                "max": 18
              }
            }
          ]
        },
        {			
          "type": "minecraft:item",
          "weight": 10,
          "name": "endergetic:eumus_brick",
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 1,
                "max": 22	
              }
            }
          ]
        }
      ]
    },
    {				
      "rolls": {
        "type": "minecraft:binomial",
        "n": 2,
        "p": 0.75
      },
      "entries": [
        {
          "type": "minecraft:item",
          "weight": 10,		  
          "name": "minecraft:iron_ingot",
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 3,
                "max": 8
              }
            }
          ]
        },
        {
          "type": "minecraft:item",
          "weight": 2,		  
          "name": "minecraft:diamond",
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 1,
                "max": 3
              }
            }
          ]
        },
        {
          "type": "minecraft:item",
          "weight": 5,		  
          "name": "minecraft:gold_ingot",
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 1,
                "max": 5
              }
            }
          ]
        }
      ]
    }
  ]
}