@Override
    public Codec<? extends BiomeModifier> codec() {
        return ExplorationWorldFeatures.ADD_CARVER_BIOME_MODIFIER_CODEC.get();
    }
For some reason, Forge does not provide this in {@link BiomeModifiers}. This one also allows for
dynamic control via ProjectRed's mod config file.
exploration/src/main/java/mrtjp/projectred/exploration/world/gen/ConfigFileControlledAddCarversBiomeModifier.java