tick
open fun tick(staffStack: ItemStack, world: World, holder: Entity, slot: Int, selected: Boolean)(source)
Called on both the client and the server by Minecraft every tick staffStack is in a player's inventory.
Parameters
staff Stack
The item stack of the staff
world
The world holder is in
holder
The entity holding the staff
slot
The slot staffStack is in
selected
Whether staffStack is in the selected hotbar slot