Item Damage Lib│物品損傷庫

Item Damage Lib│物品損傷庫

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

by
83 Downloads
datapackfabricforgeneoforgequiltequipmentlibrary
Rent Server with this Mod

About this Mod

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.│如果直接修改物品組件,那麼耐久附魔無法正常生效。若使用該資料包,減少耐久度的行為會與原版行為一致。

Available Versions

item_damage_lib_1.0.0+1.21.9release
MC 1.21.9, 1.21.10, 1.21.11fabric, forge, neoforge, quilt
April 28, 2026
item_damage_lib_1.0.0+1.21.9release
MC 1.21.9, 1.21.10, 1.21.11datapack
April 28, 2026
item_damage_lib_1.0.0+1.21release
MC 1.21, 1.21.1, 1.21.2, 1.21.3, 1.21.4, 1.21.5, 1.21.6, 1.21.7, 1.21.8, 1.21.9, 1.21.10, 1.21.11fabric, forge, neoforge, quilt
April 4, 2026
item_damage_lib_1.0.0+1.21release
MC 1.21, 1.21.1, 1.21.2, 1.21.3, 1.21.4, 1.21.5, 1.21.6, 1.21.7, 1.21.8, 1.21.9, 1.21.10, 1.21.11datapack
April 4, 2026

How to Install Item Damage Lib│物品損傷庫 on Your Server

1

Order Server

Order a Minecraft Java server with at least 3 GB RAM (4 GB recommended).

2

Set datapack Loader

In the panel under "Egg", select the datapack loader and matching Minecraft version (1.21.11).

3

Install Mod

Open the mod browser in the dashboard and search for "Item Damage Lib│物品損傷庫". Click "Install" – done! Alternatively, upload the .jar via SFTP to the /mods folder.

Compatibility

Mod Loaders

datapackfabricforgeneoforgequilt

Minecraft Versions

1.21.11, 1.21.10, 1.21.9 (+9 more)

Server-side

Required

Recommended RAM

4 GB(min. 3 GB)

Frequently Asked Questions

Item Damage Lib│物品損傷庫 server crashes on startup – what to do?

Most common cause: wrong datapack version or insufficient RAM. Check the server log (latest.log) for "OutOfMemoryError" or "Mixin" errors. With Mado Hosting: ensure at least 3 GB RAM is allocated and the loader matches the mod version (1.21.11). You can switch loaders with one click in the panel.

Is Item Damage Lib│物品損傷庫 compatible with datapack and fabric and forge and neoforge and quilt?

Item Damage Lib│物品損傷庫 officially supports datapack, fabric, forge, neoforge, quilt for Minecraft 1.21.11, 1.21.10, 1.21.9. Note: Forge and Fabric mods are NOT cross-compatible – pick one loader and stick with it. The Mado dashboard automatically detects incompatible loader combinations.

Server lagging with Item Damage Lib│物品損傷庫 – how to optimize performance?

Recommended RAM: 4 GB (per 8 players). Use /spark profiler to check if Item Damage Lib│物品損傷庫 consumes the most tick time. Common fixes: reduce server view-distance to 8-10, install "performant" or "starlight" as supplementary mods on Forge. With Mado Hosting, your server runs on NVMe SSDs with dedicated CPU cores for minimal latency.

Rent Modded Server

Install Item Damage Lib│物品損傷庫 with just one click on your server.

Recommended RAM
4 GBab €8/mo
Min. 3 GB | +1 GB pro 8 Spieler
Create Server Now
1-Click Mod Install
NVMe SSD Storage
DDoS Protection included

Details

License
MIT License
Server-side
Required

Supported Versions

1.21.111.21.101.21.91.21.81.21.71.21.61.21.51.21.41.21.31.21.2+2 more