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

Ability to check the value of a setting #2784

Open
Minenash opened this issue Sep 30, 2024 · 0 comments
Open

Ability to check the value of a setting #2784

Minenash opened this issue Sep 30, 2024 · 0 comments
Labels
A-mods Area: Mod compatibility T-enhancement Type: Enhancement

Comments

@Minenash
Copy link

Request Description

The ability to get (and preferably set, but I can see the reasons this wouldn't be added) the value of a sodium setting.

My use case is that I'm currently working on a mod that exports screenshots/animations of parts of the world. During export, the world is not rendered. This causes problems with the "Animate Only Visible Textures" setting, as it stops animating animated textures. I don't want to disable it via the fabric.mod.json as there's no reason to disable this feature for the > 99% of the time that the player isn't exporting. The ability to get the value would allow me to add a warning that the setting is on and will cause it to not animate. Though the ability to set would allow the animations to continue to work without decreasing performance the rest of the time, and without making the user toggle it every time they use the mod

@Minenash Minenash added S-needs-triage Status: Needs triage T-enhancement Type: Enhancement labels Sep 30, 2024
@pajicadvance pajicadvance added A-mods Area: Mod compatibility and removed S-needs-triage Status: Needs triage labels Oct 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-mods Area: Mod compatibility T-enhancement Type: Enhancement
Projects
None yet
Development

No branches or pull requests

2 participants