mojira.dev
MC-114531

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.

Related issues

Comments

No comments.

marcono1234

(Unassigned)

Unconfirmed

entity, ridden, steering, teleport, visual

Minecraft 1.11.2, Minecraft 17w06a

Retrieved