PatchworkMC / patchwork-api

An attempt to reimplement the Minecraft Forge API on Fabric
GNU Lesser General Public License v2.1
282 stars 48 forks source link

Bugfix/mod init #173

Closed rikka0w0 closed 4 years ago

rikka0w0 commented 4 years ago

Fix the issue mentioned in #111 and #119. Move the Forge mod construction code to the correct place. Fabric mods are constructed much earlier, fields required by some Forge mods aren't populated yet. For example, the custom model loader requires this to work. This pr also fix some issue in FMLServerStartingEvent and make it accommodate the new mod loading procedure.