OptiGUI icon indicating copy to clipboard operation
OptiGUI copied to clipboard

[BUG] OptiGUI doesn't work, if container is opened via Spectator Mode

Open Vi-Tul opened this issue 2 years ago • 2 comments

Is there an existing issue for this?

  • [X] I have searched the existing issues

Expected Behavior

Spectator Mode is working the same way as Survival and Creative

Actual Behavior

When container is opened in Spectator Mode, neither OptiGUI nor Optifine format textures apply

  • If opened in Creative Mode (texture is using Optifine format):

image

  • If opened in Spectator Mode (now it's using generic_54 texture):

image

Steps To Reproduce

Open any container that is using Opifine or OptiGUI format using Spectator Mode

Loader and its version

Quilt loader 0.20.2 1.20.1

OptiGUI version

2.2.0-alpha.1

Behavior difference

  • [ ] Behavior is different from OptiGUI documentation
  • [ ] Behavior is different from OptiFine
  • [X] Behavior is different from expected (or straight up doesn't work)

Anything else

No response

Vi-Tul avatar Oct 28 '23 17:10 Vi-Tul

Indeed, that doesn't work. It's because of how Fabric API works. I may need to hook it myself. Ironic.

opekope2 avatar Oct 28 '23 21:10 opekope2

hey ViTulyankin

mMAK141 avatar May 01 '25 23:05 mMAK141