{
    "pools": [
      {
        "rolls": 5,
        "entries": [
          {
            "type": "minecraft:item",
            "weight": 1,
            "name": "minecraft:enchanted_golden_apple"
          },
          {
            "type": "minecraft:item",
            "name": "minecraft:totem_of_undying"
          },
          {
            "type": "minecraft:item",
            "weight": 1,
            "name": "minecraft:diamond",
            "functions": [
              {
                "function": "minecraft:set_nbt",
                "tag": "{ic:enchanted_chorus_fruit,Enchantments:[{}]}"
              },
              {
                "function": "minecraft:set_name",
                "entity": "this",
                "name": [
                  {
                    "text": "Enchanted",
                    "color": "light_purple",
                    "italic": false
                  }
                ]
              }
            ],
            "conditions": [
              {
                "condition": "minecraft:random_chance",
                "chance": 0.5
              }
            ]
          },
          {
            "type": "minecraft:item",
            "weight": 3,
            "name": "minecraft:book",
            "functions": [
              {
                "function": "minecraft:enchant_with_levels",
                "levels": 50,
                "treasure": true
              }
            ]
          },
          {
            "type": "minecraft:item",
            "weight": 2,
            "name": "minecraft:golden_apple",
            "functions": [
              {
                "function": "minecraft:set_count",
                "count": {
                  "min": 4,
                  "max": 8
                }
              }
            ]
          }
        ]
      }
    ]
  }
  