Data component format/death protection
Minecraft Wiki article. Categories: Data_component_format_subpages
📌 Mirrored from Minecraft Wiki
This article is reproduced from Data component format/death protection on the Minecraft Wiki. Mirrored from revision 3556460. It is licensed CC BY-NC-SA 3.0 by the Minecraft Wiki contributors — not under the Codex’s CC BY-SA 4.0, and it may not be used commercially. Edits belong upstream, not here.
- [NBT Compound / JSON Object] minecraft:death_protection: If present, this item protects the holder from dying by restoring a single health point.
- [NBT List / JSON Array] death_effects: A list of consume effects that are applied when the item protects the holder. Optional.
- [NBT Compound / JSON Object]: A single consume effect.
- Consume effect see Template:Nbt inherit/consume effect/template
- [NBT Compound / JSON Object]: A single consume effect.
- [NBT List / JSON Array] death_effects: A list of consume effects that are applied when the item protects the holder. Optional.
- [NBT Compound / JSON Object] minecraft:death_protection: If present, this item protects the holder from dying by restoring a single health point.
Sources
- Data component format/death protection — Minecraft Wiki, CC BY-NC-SA 3.0, revision 3556460.