Effective Durability
interface EffectiveDurability
Behaviour that turns an EffectiveItem's durability bar into a limited-use counter.
A registered item is forced to maxStackSize = 1 and gets maxDamage = maxUses; every use is charged with consumeUse, and getUsesLeft reports the remaining charges. The bar is applied automatically whenever the item is created.
Trade-off vs. a PDC counter: durability is free to render but can be reset by an anvil/grindstone and prevents stacking. Prefer this only when repair stations are unavailable. Register via EffectiveItem.makeDurable.