usage Tick
open fun usageTick(staffStack: ItemStack, world: World, user: LivingEntity, remainingUseTicks: Int)(source)
Called on both the client and the server by Minecraft every tick an entity uses the staff.
Parameters
staff Stack
The item stack used to perform the action
world
The world user is in
user
The entity, which uses the staff
remaining Use Ticks
The number of ticks remaining before an entity finishes using the staff counting down from maxUseTime to 0