Custom Damage Handler
public interface CustomDamageHandler
Content copied to clipboard
Allows an item to run custom logic when damage is called. This is useful for items that, for example, may drain durability from some other source before damaging the stack itself.
Custom damage handlers can be set with customDamage.