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

Shulkers on the side of a block are not flipped when renamed "Dinnerbone" or "Grumm"

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Resolution: Unresolved
    • Affects Version/s: Minecraft 1.10.2, Minecraft 16w41a, Minecraft 16w42a, Minecraft 16w43a, Minecraft 16w44a, Minecraft 1.11 Pre-Release 1, Minecraft 1.11, Minecraft 1.11.2, Minecraft 17w18b, Minecraft 1.12 Pre-Release 1, Minecraft 1.12 Pre-Release 2, Minecraft 1.12 Pre-Release 5, Minecraft 1.12.2, Minecraft 17w45b, Minecraft 17w46a, Minecraft 17w47a, Minecraft 17w47b, Minecraft 17w48a, Minecraft 1.13-pre8, Minecraft 1.13.2, Minecraft 18w45a, Minecraft 18w46a, Minecraft 18w47a, Minecraft 18w47b, Minecraft 18w48a, Minecraft 18w48b, Minecraft 18w49a, Minecraft 18w50a, Minecraft 19w03c, Minecraft 19w04b
    • Fix Version/s: None
    • Environment:
    • Confirmation Status:
      Confirmed
    • Game Mode:
      Creative
    • Category:
      (Unassigned)

      Description

      Every time i go to place a Shulker named "Dinnerbone" or "Grumm" on the north or south facing sides it renders somewhat normally except its not 'upside down'~, and placed on any side of a block the Shulker is rendered almost 2 pixels higher*.

      To clarify on the Top, Bottom, East, and West sides of a block the shulker named Dinnerbone or grumm will be flipped 'Upside down' , however only on the North and South sides of a block it fails to flip it 'upside down'

      ~On its local axis.
      *Idk if the 2 pixels higher is intentional or not.
      This affects 1.9+


      Code Analysis

      The method responsible for rotating an entity named "Dinnerbone" or "Grumm", net.minecraft.client.renderer.entity.RenderLivingBase.rotateCorpse(T entityLiving, float p_77043_2_, float p_77043_3_, float partialTicks), will render the entity 2 pixels higher than it's actual height.

      GlStateManager.translate(0.0F, entityLiving.height + 0.1F, 0.0F);

      The reason the Shulker appears that it is not flipped is because the code does not take the Shulkers rotation into consideration.

        Attachments

        1. 2016-10-23_22.55.52.png
          2016-10-23_22.55.52.png
          65 kB
        2. 2016-10-23_22.55.57.png
          2016-10-23_22.55.57.png
          132 kB
        3. 2016-10-23_22.56.09.png
          2016-10-23_22.56.09.png
          56 kB
        4. 2016-10-23_22.56.26.png
          2016-10-23_22.56.26.png
          72 kB
        5. 2016-10-23_22.56.43.png
          2016-10-23_22.56.43.png
          77 kB
        6. 2016-10-23_22.57.02.png
          2016-10-23_22.57.02.png
          82 kB
        7. 2016-10-23_23.02.41.png
          2016-10-23_23.02.41.png
          45 kB
        8. 2016-10-23_23.02.54.png
          2016-10-23_23.02.54.png
          52 kB
        9. 2016-10-23_23.05.58.png
          2016-10-23_23.05.58.png
          110 kB
        10. 2016-10-23_23.06.08.png
          2016-10-23_23.06.08.png
          115 kB
        11. 2016-10-23_23.06.20.png
          2016-10-23_23.06.20.png
          93 kB
        12. 2016-10-23_23.06.29.png
          2016-10-23_23.06.29.png
          108 kB
        13. 2016-10-23_23.07.01.png
          2016-10-23_23.07.01.png
          52 kB
        14. 2016-10-23_23.07.11.png
          2016-10-23_23.07.11.png
          89 kB
        15. 2016-10-23_23.07.31.png
          2016-10-23_23.07.31.png
          175 kB
        16. 2016-10-23_23.19.21.png
          2016-10-23_23.19.21.png
          141 kB
        17. 2016-10-23_23.19.29.png
          2016-10-23_23.19.29.png
          99 kB
        18. 2016-11-09_17.44.19.png
          2016-11-09_17.44.19.png
          121 kB
        19. 2016-11-09_17.44.25.png
          2016-11-09_17.44.25.png
          189 kB
        20. 2016-11-09_17.44.32.png
          2016-11-09_17.44.32.png
          171 kB
        21. GlobalAxisVsLocalAxis.png
          GlobalAxisVsLocalAxis.png
          4 kB
        22. image-2018-11-22-03-06-53-175.png
          image-2018-11-22-03-06-53-175.png
          15 kB

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              seeker3000 jeremiah mcdaid
            • Votes:
              5 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:
                CHK: