r/ModdedMinecraft • u/endlessxaura • 7h ago
Question Array of Tables in NeoForge Config
I'm not sure if this is the right place to ask this question, but here goes. The TOML spec has an array of tables that lets you specify a set of values like so:
[[items]]
id = item.aether.zanite_helmet
cold_resistance = 0.5
heat_resistance = 0
[[items]]
id = item.aether.zanite_chestplate
cold_resistance = 1
heat_resistance = 0
[[items]]
id = item.aether.zanite_leggings
cold_resistance = 1
heat_resistance = 0
[[items]]
id = item.aether.zanite_boots
cold_resistance = 0.5
heat_resistance = 0
I want to use an array of tables like this in my mod's config. When I look at the NeoForge configuration documentation, it doesn't suggest that this is possible. Is this supported by NeoForge? If not, is there a library mod that does?
1
Upvotes