Posted September 5, 20214 yr A lot of the different types I try and use for config files throw up a com.electronwill.nightconfig.core.io.WritingException: Unsupported value type which I'm guessing just means that type isn't supported, so I was just wondering if there's a list of which are, as I couldn't find one anywhere.
September 5, 20214 yr only primitive values are supported (int, double, float, enum, ...) this also include Strings, if you want to use other values you need to store them in a String or a enum, e.g. minecraft:stone is the RegistryName of the Stone block you can store the name (as String) in the config then you can create a ResourceLocation from a String a then you can get the Block Edited September 5, 20214 yr by Luis_ST
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.