Roughly Enough Items Fabric/Forge/NeoForge (REI)

Roughly Enough Items Fabric/Forge/NeoForge (REI)

40M Downloads

[Feature](?) Delay plugin init until after mod init is complete

TropheusJ opened this issue ยท 3 comments

commented

Describe the solution you'd like
Create relies on configs to define some available recipes. On Fabric, we rely on a library for this. However, configs are not loaded until after the config library loads. If REI loads before this, the Create REI plugin will crash due to configs not being present.

Alternatively, allowing mods to opt-in to delayed init could be an option, if changing the current init time has too much breaking potential.

commented

Why would you be doing much on constructor init? shouldn't you only do stuff on the methods called?

commented

@AlphaMode is the one who set up our REI compat and would be able to answer better

commented

Please do a follow-up, I am going to mark this as stale for now. You can also contact me on discord if that's the preferred way. (I'm on my own discord / create discord)