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
Created Issue:
Attacking mobs with Riptide sometimes does reverse knockback
The bug
When you attack a mob by throwing a Riptide-enchanted trident, the mob sometimes gets knocked towards you instead of away from you.
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
The bug
When you attack a mob by throwing a Riptide-enchanted trident, the mob sometimes gets knocked towards you instead of away from you.
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
The bug
When you attack a mob by throwing a Riptide-enchanted trident, the mob
sometimes gets knockedtowards you instead of away from you.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
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
Attacking mobs with Riptide tridentsometimes does reverse knockbackAttacking mobs with Riptide trident does knockback in arbitrary directions
Can confirm in 1.18.2. This ticket may relate to MC-128624.

I would add that on 18w50a throwing a riptide trident at a mob (any level works) will 1 hit kill the mob.
I tried with pillagers and drowned (under water) they all die when you collide with them.
Confirmed for 19w13b
Can confirm in 20w51a.
Can confirm in 21w03a.
Can confirm in 21w05a.
Can confirm in 21w05b.
Can confirm in 21w06a.
Can confirm in 1.18.1 and 22w03a. This can also be seen with players and isn't just exclusive to mobs. MC-128624.mp4
Can confirm in 1.18.2. This ticket may relate to
MC-232770.Can confirm in 1.19.
Can confirm in 1.19.2.
Can confirm in 1.19.3.