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.
- duplicates
-
MC-103672 Steerable ridden entities (boats / pigs / horses) teleport back to their previous position for a short moment on dismount
- Resolved