Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Linked storage combinations #69

Open
dadoirie opened this issue Aug 26, 2023 · 2 comments
Open

Linked storage combinations #69

dadoirie opened this issue Aug 26, 2023 · 2 comments

Comments

@dadoirie
Copy link

dadoirie commented Aug 26, 2023

Now this might sound insane, but could OptiGUI work with Linked Storage and make replacements based on the color combination & if the chest is private or public?
The 3 color slots with 16 colors already makes up 816 combinations and that x2 if the chest is private or public makes up 1632 combinations. Would be insane doing those textures, but apart they also being optimized and resource pack also being released as separate addon of the main resource pack I might go for it if OptiGUI could support it.

UPDATE: had some thoughts on it and this would be more for a png slice/overlay which is introduced with the upcoming minecraft version (1.20.2+) as making 1k complete GUI textures wouldn't be a wise idea.
therefore if a png sprite could change its texture which then gets put with .mcmeta on the actual GUI which texture does not change - short: just the sprite changes depending on the color combination
hope I explained it properly ... also if something like that would be even possible

@opekope2
Copy link
Owner

I don't know how overlays work, I'll look into it when 1.20.2 Pre-releases/RC versions drop. The core part of OptiGUI (TextureReplacer.kt) may need to be changed to support this.
Sounds easier than making QuickShulker compatible, which is an ongoing issue (probably since OptiGUI 2 was made). I finally made it compatible (code not yet pushed), I'll write it in #19 why it wasn't straightforward.

@dadoirie
Copy link
Author

Just a side note regarding the QuickShulker issue: I did build QuickShulker with that commit of yours and it does work with the current released OptiGUI version. Haven't tested all the Shulkers, but if one works all of them very likely work. Also haven't tested all use cases and also didn't checked further for any issues

(Sorry about the off topic, just had to clarify this)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants