You're in Grave Danger

You're in Grave Danger

21M Downloads

Question on integrating custom `InvModCompat`

MrCrayfish opened this issue ยท 2 comments

commented

Hello, I am unable to find any method to safely register an InvModCompat for my mod. I can late handle ServerStartedEvent on NeoForge, however for Fabric I don't have a priority option for ServerLifecycleEvents.SERVER_STARTED, and I'd rather not use a Mixin. I am currently working with 1.21+ verisons of your mod. Thanks for taking the time to read this.

commented

Hmm that's a good idea to have some sort of event for registering compat mods. I'll see about adding that. Will update here when it's implemented in a new release. Do let me know if you find anything else which would feel limiting to what you'd want to do.

commented

Hi again. Sorry for the delay. The mod has been updated, with a LoadModCompatEvent (on neoforge YigdEvents.LoadModCompatEvent) which can be used to load compatibility. Thanks for the suggestion, and let me know if you would want any more functionality for implementing compatibility!