public interface DurabilityData extends DataManipulator<DurabilityData,ImmutableDurabilityData>
DataManipulatorhandling 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|
asImmutable, copy, fill, fill, from, set, set, set, set, transform
MutableBoundedValuefor 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.