Minecraft Data Packs / Other

Durability Multiplier Library (Custom Durability)

  • check_circle Advancements
  • check_circle Functions
  • check_circle Loot Tables
  • 1,866 views, 17 today
  • 185 downloads, 3 today
  • 9
  • 7
Stoupy51 avatar Stoupy51
Level 32 : Artisan Electrician
14

More information on the github link



📖 Durability Multiplier


A Minecraft data pack library for handling custom durability on every damageable item (vanilla, custom, and modded items).
  • This custom durability is done by simulating a kind of unbreaking enchantment on the item.
  • For example, if you have an item with a durability of 100, and you apply a durability multiplier of 2.0, the item will have 50% chance to really lose durability. So you will use this item 2x as if it had 200 durability.
  • This library provide you a totally configurable multiplier for every specific item depending on its id and its nbt tag.
  • This system is compatible with unbreaking and mending enchantments.

        This is an embedded library, so you package it inside your datapack as opposed to having a separate download.
        Requires LanternLoad to operate.



        Differences between this library and most other Custom Durability Libraries

        - You can directly repair items in an anvil.
        - You don't have to add special nbt to your items.
        - You can use this library with any item that can lose durability, including items from mods.
        - We do not use a custom lore for the item to show the custom durability.
        - If you item lose multiple durability at once, the value it divided by the multiplier.
        CompatibilityMinecraft 1.18
        toMinecraft 1.19
        Tags

        1 Update Logs

        Durability Multiplier [v1.0.1] : by Stoupy51 06/27/2022 9:31:14 amJun 27th

        ➤ Small fixes
        ➤ Internal optimisations

        Create an account or sign in to comment.

        Planet Minecraft

        Website

        © 2010 - 2022
        www.planetminecraft.com

        Welcome