A generic string codec is used in statistic bundle namespace configuration:
|
Codec.STRING.optionalFieldOf("statistics_bundle", LoopDeLoop.ID).forGetter(LoopDeLoopConfig::statisticsBundle), |
However, this approach means that the game may fail at runtime. Instead, the codec added in NucleoidMC/plasmid#204 should be used to ensure that games with invalid statistic bundle namespaces fail to load.