{
    "function": "set_components",
    "components": {
        "custom_data": {
          "or_is_food": true,
          "or_food_type": "pufferfish"
        },
        "max_stack_size": 1,
        "max_damage": 10000,
        "damage": 1,
        "food": {
            "nutrition": 1,
            "saturation": 0.2,
            "can_always_eat": true
        },
        "consumable": {
            "consume_seconds": 3.0,
            "on_consume_effects": [
            {
              "type": "minecraft:apply_effects",
              "effects": [
                {
                  "amplifier": 1,
                  "duration": 1200,
                  "id": "minecraft:poison",
                  "show_icon": true
                },
                {
                  "amplifier": 2,
                  "duration": 300,
                  "id": "minecraft:hunger",
                  "show_icon": true
                },
                {
                  "duration": 300,
                  "id": "minecraft:nausea",
                  "show_icon": true
                }
              ]
            }
          ]
        }
    }
}