[BUG] Doesn't work with Lunar Client
ansanyyi opened this issue ยท 14 comments
Expected Behavior
Texture like the shulker and Chest should change
Actual Behavior
While Using lunar client, using RP like Recolourful Containers doesnt change Chest (used Barrel texture) and Shulker (with color) GUI texture
Steps To Reproduce
Open chest, ender chest, shulker with color
chest used Barrel texture
Loader and its version
0.16.5
OptiGUI version
2.3.0-beta.6+1.21
Behavior difference
- OptiGUI documentation
- OptiFine
- Something you logically expect from OptiGUI
- Doesn't work at all
Anything else
No response
This is a Lunar client issue because it doesn't respect Fabric entrypoints. I'll leave this open so it doesn't get reported again until I do sth about it sometime in the future.
I don't know a way to do that. I don't use Lunar client, and I only test OptiGUI using the supported loaders.
In the newer alpha version it says it works with lunar client but it still doesn't. Whenever I open an ender chest it crashes my game. I'm playing on fabric 1.21.1 with Sodium, Cloth Config, Fabric API, Fabric Kotlin Language, and Mod menu. I'm using the alpha2+ version of Optigui.
Edit: After testing this further I noticed that the same thing happens on 1.21. I'm using Recolorful Containers, version is 2.0.
Can you send the crash log?
I can't reproduce the crash using alpha 3
Maybe Lunar is loading the wrong version of OptiGUI?
I used the 1.20 loader along with alpha 3 instead of 1.21 loader this time but it still crashed the game.
Lunar's "Genesis" class loader has problems loading that mixin, which is an essential mixin; if you remove it, no textures will be changed, because OptiGUI will not recognize any GUI screen.
Based on the crash log, lectern should also crash.
If this does not happen on Fabric Loader, but happens on Lunar client (with Fabric mod compatibility), then it is a Lunar client issue. Something is wrong with mixins and class loaders. If you decide to report this to Lunar client, this mixin adds the optiGui_writeNbt method
I made a ticket, but in the meantime is there any way of using the mixin myself to make the mod work? I'm not too familiar with mixins so I don't know how they work.
Lunar Client also doesn't follow Fabric entrypoint docs, but I worked around it.
I see so there is no way for me to make the mod work myself and Moonsworth has to fix lunar client to make OptiGUI work?
Hey, I just tested OptiGui 1.20, 1.21 (using the version from the issue, 2.3.0-beta.6+1.21), 1.21.1 and 1.21.4 using Lunar Client and it seems to be working now. I'll unblacklist the mod from loading, an update with that change should be out soonish (ETA few days / maybe a week+ to test all of it properly since it's part of a bigger changelist). From what I saw, Fabric entrypoints are working properly now on LC.