Mojira Archive
MC-264552

Unused black pixels in enchanting table book texture

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

May also relate to: MC-159560

The bug

In both the vanilla textures and Programmer Art, large black regions can be found in the texture file "entity/enchanting_table_book.png", covering unused areas of the texture. None of these black regions are actually used in-game and they do nothing other than bloat the texture file size.

How to fix

An easy fix - just replace the vanilla "enchanting_table_book.png" texture file with the version attached, and replace Programmer Art's "enchanting_table_book.png" texture with the fixed Programmer Art texture attached as well.

Further notes

It may also be possible to reduce the dimensions of this texture from 64x32 to 32x32 via simple rearrangement: the page texture at the bottom right could be moved to the bottom left below the other page textures, leaving the rightmost 32x32 region blank and therefore allowing it to be entirely cropped from the texture file. Some simple code changes to make the game point to the page texture's new location would be required, but these would be trivial.

Unresolved

Connor Steppie

2023-08-02, 04:17 PM

2024-10-11, 08:45 AM

6

4

Community Consensus

Low

Platform

Textures and models

unused-pixels

1.20.1, 23w31a

-