mojira.dev
MC-128624

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

  1. Set weather to rain with /weather rain

  2. Give yourself a trident and enchant it with Riptide (/enchant @s riptide, any level works)

  3. Switch to 3rd person mode (using F5) and throw the trident at a mob

Attachments

Comments 12

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.

Can confirm in 20w51a.

Can confirm in 21w03a.

Can confirm in 21w05a.

2 more comments

Can confirm in 1.18.1 and 22w03a. This can also be seen with players and isn't just exclusive to mobs.

[media]

Can confirm in 1.18.2. This ticket may relate to MC-232770.

Can confirm in 1.19.

Can confirm in 1.19.2.

Sonicwave

(Unassigned)

Confirmed

Collision

knockback, riptide, trident

Minecraft 18w15a, Minecraft 18w16a, Minecraft 1.13, Minecraft 1.13.1-pre1, Minecraft 1.13.1-pre2, ..., 1.19.2, 1.19.3, 1.20.6, 24w19b, 1.21.4

Retrieved