allow Reequip Animation
public Boolean allowReequipAnimation(ItemStack oldStaffStack, ItemStack newStaffStack, Boolean selectedSlotChanged)(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