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"



    • 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, 1.14.4, 19w39a, 19w40a, 19w42a, 1.15.2, 20w14a
    • Fix Version/s: None
    • Environment:
    • Confirmation Status:
    • Game Mode:
    • Category:


      (It's worse, now all sides except the top and bottom east & west are effected instead of the previous top, bottom sides working)
      Every time i go to place a Shulker named "Dinnerbone" or "Grumm" on every side (not the top or bottom) it renders somewhat normally except its not upside down, and the Shulker is
      rendered almost 2 pixels higher. (Now is isn't)
      I thought it would be to where the bottom texture of the Shulker would show up on the opposite side its supposed to, what i got is only the shulkers placed on the top & bottom east & west flipping correctly.

      This affects 1.9+

      (I'm sure this code is now outdated. [as a note someone else added this code] )

      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.


        1. 2016-10-23_22.55.52.png
          65 kB
          jeremiah mcdaid
        2. 2016-10-23_22.55.57.png
          132 kB
          jeremiah mcdaid
        3. 2016-10-23_22.56.09.png
          56 kB
          jeremiah mcdaid
        4. 2016-10-23_22.56.26.png
          72 kB
          jeremiah mcdaid
        5. 2016-10-23_22.56.43.png
          77 kB
          jeremiah mcdaid
        6. 2016-10-23_22.57.02.png
          82 kB
          jeremiah mcdaid
        7. 2016-10-23_23.02.41.png
          45 kB
          jeremiah mcdaid
        8. 2016-10-23_23.02.54.png
          52 kB
          jeremiah mcdaid
        9. 2016-10-23_23.05.58.png
          110 kB
          jeremiah mcdaid
        10. 2016-10-23_23.06.08.png
          115 kB
          jeremiah mcdaid
        11. 2016-10-23_23.06.20.png
          93 kB
          jeremiah mcdaid
        12. 2016-10-23_23.06.29.png
          108 kB
          jeremiah mcdaid
        13. 2016-10-23_23.07.01.png
          52 kB
          jeremiah mcdaid
        14. 2016-10-23_23.19.29.png
          99 kB
          jeremiah mcdaid
        15. 2016-11-09_17.44.19.png
          121 kB
          jeremiah mcdaid
        16. 2016-11-09_17.44.25.png
          189 kB
          jeremiah mcdaid
        17. 2016-11-09_17.44.32.png
          171 kB
          jeremiah mcdaid
        18. 2019-09-30_20.02.29.png
          1.64 MB
          jeremiah mcdaid
        19. 2019-09-30_20.02.50.png
          1.36 MB
          jeremiah mcdaid
        20. 2019-09-30_20.02.58.png
          1.29 MB
          jeremiah mcdaid
        21. 2019-09-30_20.03.07.png
          728 kB
          jeremiah mcdaid
        22. 2019-10-16_18.02.12.png
          1.25 MB
          jeremiah mcdaid
        23. GlobalAxisVsLocalAxis.png
          4 kB
          jeremiah mcdaid
        24. image-2018-11-22-03-06-53-175.png
          15 kB



            Unassigned Unassigned
            seeker3000 jeremiah mcdaid
            6 Vote for this issue
            7 Start watching this issue