{
  "type": "minecraft:block",
  "pools": [
    {
      "rolls": 1,
      "entries": [
        {
          "type": "minecraft:item",
          "name": "minecraft:poisonous_potato",
          "functions": [
            {
              "function": "set_components",
              "components": {
                  "custom_data": {
                    "or_is_food": true,
                    "or_food_type": "poisonous_potato",
                    "or_food_category": "vegetable",
                    "or_food_sub_category": "vegetable_from_ground",
                    "or_food_rawness_type": "raw"
                  },
                  "max_stack_size": 1,
                  "max_damage": 10000,
                  "damage": 1,
                  "food": {
                      "nutrition": 2,
                      "saturation": 1.2,
                      "can_always_eat": true
                  },
                  "consumable": {
                      "consume_seconds": 2.5,
                      "on_consume_effects": [
                  {
                    "type": "minecraft:apply_effects",
                    "effects": [
                          {
                            "duration": 100,
                            "id": "minecraft:poison",
                            "show_icon": true
                          }
                        ],
                        "probability": 0.6
                      }
                    ]
                  }
              }
            }
          ]
        }
      ]
    }
  ]
}