Attacking mobs with Riptide trident does knockback in arbitrary directions
The bug
When you attack a mob by throwing a Riptide-enchanted trident, the mob often takes knockback in a random direction (sometimes directly towards you) instead of away from you, which would be the expected behavior similar to normal melee and projectile attacks.
How to reproduce
- Set weather to rain with /weather rain
- Give yourself a trident and enchant it with Riptide (/enchant @s riptide, any level works)
- Switch to 3rd person mode (using F5) and throw the trident at a mob
2018-04-17, 08:08 PM
2024-12-17, 12:13 PM
11
9
Minecraft 18w15a - 1.21.4
Minecraft 18w15a, Minecraft 18w16a, Minecraft 1.13, Minecraft 1.13.1-pre1, Minecraft 1.13.1-pre2, Minecraft 1.13.1, Minecraft 1.13.2, Minecraft 18w50a, Minecraft 19w12b, Minecraft 19w13b, Minecraft 19w14a, Minecraft 1.14 Pre-Release 5, 20w51a, 21w03a, 21w05a, 21w05b, 21w06a, 1.18 Pre-release 5, 1.18.1, 22w03a, 1.18.2, 1.19, 1.19.2, 1.19.3, 1.20.6, 24w19b, 1.21.4
-