damage

fun ItemStack.damage(damage: Int): ItemStack

Sets the damage to this ItemStack

Return

this ItemStack

Parameters

damage

the damage to the item