{
  "pools": [
    // Enchanted Books
    {
      "rolls": 3,
      "entries": [
        {
          "type": "item",
          "weight": 100,
          "name": "minecraft:enchanted_book",
          "functions": [
            {
              "function": "set_count",
              "count": 1
            },
            {
              "function": "enchant_randomly"
            }
          ]
        }
      ]
    },
    // Materials
    {
      "rolls": 21,
      "entries": [
        {
          "type": "item",
          "weight": 25,
          "name": "minecraft:book",
          "functions": [
            {
              "function": "set_count",
              "count": 1
            }
          ]
        },
        {
          "type": "item",
          "weight": 10,
          "name": "minecraft:dye",
          "functions": [
            {
              "function": "set_count",
              "count": 1
            },
            {
              "function": "set_data",
              "data": {
                "min": 0,
                "max": 19
              }
            }
          ]
        },
        {
          "type": "item",
          "weight": 100,
          "name": "minecraft:paper",
          "functions": [
            {
              "function": "set_count",
              "count": 1
            }
          ]
        },
        {
          "type": "item",
          "weight": 10,
          "name": "minecraft:stick",
          "functions": [
            {
              "function": "set_count",
              "count": 1
            }
          ]
        },
        {
          "type": "item",
          "weight": 10,
          "name": "minecraft:string",
          "functions": [
            {
              "function": "set_count",
              "count": 1
            }
          ]
        }
      ]
    },
    // Mobs Drops
    {
      "rolls": 2,
      "entries": [
        {
          "type": "item",
          "weight": 100,
          "name": "minecraft:bone",
          "functions": [
            {
              "function": "set_count",
              "count": 1
            }
          ]
        },
        {
          "type": "item",
          "weight": 25,
          "name": "minecraft:ender_pearl",
          "functions": [
            {
              "function": "set_count",
              "count": 1
            }
          ]
        },
        {
          "type": "item",
          "weight": 100,
          "name": "minecraft:feather",
          "functions": [
            {
              "function": "set_count",
              "count": 1
            }
          ]
        },
        {
          "type": "item",
          "weight": 10,
          "name": "minecraft:ghast_tear",
          "functions": [
            {
              "function": "set_count",
              "count": 1
            }
          ]
        },
        {
          "type": "item",
          "weight": 100,
          "name": "minecraft:glow_ink_sac",
          "functions": [
            {
              "function": "set_count",
              "count": 1
            }
          ]
        },
        {
          "type": "item",
          "weight": 25,
          "name": "minecraft:goat_horn",
          "functions": [
            {
              "function": "set_count",
              "count": 1
            }
          ]
        },
        {
          "type": "item",
          "weight": 100,
          "name": "minecraft:gunpowder",
          "functions": [
            {
              "function": "set_count",
              "count": 1
            }
          ]
        },
        {
          "type": "item",
          "weight": 100,
          "name": "minecraft:leather",
          "functions": [
            {
              "function": "set_count",
              "count": 1
            }
          ]
        },
        {
          "type": "item",
          "weight": 30,
          "name": "minecraft:nautilus_shell",
          "functions": [
            {
              "function": "set_count",
              "count": 1
            }
          ]
        },
        {
          "type": "item",
          "weight": 30,
          "name": "minecraft:phantom_membrane",
          "functions": [
            {
              "function": "set_count",
              "count": 1
            }
          ]
        },
        {
          "type": "item",
          "weight": 25,
          "name": "minecraft:prismarine_crystals",
          "functions": [
            {
              "function": "set_count",
              "count": 1
            }
          ]
        },
        {
          "type": "item",
          "weight": 50,
          "name": "minecraft:rabbit_foot",
          "functions": [
            {
              "function": "set_count",
              "count": 1
            }
          ]
        },
        {
          "type": "item",
          "weight": 75,
          "name": "minecraft:rabbit_hide",
          "functions": [
            {
              "function": "set_count",
              "count": 1
            }
          ]
        },
        {
          "type": "item",
          "weight": 100,
          "name": "minecraft:rotten_flesh",
          "functions": [
            {
              "function": "set_count",
              "count": 1
            }
          ]
        },
        {
          "type": "item",
          "weight": 100,
          "name": "minecraft:slime_ball",
          "functions": [
            {
              "function": "set_count",
              "count": 1
            }
          ]
        },
        {
          "type": "item",
          "weight": 100,
          "name": "minecraft:spider_eye",
          "functions": [
            {
              "function": "set_count",
              "count": 1
            }
          ]
        },
        {
          "type": "item",
          "weight": 100,
          "name": "minecraft:string",
          "functions": [
            {
              "function": "set_count",
              "count": 1
            }
          ]
        },
        {
          "type": "item",
          "weight": 10,
          "name": "minecraft:turtle_shell_piece",
          "functions": [
            {
              "function": "set_count",
              "count": 1
            }
          ]
        }
      ]
    },
    // Objects
    {
      "rolls": 1,
      "entries": [
        {
          "type": "item",
          "weight": 25,
          "name": "minecraft:armor_stand",
          "functions": [
            {
              "function": "set_count",
              "count": 1
            }
          ]
        },
        {
          "type": "item",
          "weight": 20,
          "name": "minecraft:banner",
          "functions": [
            {
              "function": "set_count",
              "count": 1
            },
            {
              "function": "set_data",
              "data": {
                "min": 0,
                "max": 15
              }
            }
          ]
        },
        {
          "type": "item",
          "weight": 20,
          "name": "minecraft:banner_pattern",
          "functions": [
            {
              "function": "set_count",
              "count": 1
            },
            {
              "function": "set_data",
              "data": {
                "min": 0,
                "max": 5
              }
            }
          ]
        },
        {
          "type": "item",
          "weight": 5,
          "name": "minecraft:bell",
          "functions": [
            {
              "function": "set_count",
              "count": 1
            }
          ]
        },
        {
          "type": "item",
          "weight": 25,
          "name": "minecraft:carpet",
          "functions": [
            {
              "function": "set_count",
              "count": 1
            },
            {
              "function": "set_data",
              "data": {
                "min": 0,
                "max": 15
              }
            }
          ]
        },
        {
          "type": "item",
          "weight": 100,
          "name": "minecraft:chain",
          "functions": [
            {
              "function": "set_count",
              "count": 1
            }
          ]
        },
        {
          "type": "item",
          "weight": 25,
          "name": "minecraft:comparator",
          "functions": [
            {
              "function": "set_count",
              "count": 1
            }
          ]
        },
        {
          "type": "item",
          "weight": 15,
          "name": "minecraft:concrete_powder",
          "functions": [
            {
              "function": "set_count",
              "count": 1
            },
            {
              "function": "set_data",
              "data": {
                "min": 0,
                "max": 15
              }
            }
          ]
        },
        {
          "type": "item",
          "weight": 75,
          "name": "minecraft:frame",
          "functions": [
            {
              "function": "set_count",
              "count": 1
            }
          ]
        },
        {
          "type": "item",
          "weight": 25,
          "name": "minecraft:glass",
          "functions": [
            {
              "function": "set_count",
              "count": 1
            }
          ]
        },
        {
          "type": "item",
          "weight": 25,
          "name": "minecraft:glass_pane",
          "functions": [
            {
              "function": "set_count",
              "count": 1
            }
          ]
        },
        {
          "type": "item",
          "weight": 75,
          "name": "minecraft:glow_frame",
          "functions": [
            {
              "function": "set_count",
              "count": 1
            }
          ]
        },
        {
          "type": "item",
          "weight": 100,
          "name": "minecraft:ladder",
          "functions": [
            {
              "function": "set_count",
              "count": 1
            }
          ]
        },
        {
          "type": "item",
          "weight": 75,
          "name": "minecraft:lever",
          "functions": [
            {
              "function": "set_count",
              "count": 1
            }
          ]
        },
        {
          "type": "item",
          "weight": 50,
          "name": "minecraft:lightning_rod",
          "functions": [
            {
              "function": "set_count",
              "count": 1
            }
          ]
        },
        {
          "type": "item",
          "weight": 100,
          "name": "minecraft:lantern",
          "functions": [
            {
              "function": "set_count",
              "count": 1
            }
          ]
        },
        {
          "type": "item",
          "weight": 75,
          "name": "minecraft:painting",
          "functions": [
            {
              "function": "set_count",
              "count": 1
            }
          ]
        },
        {
          "type": "item",
          "weight": 100,
          "name": "minecraft:redstone_torch",
          "functions": [
            {
              "function": "set_count",
              "count": 1
            }
          ]
        },
        {
          "type": "item",
          "weight": 25,
          "name": "minecraft:repeater",
          "functions": [
            {
              "function": "set_count",
              "count": 1
            }
          ]
        },
        {
          "type": "item",
          "weight": 50,
          "name": "minecraft:scaffolding",
          "functions": [
            {
              "function": "set_count",
              "count": 1
            }
          ]
        },
        {
          "type": "item",
          "weight": 75,
          "name": "minecraft:soul_lantern",
          "functions": [
            {
              "function": "set_count",
              "count": 1
            }
          ]
        },
        {
          "type": "item",
          "weight": 75,
          "name": "minecraft:soul_torch",
          "functions": [
            {
              "function": "set_count",
              "count": 1
            }
          ]
        },
        {
          "type": "item",
          "weight": 15,
          "name": "minecraft:stained_hardened_clay",
          "functions": [
            {
              "function": "set_count",
              "count": 1
            },
            {
              "function": "set_data",
              "data": {
                "min": 0,
                "max": 15
              }
            }
          ]
        },
        {
          "type": "item",
          "weight": 25,
          "name": "minecraft:stained_glass",
          "functions": [
            {
              "function": "set_count",
              "count": 1
            },
            {
              "function": "set_data",
              "data": {
                "min": 0,
                "max": 15
              }
            }
          ]
        },
        {
          "type": "item",
          "weight": 25,
          "name": "minecraft:stained_glass_pane",
          "functions": [
            {
              "function": "set_count",
              "count": 1
            },
            {
              "function": "set_data",
              "data": {
                "min": 0,
                "max": 15
              }
            }
          ]
        },
        {
          "type": "item",
          "weight": 25,
          "name": "minecraft:tinted_glass",
          "functions": [
            {
              "function": "set_count",
              "count": 1
            }
          ]
        },
        {
          "type": "item",
          "weight": 25,
          "name": "minecraft:tnt",
          "functions": [
            {
              "function": "set_count",
              "count": 1
            }
          ]
        },
        {
          "type": "item",
          "weight": 100,
          "name": "minecraft:torch",
          "functions": [
            {
              "function": "set_count",
              "count": 1
            }
          ]
        },
        {
          "type": "item",
          "weight": 50,
          "name": "minecraft:tripwire_hook",
          "functions": [
            {
              "function": "set_count",
              "count": 1
            }
          ]
        },
        {
          "type": "item",
          "weight": 50,
          "name": "minecraft:wool",
          "functions": [
            {
              "function": "set_count",
              "count": 1
            },
            {
              "function": "set_data",
              "data": {
                "min": 0,
                "max": 15
              }
            }
          ]
        },
        {
          "type": "item",
          "weight": 2,
          "name": "minecraft:white_candle",
          "functions": [
            {
              "function": "set_count",
              "count": 1
            }
          ]
        },{
          "type": "item",
          "weight": 2,
          "name": "minecraft:orange_candle",
          "functions": [
            {
              "function": "set_count",
              "count": 1
            }
          ]
        },
        {
          "type": "item",
          "weight": 2,
          "name": "minecraft:magenta_candle",
          "functions": [
            {
              "function": "set_count",
              "count": 1
            }
          ]
        },
        {
          "type": "item",
          "weight": 2,
          "name": "minecraft:light_blue_candle",
          "functions": [
            {
              "function": "set_count",
              "count": 1
            }
          ]
        },
        {
          "type": "item",
          "weight": 2,
          "name": "minecraft:yellow_candle",
          "functions": [
            {
              "function": "set_count",
              "count": 1
            }
          ]
        },
        {
          "type": "item",
          "weight": 2,
          "name": "minecraft:lime_candle",
          "functions": [
            {
              "function": "set_count",
              "count": 1
            }
          ]
        },
        {
          "type": "item",
          "weight": 2,
          "name": "minecraft:pink_candle",
          "functions": [
            {
              "function": "set_count",
              "count": 1
            }
          ]
        },
        {
          "type": "item",
          "weight": 2,
          "name": "minecraft:gray_candle",
          "functions": [
            {
              "function": "set_count",
              "count": 1
            }
          ]
        },
        {
          "type": "item",
          "weight": 2,
          "name": "minecraft:light_gray_candle",
          "functions": [
            {
              "function": "set_count",
              "count": 1
            }
          ]
        },
        {
          "type": "item",
          "weight": 2,
          "name": "minecraft:cyan_candle",
          "functions": [
            {
              "function": "set_count",
              "count": 1
            }
          ]
        },
        {
          "type": "item",
          "weight": 2,
          "name": "minecraft:purple_candle",
          "functions": [
            {
              "function": "set_count",
              "count": 1
            }
          ]
        },
        {
          "type": "item",
          "weight": 2,
          "name": "minecraft:blue_candle",
          "functions": [
            {
              "function": "set_count",
              "count": 1
            }
          ]
        },
        {
          "type": "item",
          "weight": 2,
          "name": "minecraft:brown_candle",
          "functions": [
            {
              "function": "set_count",
              "count": 1
            }
          ]
        },
        {
          "type": "item",
          "weight": 2,
          "name": "minecraft:green_candle",
          "functions": [
            {
              "function": "set_count",
              "count": 1
            }
          ]
        },
        {
          "type": "item",
          "weight": 2,
          "name": "minecraft:red_candle",
          "functions": [
            {
              "function": "set_count",
              "count": 1
            }
          ]
        },
        {
          "type": "item",
          "weight": 2,
          "name": "minecraft:black_candle",
          "functions": [
            {
              "function": "set_count",
              "count": 1
            }
          ]
        }
      ]
    }
  ]
}