Package-level declarations

Functions

Link copied to clipboard
fun ItemStack.damage(amount: Int, world: World): ItemStack?

Damages the this by amount and returns the resulting ItemStack, which may be null if the item broke.