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

Unneeded faces and missing cullface in dragon egg model

    XMLWordPrintable

Details

    • Bug
    • Status: Open
    • Resolution: Unresolved
    • 1.16.2, 1.16.3, 1.16.4, 20w46a, 20w51a, 21w03a, 1.16.5, 21w05b, 21w06a, 21w08b, 21w11a, 21w13a, 21w14a, 21w16a, 21w17a, 21w18a, 21w19a, 21w20a, 1.17 Pre-release 1, 1.17, 1.17.1, 21w39a, 21w40a, 21w42a, 21w44a, 1.18, 1.18.1 Pre-release 1
    • None
    • Community Consensus
    • Textures and models
    • Low

    Description

      The resource pack attached offers a complete fix for this issue. Mojang have my full permission to (and are encouraged to) replace the affected vanilla model files with the contents of the resource pack.

      Download resource pack:

      The bug

      The dragon egg includes numerous block faces which cannot be seen normally - in order to see these faces, clipping into the block is required, such as through Spectator mode. In addition, the topmost and bottommost faces are missing cullface specifications standard of other models which have faces which end up hidden by adjacent blocks.

      How to reproduce

      1. Place down a dragon egg
      2. Enter Spectator mode
      3. Fly inside of the dragon egg
        1. You will find yourself inside of a stack of cuboids, with many of the faces of these cuboids completely invisible from outside
      4. Now place opaque blocks on the top and bottom of the egg
      5. Fly into these opaque blocks
        1. Looking closely reveals that the dragon egg faces against these blocks are still visible despite their complete occlusion

      Expected results

      Only faces which are visible during normal gameplay are rendered.

      Actual results

      Every single face of each cuboid, including the ones which are only visible if the player is inside of the dragon egg, is always rendered.

      How to fix

      The resource pack attached to this ticket fixes this issue completely - all lines pertaining to these redundant faces are deleted (which shrinks the model file considerably), and the top and bottom faces now have cullface specified.

      The model also fixes MC-120417, and re-enables ambient occlusion for the model, as it was disabled before despite offering little to no visual difference.

      Formatting has also been changed for consistency and readability.

      Attachments

        1. 2020-08-29_15.57.29.png
          2020-08-29_15.57.29.png
          149 kB
        2. 2020-08-29_17.00.21.png
          2020-08-29_17.00.21.png
          542 kB
        3. 2020-08-29_17.00.36.png
          2020-08-29_17.00.36.png
          581 kB
        4. 2020-08-29_17.00.55.png
          2020-08-29_17.00.55.png
          307 kB
        5. 2020-08-29_17.01.07.png
          2020-08-29_17.01.07.png
          169 kB
        6. 2020-08-29_17.01.31.png
          2020-08-29_17.01.31.png
          288 kB
        7. dragon_egg.json
          4 kB
        8. dragon-egg-fix-21w40a-v1.0.zip
          1 kB
        9. dragon-egg-fix-21w41a-v1.1.zip
          1 kB
        10. MC-199238.mp4
          4.00 MB

        Issue Links

          Activity

            People

              Unassigned Unassigned
              Awesoman3000 Connor Steppie
              Votes:
              10 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                CHK: