[
  {
    "function": "minecraft:set_item",
    "item": "minecraft:poisonous_potato"
  },
  {
    "function": "set_components",
    "components": {
      "item_name": {
        "translate": "item.overlyrealistic.cod_bucket",
        "color": "white"
      },
      "max_stack_size": 1,
      "custom_data": {
        "IsEntityBucket": true,
        "bucket_entity_type": "cod",
        "or_edited_item": true,
        "or_no_edit": true,
        "or_is_bucket": true,
        "or_bucket_is_filled": true,
        "or_bucket_type": "iron",
        "or_bucket_specific": "iron_bucket",
        "or_bucket_contents": "cod_bucket"
      },
      "consumable": {
        "animation": "block",
        "consume_seconds": 99999,
        "has_consume_particles": false,
        "sound": "intentionally_empty"
      },
      "food": {
        "nutrition": 0,
        "saturation": 0,
        "can_always_eat": true
      },
      "item_model": "cod_bucket"
    }
  }
]