public static Codec<ConfigFileControlledAddFeaturesBiomeModifier> createCodec() {
        return RecordCodecBuilder.create(instance -> instance.group(
                Biome.LIST_CODEC.fieldOf("biomes").forGetter(m -> m.biomes),
                PlacedFeature.LIST_CODEC.fieldOf("features").forGetter(m -> m.features),
                GenerationStep.Decoration.CODEC.fieldOf("step").forGetter(m -> m.step),
                Codec.STRING.fieldOf("configKey").forGetter(m -> m.configKey)
        ).apply(instance, ConfigFileControlledAddFeaturesBiomeModifier::new));
    }
A type of {@link BiomeModifiers.AddFeaturesBiomeModifier} that can be disabled by its corresponding
field in ProjectRed's Config file.
exploration/src/main/java/mrtjp/projectred/exploration/world/gen/ConfigFileControlledAddFeaturesBiomeModifier.java