add toggle for lake & spring features
This commit is contained in:
parent
a79456aef6
commit
6f829bcc57
@ -325,10 +325,14 @@ public class TerraChunkGenerator extends ObfHelperChunkGenerator<GenerationSetti
|
||||
modifiers.getPredicates().add(Matchers.stoneBlobs(), FeaturePredicate.DENY);
|
||||
}
|
||||
|
||||
// block ugly features
|
||||
modifiers.getPredicates().add(Matchers.sedimentDisks(), FeaturePredicate.DENY);
|
||||
if (!context.terraSettings.features.vanillaWaterFeatures) {
|
||||
// block lakes and springs if not enabled
|
||||
modifiers.getPredicates().add(FeatureMatcher.of(Feature.LAKE), FeaturePredicate.DENY);
|
||||
modifiers.getPredicates().add(FeatureMatcher.of(Feature.SPRING_FEATURE), FeaturePredicate.DENY);
|
||||
}
|
||||
|
||||
// block ugly features
|
||||
modifiers.getPredicates().add(Matchers.sedimentDisks(), FeaturePredicate.DENY);
|
||||
|
||||
// limit to deep oceans
|
||||
modifiers.getPredicates().add(FeatureMatcher.of(Feature.SHIPWRECK), MinDepth.DEPTH55);
|
||||
|
@ -45,4 +45,7 @@ public class FeatureSettings {
|
||||
|
||||
@Comment("Use custom biome features in place of vanilla ones (such as trees)")
|
||||
public boolean customBiomeFeatures = true;
|
||||
|
||||
@Comment("Controls whether vanilla lakes & springs should generate")
|
||||
public boolean vanillaWaterFeatures = false;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user