public interface ImmutableDurabilityData extends ImmutableDataManipulator<ImmutableDurabilityData,DurabilityData>
ImmutableDataManipulatorhandling the "durability" of an
ItemStackthat will "break" after a certain amount of "uses".
Usually, items with durability will break and disappear when their
durability reaches the maximum. Examples of this include pickaxes,
axes, swords, and shovels. It is recommended to retrieve the maximum
durability limit from the
|Modifier and Type||Method and Description|
asMutable, copy, with, with
ImmutableBoundedValuefor the "durability" remaining. The durability is a number signifying how many "uses' remain on the item. When the durability reaches 0, usually, the item breaks.