-
Bug
-
Resolution: Unresolved
-
None
-
1.20.4, 24w12a, 1.20.5 Pre-Release 2
-
None
-
Community Consensus
-
(Unassigned)
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
- Spawn a pig and saddle it
- Mount the pig
/effect give @e[type=pig,limit=1,sort=nearest,distance=..2] minecraft:slowness infinite 6 true
/effect give @e[type=pig,limit=1,sort=nearest,distance=..3] minecraft:resistance infinite 4 true
- Hold a carrot on a stick in your offhand.
- Toss harming potions towards the pig.
- /damage @e[type=minecraft:pig,limit=1,sort=nearest] 1 minecraft:player_attack by @s
- Download the provided datapack.
- 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.
- relates to
-
MC-270573 Mounted entities are immune to wind charge damage
- Resolved