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

[Feature Request] Some more OptiGUI Selectors #7

Open
JuceInUse opened this issue Oct 12, 2022 · 4 comments
Open

[Feature Request] Some more OptiGUI Selectors #7

JuceInUse opened this issue Oct 12, 2022 · 4 comments

Comments

@JuceInUse
Copy link

While I know that this mod is meant to emulate Optifine GUI properties, it would also be nice if it could extend it in a similar vein to how ETF not only replaces random entity features but adds new ones to the game. For example, it would be awesome if the player inventory could have a texture based on health and hunger or something to that effect

@opekope2
Copy link
Owner

I haven't thought about more features than OptiFine supports or should support (which were added in OptiGUI v1.1.0). For the next release I only plan to fix bugs when I have some time. I haven't needed any new features, feel free to explain any new feature in detail so I know what to add if I decide to.

@JuceInUse
Copy link
Author

Oh! I actually have some ideas that you could use for custom GUI features. Here, I have some of them outlined:

Health
[I.E. Health=15, Health=50%, Health=5%..10%, smth like that]

This is a little self-explanatory. Basically, you can make the inventory GUI change depending on player health. Maybe, for example, you could have a stone brick GUI that slowly cracks when you lose HP

Level
[I.E. Level=20, Level=20.., Level=10..20]

This would work more in a range. Basically, you could make it so that different GUIs changed based on what level your player was at. For example, maybe you’d make it so that when you reach level 30 enchanting tables have a GUI to indicate that you can do level 30 enchants

Hunger
[I.E. Hunger=0, Hunger=30%, Hunger=10%..50%]

Like the others, this would be based on player information. The hunger parameter could make it so that you could change a GUI based on how hungry you were. If you wanted it to trigger for one bar of hunger, for example, Hunger=2 would be what you used. Maybe it could also work with saturation? I dunno. An example of this could be a zombie-themed GUI that slowly became more red the less hunger you had, and saturation could play in by it having golden edges that became less gold the less saturation you had

Effects
[I.E. Effects=minecraft:hunger, Effects={minecraft:strength,minecraft:blindness}, etc.]

This would be triggered based on the potion effects the player had. This could be useful for something like maybe having the player GUI change color depending on your active effects. Ideally, it would be compatible with modded potion effects if that implementation was easy enough, but even just vanilla effects would be dope

@opekope2 opekope2 transferred this issue from opekope2/OptiGUI-Legacy Jan 20, 2023
@opekope2
Copy link
Owner

The codebase has reached the point, when adding these features is easy and non-hacky. I'll look into them in a future version.

@opekope2 opekope2 added this to the OptiGUI Future milestone May 17, 2023
@JuceInUse
Copy link
Author

Love to see it! Good luck with doing any of this, and I'm loving seeing where this mod is going

@opekope2 opekope2 changed the title [Feature Request] Extension of Optifine properties [Feature Request] OptiGUI Selectors Sep 4, 2023
@opekope2 opekope2 changed the title [Feature Request] OptiGUI Selectors [Feature Request] Some more OptiGUI Selectors Sep 4, 2023
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