- check_circle Advancements
- check_circle Functions
- check_circle Predicates
- 3,707 views, 7 today
- 359 downloads, 0 today
10
Custom Durability is a lightweight, easy to use data-pack that changes the maximum durability an item has (Not really though. It simulates a different durability). One thing that almost every map or data-pack introduces in custom items. With this tool. it's possible to make these items with completely unique durability, further immersing the player (Not to mention it looks hard. But it isn't as difficult as it looks).
The steps to make a custom item is simple
An optional command to run before the function is scoreboard players set @s Custom_Damage.new_durability <Current Durability>. This will set the items current durability to that value
To damage an item simply hold it in your hand and run function custom_dmg:deal_dmg/mainhand.
Fully compatible with the Mending and Unbreaking enchantments.
Note that with Advanced Tooltips on. the items actual durability is still shown.
The steps to make a custom item is simple
- Hold out a item that already has Durability (Like a Fishing Rod, Flint and Steel, or a Leather Helmet)
- Run the command scoreboard players set @s Custom_Damage.item.full_durability <Maximum Durability>.
- Then run the command function custom_dmg:new_item.
An optional command to run before the function is scoreboard players set @s Custom_Damage.new_durability <Current Durability>. This will set the items current durability to that value
To damage an item simply hold it in your hand and run function custom_dmg:deal_dmg/mainhand.
Fully compatible with the Mending and Unbreaking enchantments.
Note that with Advanced Tooltips on. the items actual durability is still shown.
Compatibility | Minecraft 1.20 |
Tags |
2 Update Logs
Durability Restriction Update : by The_Sky_Rider 09/15/2023 6:22:14 pmSep 15th, 2023
Items can no longer go below 10 durability (A fellow datapacker called BPR suggested this). This prevents items with ridiculously high Durability from breaking before it hits 0 Durability. (Such as COTS. which has 25 durability max. If you chose to give it 1000 Durability, it won't break prematurely. Note that this can cause the item to visually look like it has more Durability, and as such is not a great idea to do this with an item which has low durability)
LOAD MORE LOGS
6068144
119
Create an account or sign in to comment.