Table of Contents

minecraft:life_saving

The minecraft:life_saving item component applies effects to an entity holding this item once the entity is dying.

Fields

Name Description Type Default Value
effects The effects to apply when dying. A list of effect instances

Example

{
  "effects": [
    {
      "id": "minecraft:regeneration",
      "amplifier": 1,
      "duration": 900,
      "show_icon": true
    },
    {
      "id": "minecraft:absorption",
      "amplifier": 1,
      "duration": 100,
      "show_icon": true
    },
    {
      "id": "minecraft:fire_resistance",
      "duration": 800,
      "show_icon": true
    }
  ]
}