mojira.dev
MC-269735

Entities controlled by players do not consistently experience knockback or being pulled by frogs

When players ride a horse, donkey, mule, skeleton horse, zombie horse, or camel with a saddle, they assume control. Similarly, holding a carrot on a stick while riding a pig, or a warped fungus on a stick while riding a strider, grants control. However, in these instances, knockback inflicted by attacks doesn't consistently function for the controlled mob. Additionally, frogs do not consistently pull them when eating them.

Steps to test the bug

  1. Spawn a pig and saddle it

  2. Mount the pig

  3. /effect give @e[type=pig,limit=1,sort=nearest,distance=..2] minecraft:slowness infinite 6 true
  4. /effect give @e[type=pig,limit=1,sort=nearest,distance=..3] minecraft:resistance infinite 4 true
  5. Hold a carrot on a stick in your offhand.

  6. Toss harming potions towards the pig.

  7. /damage @e[type=minecraft:pig,limit=1,sort=nearest] 1 minecraft:player_attack by @s

  8. Download the provided datapack.

  9. Spawn a frog

Similar actions can be performed on any other entity from the listed ones that players can control. Although the methods may vary slightly, you should be able to figure out how to do it yourself.

Observation: The pig inconsistently experiences being pulled by the frog or taking knockback from harming potions or the /damage command.
Expectation: The knockback should be accurately conveyed to the client, ensuring that mobs take knockback as anticipated when controlled by a player.

Attachments

Comments 2

Can confirm. Affects 1.20.5 pre-release 2.

[Mojang] Triage Team

Thank you for your report!
After consideration, the issue is being closed as Won't Fix.

Please note that this is not the same as Working as Intended, as this bug report correctly describes behavior in the game that might not be the intended or desirable behavior, but it will not be fixed right now. Sometimes, this is because the issue reported is minor and/or impossible to change without large architectural changes to the code base.

Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support (Technical Issues) – 📧 Microsoft Support (Account Issues)
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki

Green Ghast

No User

(Unassigned)

Community Consensus

(Unassigned)

1.20.4, 24w12a, 1.20.5 Pre-Release 2

Retrieved