ImmersiveMC

ImmersiveMC

683k Downloads

Move All Mod Compat to `CompatModule`s

hammy275 opened this issue ยท 2 comments

commented

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.

commented

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.

commented
  • 1.21.1
  • 1.20.4
  • 1.20.2
  • 1.20.1
  • 1.19.4
  • 1.19.3
  • 1.19.2
  • 1.18.2