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

Unused pixels in cauldron textures

XMLWordPrintable

    • Confirmed
    • Textures and models

      Relates to: MC-176095 MC-199660 MC-208679 MC-250985

      May also relate to: MC-159560

      The bug

      The texture files used for the top, side and bottom faces of cauldrons all have unused pixels.

      • For the tops of cauldrons, we have a similar situation to MC-262454: in 14w10a, the rim was made three pixels thick, but the cauldron only ever uses the two outermost pixels. The innermost ring is not used by the block at all and therefore can be deleted from the texture entirely without changing how the cauldron looks.
      • For the sides of cauldrons, the 8×3 region of pixels at the very bottom center of the cauldron texture are not used at all.
      • For the bottom, there are thirty-six pixels that are not used at all, flanking the used space for unknown reasons.

      In all three of these cases, these extra pixels were added in snapshot 14w10a, the version in which cauldrons were presumably made to use data-driven block models. However, even at this point in development, the pixels were never actually used, therefore only remaining as an artifact from what is presumably a cauldron model never released to the public. Even the Texture Update did not remove these pixels - if anything, some textures such as the cauldron's side texture appear to be shaded under the assumption that all pixels are used in-game even though they are not. In addition, the Texture Update caused the bottom middle of the cauldron side texture to become filled in with solid color even though it was previously left transparent.

      In addition, the "inner" texture for cauldrons contains 48 pixels which, while technically used, are never visible without clipping into the block. As a result, deleting these pixels from the texture will have no effect on the cauldron's appearance in a way that matters. (Since these unused pixels correspond to the bottom texture's used pixels, these two files could even be merged if desired.)

      How to fix

      Fixed versions of all four texture files for cauldrons are attached to this ticket. Fixing this should be as easy as replacing vanilla's current block/cauldron_top.png, block/cauldron_side.png, block/cauldron_inner and block/cauldron_bottom.png textures with these fixed textures.

      I've also included Programmer Art versions of these textures, as Programmer Art is also affected by this issue. Programmer Art's fix can be applied in much the same way.

      As these assets are modified versions of Mojang's own game assets, intended as a fix to the game, Mojang have all the rights to use these as a fix. If required for some reason, I give Mojang full permission to use these.

      Further notes

      The attached "affected areas" image appears to still be missing some unused pixels.

        1. PROGRAMMERART-cauldron_top.png
          PROGRAMMERART-cauldron_top.png
          0.2 kB
        2. PROGRAMMERART-cauldron_side.png
          PROGRAMMERART-cauldron_side.png
          0.2 kB
        3. PROGRAMMERART-cauldron_inner.png
          PROGRAMMERART-cauldron_inner.png
          0.2 kB
        4. PROGRAMMERART-cauldron_bottom.png
          PROGRAMMERART-cauldron_bottom.png
          0.1 kB
        5. cauldron_top.png
          cauldron_top.png
          0.2 kB
        6. cauldron_side.png
          cauldron_side.png
          0.2 kB
        7. cauldron_inner.png
          cauldron_inner.png
          0.2 kB
        8. cauldron_bottom.png
          cauldron_bottom.png
          0.1 kB
        9. affected areas.png
          affected areas.png
          8 kB

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

              Created:
              Updated:
              CHK: