I believe this bug is part of a bigger issue where using offhand items while holding a weapon and then trying to do a critical attack would instead do a weak attack, because of how the weapon cooldown is handled, where it thinks it used the weapon when it was actually an offhand item, like a dye on a sheep.
Steps to Reproduce Bug:
Get a stone axe.
Get a dye.
Get a sheep spawn egg (doesn’t matter how it’s spawned)
Place the dye in the offhand.
Use the dye while holding the axe in your main hand.
Hit the sheep by doing a critical attack (Jump + Hit).
Expected result:
The hit is registered as a Critical attack.
Observed result:
The hit is registered as a Weak attack.
Thank you for helping us improve Minecraft! We saved your files: