Seeing as Loadable is marked as @Deprecated and heavily tied to Minecraft Forge and Forge Mod Loader, I’ve thought of a way to remove it.
The following specification is based largely off of the discussion at NOVA-Team/NOVA-Core#141 and how NOVA has been implemented.
Specification
Create nova.core.wrapper.mc.forge.<version>.launcher.LoadableNativeConverter interface and make it extend NativeConverter.
Contains default void preInit() {}, default void init() {} and default void postInit() {}. (To allow registering of backward and forward wrappers at correct times, maybe pass the Forge Mod Loader event as an argument)
Use Manager.Init event (which is published to GlobalEvents in the Manager.init() method) to register objects for that manager when the game requests their registration.
Seeing as
Loadable
is marked as@Deprecated
and heavily tied to Minecraft Forge and Forge Mod Loader, I’ve thought of a way to remove it. The following specification is based largely off of the discussion at NOVA-Team/NOVA-Core#141 and how NOVA has been implemented.Specification
nova.core.wrapper.mc.forge.<version>.launcher.LoadableNativeConverter
interface and make it extendNativeConverter
.default void preInit() {}
,default void init() {}
anddefault void postInit() {}
. (To allow registering of backward and forward wrappers at correct times, maybe pass the Forge Mod Loader event as an argument)Manager.Init
event (which is published toGlobalEvents
in theManager.init()
method) to register objects for that manager when the game requests their registration.To do