mojira.dev
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.

Linked issues

Attachments

Comments

user-f2760

Mind actually highlighting the pixels you're refering to in an image? These kinds of reports should more clearly indicate what parts are textured, but unused.

[Mod] Jingy

The book texture iteself is fine, they are talking about the unnecessary black coloring added rather than using transparency.

Here is it highlighted:

[media]

muzikbike

(Unassigned)

Community Consensus

Platform

Low

Textures and models

unused-pixels

1.20.1, 23w31a

Retrieved