mojira.dev
MC-164558

Mobs ridden by players very rarely receive vertical knockback when attacked

The Bug:

When a mob is ridden by a player and is attacked, it very rarely receives vertical knockback. This is not the case when non-player entities ride mobs. Below, I've attached some comparison videos of how vertical knockback is received to horses ridden by players, and to horses ridden by non-player entities.

[media][media]

Steps to Reproduce:

  1. Summon a horse with a saddle equipped on it by using the command provided below.

    /summon minecraft:horse ~ ~ ~ {Tame:1b,SaddleItem:{id:"minecraft:saddle",Count:1b}}
  2. Get two players and label them "Player A" and "Player B".

  3. Get "Player A" to mount the horse and have "Player B" attack the horse multiple times.

  4. Have both players observe the knockback dealt to the horse.

  5. Take note as to whether or not mobs ridden by players very rarely receive vertical knockback when attacked.

Observed Behavior:

Vertical knockback is very rarely received.

Expected Behavior:

Vertical knockback would be received consistently.

Linked issues

Attachments

Comments 11

marcono1234

Related to MC-100042, but not a duplicate. MC-100042 is about the rider not being knocked back.

marcono1234

I just noticed that your game is modded (Optifine). Only reports for the vanilla unmodded version are considered valid here.
Can you also reproduce this without any mods?

Tymek Ł.

I can still reproduce it without Optifine, (Vanilla Minecraft).

The same reproduce method.

 

Full respect,

Far

 

/:/ Edit: New images added, without Optifine.

Tymek Ł.

Also occurs on: 19w44a, 19w42a, 19w41a, 19w40a, 19w39a, 19w38b, 19w38a, 19w37a, 19w36a, 19w35a, 19w34a.

Couldn't add to versions that it occurs on top of the page, sorry.

 

Respect for staff,

Far

 

tryashtar

I can't reproduce in 19w44a

1 more comments
tkasriel

I can reproduce in 1.16.3: It only occurs when the player (as explained by @unknown) shoots the horse themself, and then mounts.
However, this wouldn't be the same bug report as MC-96409 as while the horse doesn't take knockback from the arrow, it does take damage.

marcono1234

I have reworded the report to hopefully make it more clear what the bug is and to distinguish it from MC-96409.
I hope this is alright for you and still describes the issue well enough.

Avoma

I can confirm this behavior in 1.18.1. Here are some additional details.

The Bug:

When an entity is ridden by a player and is attacked, it very rarely receives vertical knockback. This is not the case when non-player entities ride other entities. Below, I've attached some comparison videos of how vertical knockback is received to horses ridden by players, and to horses ridden by non-player entities.

[media][media]

Steps to Reproduce:

  • Summon a horse with a saddle equipped on it.

/summon minecraft:horse ~ ~ ~ {Tame:1b,SaddleItem:{id:"minecraft:saddle",Count:1b}}
  • Get two players and label them "Player A" and "Player B".

  • Get "Player A" to mount the horse and have "Player B" attack the horse multiple times.

  • Have both players observe the knockback dealt to the horse.

  • Take note as to whether or not entities ridden by players very rarely receive vertical knockback when attacked.

Observed Behavior:

Vertical knockback is very rarely received.

Expected Behavior:

Vertical knockback would be received consistently.

Avoma

Can confirm in 1.18.2 and 22w19a. If it's okay and not too much to ask, would it be alright if I can take ownership of this report since the current reporter has been inactive since October of 2019?

Tymek Ł.

I can see this has been taken over by Avoma, which is probably a good thing.

Tymek Ł.

Avoma

(Unassigned)

Community Consensus

Combat, Entities

knockback

1.14.4, 19w44a, 1.16.3, 20w49a, 1.18.1, ..., 1.19.4, 1.20.1, 24w20a, 1.21, 1.21.4

Retrieved