Move All Mod Compat to `CompatModule`s
hammy275 opened this issue ยท 2 comments
Should add helper methods for easily creating Immersives and ImmersiveHandlers via the CompatModule
system. This way, every aspect of an Immersive that we have compat with is covered by it.
The CompatModule#create()
method is already good enough; no need to make helper methods. I'm intentionally not adding support for compat modules to the API, as API consumers aren't expected to do cross-mod compat, only compat with their own mods.
We should make a place for common data (mainly the config setting and friendly name) so that the immersive and the handler can share it. From there, the create()
method should take this object instead of the raw string and biconsumer.