Ridden steerable entity visually teleports back to old position after dismounting
The bug
Ridden steerable entities (such as horses or pigs) teleport visually back to their old position when you dismount them.
Code analysis
Based on 1.11.2 decompiled using MCP 9.35 rc1
The method net.minecraft.entity.EntityLivingBase.onLivingUpdate() ignores all position and movement changes (net.minecraft.entity.EntityLivingBase.setPositionAndRotationDirect(double, double, double, float, float, int, boolean)), which then once the entity is dismounted take effect.
2017-03-13, 05:57 PM
2017-03-13, 08:12 PM
2017-03-13, 06:30 PM
0
0
entity, ridden, steering, teleport, visual
Minecraft 1.11.2, Minecraft 17w06a
-