StaticconsumeThe player whose item durability will be consumed.
Optionaloptions: ConsumeDurabilityOptionsTrue if the durability was consumed, false otherwise.
StaticgetReturns the chance to consume durability from item based on the unbreaking level.
The unbreaking level of the item.
The chance to consume durability from item based on the unbreaking level.
Consumes durability from the player's selected item.