Posted June 5, 20196 yr Well I posted an error on forums where my config object was missing and that was no luck at time of writing. However, I noticed that when Cadiboo on my original Config post mentioned the ModConfig.ModConfigEvent, I went looking through his mod NoCubes to see how he was making the config get created in the first place or to get the instance working. I found the event which was the only part missing in my code, yet my config is still not being created and the event isn't being fired and I haven't found any methods that his mod is using to fire the event or to create the config. Most of my config is handled in these classes/packages https://github.com/Fernthedev/controller-remap/tree/beta/mod-1-13-x/src/main/java/com/github/fernthedev/controllerremapmod/config https://github.com/Fernthedev/controller-remap/blob/beta/mod-1-13-x/src/main/java/com/github/fernthedev/controllerremapmod/ControllerRemapModMain.java#L69-L92 Sorry for posting so many config topics, I can't find any documentation for the new system in the docs (they still mention the old 1.12 annotation config system) Edited June 5, 20196 yr by fernthedev Be more specific on what event
June 5, 20196 yr Author Played around with Cadiboo's NoCubes code and somehow got it working. I believe this was caused by calling the config register on the FML Setup event rather than the constructor.
June 6, 20196 yr I added an example config https://github.com/Cadiboo/Example-Mod/commit/43db50e176d758ade2338764d7e2fe1b63aae7dd About Me Spoiler My Discord - Cadiboo#8887 My Website - Cadiboo.github.io My Mods - Cadiboo.github.io/projects My Tutorials - Cadiboo.github.io/tutorials Versions below 1.14.4 are no longer supported on this forum. Use the latest version to receive support. When asking support remember to include all relevant log files (logs are found in .minecraft/logs/), code if applicable and screenshots if possible. Only download mods from trusted sites like CurseForge (minecraft.curseforge.com). A list of bad sites can be found here, with more information available at stopmodreposts.org Edit your own signature at www.minecraftforge.net/forum/settings/signature/ (Make sure to check its compatibility with the Dark Theme)
June 6, 20196 yr Author Just now, Cadiboo said: I added an example config https://github.com/Cadiboo/Example-Mod/commit/43db50e176d758ade2338764d7e2fe1b63aae7dd Thanks ?
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.