opekope2 / OptiGUI

Blazing fast custom GUI textures on Fabric and Quilt with built-in OptiFine custom GUI resource pack support
https://opekope2.dev/OptiGUI/
MIT License
22 stars 4 forks source link

[Bug] OptiGUI replaces barrel texture with chest texture #36

Closed JustAHuman-xD closed 1 year ago

JustAHuman-xD commented 1 year ago

Expected Behavior

The barrel texture remains the default inventory texture instead of getting changed to the chest texture

Steps to Reproduce

  1. Download the latest Colorful Containers
  2. Join Singleplayer or Multiplayer World
  3. Place and Open a Barrel
  4. Observe GUI

Difference in Behavior

Selection: Optifine

JustAHuman-xD commented 1 year ago

This is however related to #30 I just felt that it wasn't really the same issue. As in Optifine it is the barrel texture with no changes necessary but OptiGUI it is the chest texture

opekope2 commented 1 year ago

32 should fix it, but I'll take a look soon (sometime this week... probably)

The reason why OptiGUI would replace the barrel texture is that the texture pack didn't explicitly tell it not to (by specifying _barrel=false). This is obviously wrong and was changed in the rework.

JustAHuman-xD commented 1 year ago

Go it! In any case thank you for creating this mod in the first place. It is a very nice one!