Allowed SPRING_FOUNTAIN to spawn under standard conditions.

This commit is contained in:
Abel Hoogeveen 2020-07-03 21:10:00 +02:00
parent 2f8b4bcf20
commit 5f9fa110cc

View File

@ -81,15 +81,10 @@ public class TerraSetupFactory {
public static FeatureManager createFeatureManager(DataManager data, TerraContext context) { public static FeatureManager createFeatureManager(DataManager data, TerraContext context) {
FeatureModifiers modifiers = FeatureManager.modifiers(data, context.terraSettings.miscellaneous.customBiomeFeatures); FeatureModifiers modifiers = FeatureManager.modifiers(data, context.terraSettings.miscellaneous.customBiomeFeatures);
if (context.terraSettings.miscellaneous.strataDecorator) {
// block stone blobs if strata enabled
modifiers.getPredicates().add(Matchers.stoneBlobs(), FeaturePredicate.DENY);
}
if (!context.terraSettings.miscellaneous.vanillaWaterFeatures) { if (!context.terraSettings.miscellaneous.vanillaWaterFeatures) {
// block lakes and springs if not enabled // block lakes and springs if not enabled
modifiers.getPredicates().add(FeatureMatcher.of(Feature.LAKE), FeaturePredicate.DENY); modifiers.getPredicates().add(FeatureMatcher.of(Feature.LAKE), FeaturePredicate.DENY);
modifiers.getPredicates().add(FeatureMatcher.of(Feature.SPRING_FEATURE), FeaturePredicate.DENY); //modifiers.getPredicates().add(FeatureMatcher.of(Feature.SPRING_FEATURE), FeaturePredicate.DENY);
} }
if (context.terraSettings.miscellaneous.customBiomeFeatures) { if (context.terraSettings.miscellaneous.customBiomeFeatures) {