Sodium

Sodium

35M Downloads

Mods should be able to add their own options to the Video Settings screen (without mixins)

jellysquid3 opened this issue ยท 3 comments

commented

Currently, other mods must use mixins to add/modify settings in the Video Settings screen. This is problematic, because the mixin targets are very fragile and break frequently with any minor change.

We should try to figure out an API design so that other mods can do these things in a more reasonable manner.

commented

A concept image was produced for how this might look:

image

commented

There is also the open question of whether Sodium itself should provide this interface, or if we should be campaigning for a standard interface (in Fabric API) and implementing that instead.

commented

I want to mention that general configuration happens through Mod Menu and (often) Cloth Config's APIs which are both not standardized beyond being commonly used. I don't think there's any official fabric standards for this. If an official standard is pursued, maybe its scope could be larger than just video settings as there's really no big difference in practice.