Durability - RedWirePlatinumTwo/RedWiresMinecraftMod GitHub Wiki
Required Parameters
[entity]
- the specified entities to be effected by this command.
Parameters
- reset - Resets the damage points on the item.
- set
[amount]
- Sets an items durability to [amount]
(subtracted from the items max durability amount).
- damage
[amount]
- Damages an item by [amount]
, will deal less damage if the item has Unbreaking + the enchantment levels.
Description
- Effects the item that the given entities are holding in their main hand.
- Requires cheats: yes
Change History
- 3.3.0: (Re)introduced command.
- 3.13.0: The command now requires you specify what
entity
to affect.
- 8.4.3: Uhhh yeah idk
- 9.0.2: /durability set now changes the durability amount for the main-hand item starting from the max damage of the item instead of from 0.