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

Entity spawn packets use integers for yaw and pitch instead of bytes

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Resolution: Fixed
    • 1.15.2, 1.18.1
    • 22w14a
    • None
    • Plausible
    • (Unassigned)

    Description

      Entity spawn packets use integers for yaw and pitch values unlike all other packets which use bytes to store yaw and pitch of entities. During the serialization they are converted to byte, but this serialization does not happen on singleplayer when receiving packets from integrated servers. This leads to singleplayer clients displaying entities (that aren't mobs) (e.g. boats) rotated slightly different from multiplayer clients.

      Attachments

        Activity

          People

            Unassigned Unassigned
            2No2Name 2No2Name
            Votes:
            6 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              CHK: