theomenden / TheOmenDen.Vanadium

A simple Custom Colors Mod for minecraft Fabric
https://modrinth.com/mod/vanadium
GNU General Public License v3.0
23 stars 3 forks source link

[BUG]Multi-texture items, like Spawn Eggs and Potions, tint incorrectly #68

Open Cedric-Vii opened 5 months ago

Cedric-Vii commented 5 months ago

Describe the bug Items that use multi-part textures, such as Potions and Spawn Eggs, seem to have tint colors applied to the whole item, rather than to the respective texture parts, when using a resource pack with grid colormap applied out of /assets/minecraft/optifine/colormap/custom/. Removing colormap from /custom/ fixes the issue, but then obviously no longer applies tint to blocks.

To Reproduce Steps to reproduce the behavior:

  1. Activate resource pack (example attached) containing a colormap (grass.png in example _ashen_potion_testbroken) in the /custom/ folder.
  2. Check Potion or Spawn Egg textures.
  3. Textures should be incorrectly colored.

Expected behavior Potions will have only the texture _potionoverlay.png tinted, and Spawn eggs will have the textures _spawn_eggoverlay.png and _spawnegg.png tinted separately when a grid-based colormap is present in /custom/.

Screenshots Expected behavior: expected_potions expected_eggs Received behavior: received_potions received_eggs

Desktop (please complete the following information):

Additional context Example packs attached below: ashen_potion_test_broken.zip ashen_potion_test_working.zip