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

cube_all_inner_faces and cube_bottom_top_inner_faces use an inverted cube rather than six planes

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Invalid
    • None
    • 1.21.4
    • None
    • Unconfirmed
    • Textures and models

      The bug

      These two template models, used for spawners and trial spawners, use a negative-size cube for rendering inner graphics, which is unlike all other hollow cuboids in model files, which use six planes instead for the same effect.

      This causes MC-266463, as while the cullface arguments are specified correctly, negative element sizes do not handle them correctly.

      Using negative size cuboids appears to be discouraged, due to a change in 24w38a in which redstone torch models were changed to use the six planes approach:

      Comparison of the model file:
      Before:

      After:

      How to fix

      Make these templates more like the powder snow model. I've attached a resource pack that does just this, fixing MC-266463 and MC-266536 in the process. Mojang have my full permission to use these resources to fix this issue if desired.

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

              Created:
              Updated:
              Resolved: