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

Entities rotating their heads while idle is client side only

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • Minecraft 1.13-pre7, Minecraft 1.13, Minecraft 18w30b, Minecraft 1.13.1, Minecraft 1.13.2, Minecraft 18w48a, Minecraft 18w48b, Minecraft 18w49a, Minecraft 18w50a, Minecraft 19w02a, Minecraft 19w08b, Minecraft 1.14, 1.14.4, 19w46b, 1.16 Pre-release 5, 1.16.2 Pre-release 1, 1.16.4, 20w49a, 20w51a, 1.16.5, 21w06a, 21w10a, 21w19a, 1.17.1, 21w39a, 21w42a, 21w44a, 1.18 Pre-release 1, 1.18.1, 1.18.2, 22w18a, 1.19.2, 1.19.3, 1.19.4, 1.20.1, 1.20.2, 23w43b, 1.20.4
    • None
    • Confirmed
    • Commands, Entities
    • Normal
    • Gameplay

      The bug

      When an entity randomly rotates, while standing on the same position, the server does not update the entity's rotation, causing the Rotation NBT and local coordinates to be inaccurate to what players see.

      How to reproduce

      1. Summon a zombie
      2. Run this command in a repeating command block:
        /execute at @e[type=zombie] anchored eyes run particle flame ^ ^ ^4 0 0 0 0 1
        

        When the zombie randomly looks around without moving, the particle will stay in the same place, rather than move with the zombie's looking direction

      Code analysis

      Potential code analysis by Chumbanotz can be found in this comment.

            Unassigned Unassigned
            jirauser71590 user-f2760 (Inactive)
            Votes:
            20 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated:
              CHK: