isXander / YetAnotherConfigLib

YetAnotherConfigLib (yacl) is just that. A builder-based configuration library for Minecraft.
GNU Lesser General Public License v3.0
97 stars 37 forks source link

Reloading a screen? #184

Open pupbrained opened 3 months ago

pupbrained commented 3 months ago

I'm using YACL for my mod's configuration and I have two related options; an item blacklist and an option to instead treat it as a whitelist. Ideally, I'd want to have the blacklist text change to use the word whitelist instead when that option is set, but with my current code it only updates the text when exiting and reentering the configuration. Is there a way to refresh/reload/replace the config screen to update the text in place?

The relevant file is here.