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, 1.14.4, 19w39a, 19w40a, 19w42a, 1.15.2, 20w14a, 20w22a, 1.16.4, 20w46a, 21w03a, 1.16.5, 21w05b, 21w18a, 21w19a
    • Fix Version/s: None
    • Confirmation Status:
      Confirmed
    • Category:
      (Unassigned)

      Description

      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.
      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+

      the code below is probably outdated


      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.19.29.png
          2016-10-23_23.19.29.png
          99 kB
        15. 2016-11-09_17.44.19.png
          2016-11-09_17.44.19.png
          121 kB
        16. 2016-11-09_17.44.25.png
          2016-11-09_17.44.25.png
          189 kB
        17. 2016-11-09_17.44.32.png
          2016-11-09_17.44.32.png
          171 kB
        18. 2019-09-30_20.02.29.png
          2019-09-30_20.02.29.png
          1.64 MB
        19. 2019-09-30_20.02.50.png
          2019-09-30_20.02.50.png
          1.36 MB
        20. 2019-09-30_20.02.58.png
          2019-09-30_20.02.58.png
          1.29 MB
        21. 2019-09-30_20.03.07.png
          2019-09-30_20.03.07.png
          728 kB
        22. 2019-10-16_18.02.12.png
          2019-10-16_18.02.12.png
          1.25 MB
        23. GlobalAxisVsLocalAxis.png
          GlobalAxisVsLocalAxis.png
          4 kB
        24. image-2018-11-22-03-06-53-175.png
          image-2018-11-22-03-06-53-175.png
          15 kB

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            seeker3000 Sokaren
            Votes:
            8 Vote for this issue
            Watchers:
            7 Start watching this issue

              Dates

              Created:
              Updated:
              CHK: