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

Unused pixels and never-normally-visible pixels in lectern top, front, side and base textures

XMLWordPrintable

    • Community Consensus
    • Textures and models

      The bug

      All four textures associated with the lectern block have unused pixels to some degree. There are two types of unused pixels:

      • Certain areas of the texture file are not used by the model at all. As a result, deleting them from the texture file does not change how the block looks in any way.
      • Certain other areas of the texture are used by the model, however the area in which they are used is obscured by another part of the model (compare MC-268027). As a result, while removing these pixels does change how the block looks, the differences can only be seen by clipping into the block via Spectator mode or other likely unintended means.

      Since these pixels are unimportant to the block, removing them will make it clearer to resource pack developers what areas can be ignored when making custom textures, and will likely also decrease file sizes slightly.

      • block/lectern_top.png: The top row of pixels and bottom two rows of pixels are completely unused.
      • block/lectern_front.png: Some areas are completely unused, and other areas are used in regions blocked by the top element of the lectern, which are therefore never visible.
      • block/lectern_sides.png: Some areas are also completely unused, and others in regions also obscured by the topmost element.
      • block/lectern_base.png: Most of the central 8×8 region is obscured by the central column, barring two rows which are used by the sides of the bottom plate (MC-268047).

      Removing all of these pixels from these four files will make it clear what areas of the texture are used and which can be ignored, all without changing how lecterns look at all (barring the use of Spectator mode and other such means).

      How to fix

      Fixed versions of all four texture files are attached to this ticket. Fixing this should be as easy as replacing vanilla's current block/lectern_top.png, block/lectern_front.png, block/lectern_sides.png and block/lectern_base.png textures with these fixed textures.

      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

      With the lectern_base.png texture change applied, it may be possible to notice very faint dark stitching around the base - this is the fault of MC-73186, which, while overdue for a fix, ultimately should not be a blocker. Fixing that issue will completely stop any of these black pixels from being visible from the outside.

        1. affected areas.png
          affected areas.png
          58 kB
        2. lectern_base.png
          lectern_base.png
          0.2 kB
        3. lectern_front.png
          lectern_front.png
          0.2 kB
        4. lectern_sides.png
          lectern_sides.png
          0.2 kB
        5. lectern_top.png
          lectern_top.png
          0.2 kB

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

              Created:
              Updated:
              CHK: