{
  "type": "minecraft:chest",
  "pools": [
    {
      "rolls": {
        "min": 1,
        "max": 3,
        "type": "minecraft:uniform"
      },
      "entries": [
        {
          "type": "minecraft:loot_table",
          "weight": 24,
          "name": "minecraft:shared_loot_table2"
        },
        {
          "type": "minecraft:loot_table",
          "weight": 170,
          "quality": -1,
          "name": "minecraft:shared_loot_empty"
        },
        {
          "type": "minecraft:loot_table",
          "weight": 6,
          "quality": 1,
          "name": "minecraft:shared_loot_table"
        }
      ]
    },
    {
      "rolls": {
        "min": 3,
        "max": 10,
        "type": "minecraft:uniform"
      },
      "entries": [
        {
          "type": "item",
          "name": "minecraft:glowstone_dust",
          "weight": 1,
          "functions": [
            {
              "function": "set_nbt",
              "tag": "{kyutrinket:1b,kyuspices:1b,Enchantments:[{id:\"minecraft:projectile_protection\",lvl:1s}],HideFlags:1,display:{Name:\"{\\\"text\\\":\\\"Suspicious Spices\\\"}\",Lore:['[{\"text\":\"Effect 1 - \",\"color\":\"dark_aqua\"},{\"text\":\"Saturation\",\"color\":\"gold\"}]','{\"text\":\"All food items grant a tiny bit of extra saturation/hunger restoration.\",\"color\":\"gold\"}','{\"text\":\"Zombie flesh in particular gains a massive boost,\",\"color\":\"gold\"}','{\"text\":\"and the hunger effect it sometimes gives will be removed.\",\"color\":\"gold\"}','{\"text\":\"\"}','[{\"text\":\"Effect 2 - \",\"color\":\"dark_aqua\"},{\"text\":\"Regeneration\",\"color\":\"light_purple\"}]','{\"text\":\"Golden apples will always heal an additional half a heart,\",\"color\":\"light_purple\"}','{\"text\":\"and golden carrots have a small chance to heal you for half a heart.\",\"color\":\"light_purple\"}']}}"
            }
          ]
        },
        {
          "type": "minecraft:item",
          "weight": 80,
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 1,
                "max": 12,
                "type": "minecraft:uniform"
              }
            }
          ],
          "name": "minecraft:paper"
        },
        {
          "type": "minecraft:item",
          "weight": 70,
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 2,
                "max": 6,
                "type": "minecraft:uniform"
              }
            }
          ],
          "name": "minecraft:potato"
        },
        {
          "type": "minecraft:item",
          "weight": 70,
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 2,
                "max": 6,
                "type": "minecraft:uniform"
              }
            }
          ],
          "name": "minecraft:poisonous_potato"
        },
        {
          "type": "minecraft:item",
          "weight": 70,
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 4,
                "max": 8,
                "type": "minecraft:uniform"
              }
            }
          ],
          "name": "minecraft:carrot"
        },
        {
          "type": "minecraft:item",
          "weight": 70,
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 8,
                "max": 21,
                "type": "minecraft:uniform"
              }
            }
          ],
          "name": "minecraft:wheat"
        },
        {
          "type": "minecraft:item",
          "weight": 100,
          "functions": [
            {
              "function": "minecraft:set_stew_effect",
              "effects": [
                {
                  "type": "minecraft:weakness",
                  "duration": {
                    "min": 6,
                    "max": 8
                  }
                },
                {
                  "type": "minecraft:blindness",
                  "duration": {
                    "min": 5,
                    "max": 7
                  }
                },
                {
                  "type": "minecraft:saturation",
                  "duration": {
                    "min": 7,
                    "max": 10
                  }
                },
                {
                  "type": "minecraft:night_vision",
                  "duration": {
                    "min": 7,
                    "max": 10
                  }
                },
                {
                  "type": "minecraft:jump_boost",
                  "duration": {
                    "min": 7,
                    "max": 10
                  }
                },
                {
                  "type": "minecraft:poison",
                  "duration": {
                    "min": 10,
                    "max": 20
                  }
                }
              ]
            }
          ],
          "name": "minecraft:suspicious_stew"
        },
        {
          "type": "minecraft:item",
          "weight": 60,
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 2,
                "max": 8,
                "type": "minecraft:uniform"
              }
            }
          ],
          "name": "minecraft:coal"
        },
        {
          "type": "minecraft:item",
          "weight": 50,
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 5,
                "max": 24,
                "type": "minecraft:uniform"
              }
            }
          ],
          "name": "minecraft:rotten_flesh"
        },
        {
          "type": "minecraft:item",
          "weight": 20,
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 1,
                "max": 3,
                "type": "minecraft:uniform"
              }
            }
          ],
          "name": "minecraft:pumpkin"
        },
        {
          "type": "minecraft:item",
          "weight": 20,
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 1,
                "max": 3,
                "type": "minecraft:uniform"
              }
            }
          ],
          "name": "minecraft:bamboo"
        },
        {
          "type": "minecraft:item",
          "weight": 30,
          "quality": 20,
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 1,
                "max": 5,
                "type": "minecraft:uniform"
              }
            }
          ],
          "name": "minecraft:gunpowder"
        },
        {
          "type": "minecraft:item",
          "weight": 10,
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 1,
                "max": 2,
                "type": "minecraft:uniform"
              }
            }
          ],
          "name": "minecraft:tnt"
        },
        {
          "type": "minecraft:item",
          "weight": 30,
          "functions": [
            {
              "function": "minecraft:enchant_randomly"
            }
          ],
          "name": "minecraft:leather_helmet"
        },
        {
          "type": "minecraft:item",
          "weight": 30,
          "functions": [
            {
              "function": "minecraft:enchant_randomly"
            }
          ],
          "name": "minecraft:leather_chestplate"
        },
        {
          "type": "minecraft:item",
          "weight": 30,
          "functions": [
            {
              "function": "minecraft:enchant_randomly"
            }
          ],
          "name": "minecraft:leather_leggings"
        },
        {
          "type": "minecraft:item",
          "weight": 30,
          "functions": [
            {
              "function": "minecraft:enchant_randomly"
            }
          ],
          "name": "minecraft:leather_boots"
        }
      ]
    }
  ]
}
