Minecraft Data Packs / Other

Durability Multiplier Library (Custom Durability)

  • check_circle Advancements
  • check_circle Functions
  • check_circle Loot Tables
  • 5,778 views, 8 today
  • 577 downloads, 1 today
  • 13
  • 10
Stoupy51's Avatar Stoupy51
Level 45 : Master Electrician
32

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 is divided by the multiplier.
        CompatibilityMinecraft 1.18
        toMinecraft 1.19
        Tags

        2 Update Logs

        Durability Multiplier [v1.1.0] : by Stoupy51 07/16/2022 8:49:32 amJul 16th, 2022

        ➤ Better accuracy with multiple damage at once
        ➤ Better versionning
        LOAD MORE LOGS

        Create an account or sign in to comment.

        Planet Minecraft

        Website

        © 2010 - 2024
        www.planetminecraft.com

        Welcome