mojira.dev
MC-248377

Inconsistent image formats in newer vanilla RPs

Verification builds: 1.18.2 via store

Summary: Inconsistencies in image formats for vanilla RP assets have crept in with newer item textures (Diamond armour and Netherite armour) with the image format now a mix of "Indexed Color (8 Colors)" and "RGB Color".

Impact: Working with RP assets is complicated by inconsistencies in asset formats.

Repro Steps:

  1. Download Vanilla_Resource_Pack_1.18.1

  2. Extract it

  3. Observe the different file formats of textures\items\diamond_boots.png and textures\items\gold_boots.png

Observed Results:

textures\items\diamond_boots.png is image type "Indexed Color (8 Colors)" and textures\items\gold_boots.png is "RGB Color".

 

Armor items are affected, as well as netherite scrap, and diamond/netherite armor model UVs.

Expected Results:

Consistent file/colour formats for similar assets.

Screenshots/Videos attached: Comparison of image metadata between gold boots and diamond boots

Regression Builds: 1.17 also has this issue

Notes: None at this time.

Attachments

Comments 3

This has absolutely no effect on the game, and there's no reason to correct this.

This is due to an unexpected color space conversion that happens when only 8 colors are ever used. This is possibly due to a fix of an issue that involves graphics rendering.

I raised this as these are the reference implementations for content creators and so it may not be readily apparent what the impacts on that community are ahead of them relying on the Mojang RP.

 

For instance it busted some code on a project I'm working on forcing a workaround.

 

(Responding to Dhranios' comment)

Adrian Brightmoore

(Unassigned)

Confirmed

(Unassigned)

1.18.1

Retrieved