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

Rotating armor stand causes shaking base plate

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Reopened
    • Resolution: Unresolved
    • Affects Version/s: Minecraft 1.8.7, Minecraft 1.9.1 Pre-Release 3, Minecraft 1.11.2, Minecraft 17w06a, Minecraft 17w18b, Minecraft 1.13.1, Minecraft 18w48a, Minecraft 18w48b
    • Fix Version/s: None
    • Confirmation Status:
      Confirmed
    • Category:
      (Unassigned)

      Description

      The bug

      When you rotate an armor stand either by using the /tp or the /entitydata command, its base plate shakes during the rotation.

      How to reproduce

      1. Place an armor stand
      2. Use the following command
        /tp @e[type=armor_stand,limit=1] ~ ~ ~ ~90 ~
        

      A possible reason

      The following is based on decompiled version of Minecraft 1.9 using MCP 9.24 beta. All method and class names are the names used in the decompiled version.

      As I am not very familiar with how the rendering exactly works the following is only an assumption and observation of what happens when you change something. The changes mentioned might only fix the symptoms of the bug, but not the bug itself.

      It looks like the method net.minecraft.client.model.ModelArmorStand.setRotationAngles(float, float, float, float, float, float, Entity) is not calculating the value for the field net.minecraft.client.model.ModelRenderer.rotateAngleY correctly. Using for example Math.PI as constant prevents this bug from happening.

      Keep in mind that these changes are no fix suggestions

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  CHK: