finish Using
open override fun finishUsing(staffStack: ItemStack, world: World, user: LivingEntity): ItemStack(source)
Called on both the client and the server by Minecraft, when an entity finishes using the staff (usage ticks reach getMaxUseTime).
Return
The item stack after using the staff
Parameters
staff Stack
The item stack used to perform the action
world
The world the user is in
user
The entity, which used the staff