{
  "type": "minecraft:entity",
  "pools": [
    {
      "rolls": 1,
      "entries": [
        {
          "type": "minecraft:item",
          "name": "minecraft:rotten_flesh",
          "functions": [
            {
              "function": "minecraft:set_components",
              "components": {
                "minecraft:enchantment_glint_override": true,
                "minecraft:item_name": "Gluttony Charm",
                "minecraft:lore": [
                  {
                    "text": "Saturating!",
                    "color": "gray"
                  }
                ],
                "minecraft:rarity": "uncommon",
                "minecraft:custom_data": "{glutton:tag}",
                "minecraft:consumable": {
                  "on_consume_effects": [
                    {
                      "type": "minecraft:apply_effects",
                      "effects": [
                        {
                          "id": "minecraft:saturation",
                          "duration": 100,
                          "hidden_effect": {
                            "id": "minecraft:nausea",
                            "duration": 30
                          }
                        }
                      ]
                    }
                  ]
                }
              }
            }
          ]
        }
      ]
    }
  ]
}