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:
Download Vanilla_Resource_Pack_1.18.1
Extract it
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 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)
This has absolutely no effect on the game, and there's no reason to correct this.