mojira.dev
MC-199658

There are five unused spaces in the experience orb texture file

The bug

There are eleven different sizes of experience orb. All of these sizes are stored in the same texture file. This, however, means that there are five remaining regions in said texture file, which go completely unused.

How to reproduce

Simply extract the texture file from the jar, and note the five last textures. It looks like this:

[media]

Expected results

There would be no unused spaces. Either all 16 regions would be used for unique textures which see actual use in-game, or each orb size would have a file for itself.

Actual results

There are still empty regions on the texture file that duplicate the second smallest orb and do nothing.

How to fix

There are three possible fixes for this issue:

  1. Five new experience orb sizes could be added, using up all 16 spaces in the texture file.

  2. This texture file could be split into 11 individual files, each containing one of the valid, actually used orbs, in a similar way to how 1.5 split terrain.png and items.png and 1.14 split particles.png, kz.png and inventory.png.

  3. Five experience orb sizes could be added and the file split into 16 individual files per texture.

For splitting, the texture file minecraft:textures/entity/experience_orb.png would be removed from the game, and a new dedicated directory added for experience orb textures instead: minecraft:textures/experience_orb/experience_orb_[SIZE].png. The contents of this folder would then be stitched into a dedicated texture atlas on startup and when loading resource packs: minecraft:textures/atlas/experience_orb.png-atlas. The splitting of experience orbs into individual files could allow for animated experience orb textures, among other things.

Linked issues

Attachments

Comments 6

[Mod] markderickson

Hi there!

I can confirm.

Testing

I confirm, in my resource pack i remove unused 5 orbs remaining it!

I appreciate if orb did not shown looks different.

Avoma

Can confirm in 20w51a.

Avoma

Can confirm in 21w03a.

Avoma

Can confirm in 21w05b.

Avoma

Can confirm in 21w13a.

muzikbike

Chi Wong

Community Consensus

Low

Textures and models

1.16.2, 1.16.3, 20w51a, 21w03a, 21w05b, 21w13a

Retrieved