Posted July 23, 20205 yr Hello, I am working on the configuration file for my mod and am curious if it would be possible to use the forge config builder to take in a list from my mods config.toml. If someone could point me in the right direction, that'd be great. I looked into making a subclass of the ConfigValue type forge uses, but the constructor is package-private and I don't know of a way around this.
July 23, 20205 yr Author After some looking around in the config files of a modpack I've been playing, I found that craftingtweaks had just what I was looking for. https://github.com/blay09/CraftingTweaks/blob/1.15.x/src/main/java/net/blay09/mods/craftingtweaks/CraftingTweaksConfig.java#L19-L32 Edited July 23, 20205 yr by AreUThreateningMe
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.