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

    • Bug
    • Status: Resolved
    • Resolution: Duplicate
    • Minecraft 1.11.2, Minecraft 17w06a
    • None
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: