Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-114531

Ridden steerable entity visually teleports back to old position after dismounting

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Resolution: Duplicate
    • Affects Version/s: Minecraft 1.11.2, Minecraft 17w06a
    • Fix Version/s: None
    • Confirmation Status:
      Unconfirmed

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              marcono1234 [Mod] Marcono1234
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: