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

Other new joined players on server will always look south until they move their head

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Resolution: Unresolved
    • Affects Version/s: Minecraft 1.10.2, Minecraft 16w42a, Minecraft 1.12.1, Minecraft 1.13.1, Minecraft 1.13.2, Minecraft 18w45a, Minecraft 18w46a, Minecraft 1.14.2
    • Fix Version/s: None
    • Confirmation Status:
      Confirmed
    • Category:
      (Unassigned)

      Description

      The bug

      When another players joins a server, he will look south until he moves his head. This can look pretty strange if the body of the player is facing for example north.

      Code analysis

      The following is based on a decompiled version of Minecraft 1.10 using MCP 9.30.

      It looks like the method net.minecraft.entity.Entity.setPositionAndRotation(double, double, double, float, float) which is called when a player is spawned client-side only sets the body rotation. This could be fixed as well by sending a net.minecraft.network.play.server.SPacketEntityHeadLook.SPacketEntityHeadLook(Entity, byte) packet after the spawn packet.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  CHK: