Back to mods
Item Damage Lib│物品損傷庫 project artwork

Modrinth · Minecraft mod

Item Damage Lib│物品損傷庫

A new function has been added that can consume the durability of items.│新增了一個函數,用於消耗物品耐久度。

Choose a version Pick your version below, then grab the matching file.

Quick answer

Which Item Damage Lib│物品損傷庫 release matches 1.21.2?

Updated 7 months ago
Best match for your filters 1.0.0+1.21+mod
Game version 1.21, 1.21.1, 1.21.10
Loader Fabric, Forge, NeoForge

Item Damage Lib│物品損傷庫 1.0.0+1.21+mod targets 1.21, 1.21.1, 1.21.10 with Fabric, Forge, NeoForge. Installation on the client is optional. Installation on the dedicated server is optional. No extra mods listed for this file.

Where it goes

Is Item Damage Lib│物品損傷庫 required on the client, server, or both?

Installation on the client is optional. Installation on the dedicated server is optional.

Client Optional
Dedicated server Optional
Loader for this release Fabric, Forge, NeoForge
Required install it here Optional supported, not mandatory Not supported do not install here Source doesn’t say do not assume

The source marks this as usable on both the client and server.

What else does Item Damage Lib│物品損傷庫 1.0.0+1.21+mod need?

1.0.0+1.21+mod on 1.21.2. Every mod below is checked against that same setup.

No extra mods listed for this file

This file does not list any required mods. Do not add a library just because a different file uses it.

This file does not list any required or optional mods.

Before you install it

Add Item Damage Lib│物品損傷庫 without breaking your instance.

Built for Item Damage Lib│物品損傷庫 1.0.0+1.21+mod on 1.21.2. Pick another file and the loader, install side or required mods may change.

  1. 01

    Stick to this file

    Use 1.0.0+1.21+mod. It targets 1.21, 1.21.1, 1.21.10 with Fabric, Forge, NeoForge; another release may have different loader, side or dependency requirements.

  2. 02

    Bring the mods it needs

    This file does not list any required mods. Do not add a library just because a different file uses it.

  3. 03

    Put it on the correct side

    Installation on the client is optional. Installation on the dedicated server is optional.

  4. 04

    Pick the file you checked

    Use the “Get this file” button beside 1.0.0+1.21+mod. It opens that exact file at the source.

About this project

What does Item Damage Lib│物品損傷庫 add?

Function│功能

  • Executing the function /function damage_lib:damage_item {slot:"<slot>",value:<value>} reduces the durability of the item in the specified slot.│執行該函數:/function damage_lib:damage_item {slot:"<slot>",value:<value>}可以減少指定欄位的物品的耐久度。
    • <slot>: Equipment slot. This operation can also be performed on non-equipment slots, but will result in errors. Execution will reduce the durability of items in that slot.│<slot>:裝備欄位,非裝備欄位亦可執行,但是會有錯誤行為。執行後會減少該欄位的物品的耐久度。
    • <value>: Integer only. The amount of durability reduced.│<value>:僅限整數。減少的耐久度。

Why is this data pack needed?│為何需要該資料包?

If you directly modify item components, the Unbreaking enchantment will not function correctly. Using this Data Pack will ensure that the durability reduction behavior is consistent with the vanilla version.│如果直接修改物品組件,那麼耐久附魔無法正常生效。若使用該資料包,減少耐久度的行為會與原版行為一致。

Project description from Modrinth.

Pick your setup

Item Damage Lib│物品損傷庫 by Minecraft version and loader

Choose the version and loader you play, then open the matching release.

60 available setups

Check the dependencies, then try the file in a copied instance before changing a world you care about.

Recent files

Item Damage Lib│物品損傷庫 versions and loaders

2 of 4 releases match
Clear filters

Looking for an older file? The official Modrinth project page is in Resources.