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

texture change under biome doesn't work #35

Closed Bradlu378 closed 1 year ago

Bradlu378 commented 1 year ago

I have a texture pack that changes the animated image depending on the biome, but reproduces only the standard. I have attached the file of this texture pack. On optifine everything works and I really wish that this function was also in OptiGUI

[Dark] Animated Fox Gui - Ekuzen & oakar258.zip

opekope2 commented 1 year ago

Does it work with OptiGUI+Animatica?

Bradlu378 commented 1 year ago

only standard animation that does not change depending on the biome

Bradlu378 commented 1 year ago

image

standart animation without biome/world checks

opekope2 commented 1 year ago

Can confirm, it's not "loading order". This code is being rewritten as part of #32. With the new code, it will be easier to track if something is not configured correctly. I'll make sure to test this resource pack before releasing beta 4.

Bradlu378 commented 1 year ago

Thanks, I'll be waiting for this update.

opekope2 commented 1 year ago

Please keep the issue open until the fix actually gets merged, so I don't accidentally forget about it.

Bradlu378 commented 1 year ago

ok, i'll keep it in mind

opekope2 commented 1 year ago

That resource pack behaves differently from my expectations, tho it works on OptiFine, so I'll fix OptiGUI.

Rozbiynk commented 1 year ago

is update inside inventory possible? for example, it change texture depending on the biome only when i reopen my inventory. Is it possible to doesnt reopen it? its can reproduce is you have invmove mod or flying on elytra through biome

opekope2 commented 1 year ago

Yes I know that this happens, because of optimizations, I partially fixed it locally tho, will push it sometime when I'm done (the code change is also needed for the book GUI)

opekope2 commented 1 year ago

Now it updates every game tick. Will be released hopefully today with the full 2.1.0 release (after 1.20 loom mappings are available)