on Removed From Inventory
Remove the effect from the player. Best-effort removal therefore is no guarantee that the player is still connected or that the RebarItem.stack is up to date with the actual ItemStack when it runs.