{
  "pools": [
    {
      "rolls": 3,
      "entries": [
        {
          "type": "minecraft:item",
          "name": "minecraft:book",
          "functions": [
            {
              "function": "minecraft:enchant_randomly",
              "enchantments": [
                "minecraft:swift_sneak"
              ]
            }
          ],
          "conditions": [
            {
              "condition": "minecraft:random_chance",
              "chance": 0.25
            }
          ]
        },
        {
          "type": "minecraft:item",
          "weight": 1,
          "name": "minecraft:echo_shard",
          "functions": [
            {
              "function": "minecraft:set_name",
              "entity": "this",
              "name": {
                "text": "Darkness Cleanse",
                "color": "aqua",
                "italic": false
              }
            },
            {
              "function": "minecraft:set_lore",
              "entity": "this",
              "lore": [
                {
                  "text": "Clears the user of Darkness, ",
                  "color": "gray",
                  "italic": false
                },
                {
                  "text": "consumes the item on use. ",
                  "color": "gray",
                  "italic": false
                }
              ]
            },
            {
              "function": "minecraft:set_nbt",
              "tag": "{ic:darkness_cleanse,Enchantments:[{}]}"
            }
          ]
        },
        {
          "type": "minecraft:item",
          "weight": 1,
          "name": "minecraft:stone_hoe",
          "functions": [
            {
              "function": "minecraft:set_enchantments",
              "enchantments": {
                "minecraft:efficiency": {
                  "min": 1,
                  "max": 4
                },
                "minecraft:unbreaking": {
                  "min": 1,
                  "max": 3
                }
              }
            }
          ]
        },
        {
          "type": "minecraft:item",
          "weight": 3,
          "name": "minecraft:dried_kelp",
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 2,
                "max": 5
              }
            }
          ]
        }
      ]
    }
  ]
}
