The-Fireplace-Minecraft-Mods / Fireplace-Lib

A library of common functionality used by my mods, in one place for easier maintenance and faster updates.
https://www.curseforge.com/minecraft/mc-mods/fireplace-lib
MIT License
3 stars 7 forks source link

Arbitrary Config GUI registry/entrypoint #41

Closed The-Fireplace closed 2 years ago

The-Fireplace commented 2 years ago

Is your feature request related to a problem? Please describe. As the Fireplace Lib developer, I need an easy way to spin up config GUIs for my mods so they individually only have to register in one place, with the lib. The lib can then handle registration with Mod Menu and potentially other mods.

Describe the solution you'd like An entrypoint is created which allows registering your Config GUI creation function. Ideally we'd bake this in to the Config GUI factory, but better to play it safe and hold off on that part until the next breaking version.