items:item_components:life_saving
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 } ] }
items/item_components/life_saving.txt · Last modified: 2024/04/25 22:19 by errorcraft