Add a proper API allowing other mods to open the Iris config / shader pack selection screen
coderbot16 opened this issue ยท 1 comments
Currently it's necessary to depend on internal Iris classes or use reflection:
- Reese's Sodium Options: https://github.com/FlashyReese/reeses-sodium-options/blob/ef9f07e6d2de3f84609fecb6271e2664d053d99b/src/main/java/me/flashyreese/mods/reeses_sodium_options/client/gui/SodiumVideoOptionsScreen.java#L108-L116
- Puzzle: https://github.com/PuzzleMC/Puzzle-Core/blob/60e484e0046d1bdde5cac5fd0e49d5cc2bd0d2d3/puzzle-gui/src/main/java/net/puzzlemc/gui/screen/IrisButton.java#L12-L17
Addressed by 41721a5