Data component format/max damage
Minecraft Wiki article. Categories: Top-level_data_pages
📌 Mirrored from Minecraft Wiki
This article is reproduced from Data component format/max damage on the Minecraft Wiki. Mirrored from revision 3389861. 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.
- [Int] minecraft:max_damage: The maximum amount of damage that this item can take. If not set, this item cannot take damage. Must be a non-zero positive integer. Cannot be combined with
minecraft:max_stack_sizeif it has a value greater than 1 (if the item can be stacked). For the durability bar to appear, the damage component must have a value. Exampledamage=0.
- [Int] minecraft:max_damage: The maximum amount of damage that this item can take. If not set, this item cannot take damage. Must be a non-zero positive integer. Cannot be combined with
Sources
- Data component format/max damage — Minecraft Wiki, CC BY-NC-SA 3.0, revision 3389861.