RebarItemDamageable

Functions

Link copied to clipboard
open fun onItemBreaks(event: PlayerItemBreakEvent, priority: EventPriority)

Called when the item is broken.

Link copied to clipboard

Called when the item is damaged (loses durability).

Link copied to clipboard
open fun onItemMended(event: PlayerItemMendEvent, priority: EventPriority)

Called when the item is mended (gains durability).