allow Reequip Animation
open override fun allowReequipAnimation(oldStaffStack: ItemStack, newStaffStack: ItemStack, selectedSlotChanged: Boolean): Boolean(source)
Called on the client side by Neo/Forge, when the NBT of the held item gets updated.
Return
true
to play the update/equip animation, false
to skip it
Parameters
old Staff Stack
The previous item stack
new Staff Stack
The updated item stack
selected Slot Changed
If the selected hotbar slot was changed