Updated Flooded Deltas

This commit is contained in:
Frank 2022-06-24 22:23:26 +02:00
parent 066153bbab
commit 6b2c997baf
2 changed files with 8 additions and 6 deletions

View file

@ -136,13 +136,11 @@ public class BCLibNetherBiomeSource extends BCLBiomeSource implements BiomeSourc
private static boolean isValidNetherBiome(Holder<Biome> biome, ResourceLocation location) {
// return biome.unwrapKey().get().location().toString().equals("betternether:crimson_glowing_woods")
// || biome.unwrapKey().get().location().toString().equals("minecraft:crimson_forest")
// || biome.unwrapKey().get().location().toString().equals("betternether:crimson_pinewood");
return biome.unwrapKey().get().location().toString().contains("deltas");
return NetherBiomes.canGenerateInNether(biome.unwrapKey().get()) ||
biome.is(BiomeTags.IS_NETHER) ||
BiomeAPI.wasRegisteredAsNetherBiome(location);
// return NetherBiomes.canGenerateInNether(biome.unwrapKey().get()) ||
// biome.is(BiomeTags.IS_NETHER) ||
// BiomeAPI.wasRegisteredAsNetherBiome(location);
}
private static boolean isValidNonVanillaNetherBiome(Holder<Biome> biome, ResourceLocation location) {

View file

@ -27,6 +27,10 @@ public class SequenceFeatureConfig implements FeatureConfiguration {
return new SequenceFeatureConfig(features.stream().map(f -> f.getPlacedFeature()).toList());
}
public static SequenceFeatureConfig createSequence(List<org.betterx.bclib.api.v3.levelgen.features.BCLFeature<?, ?>> features) {
return new SequenceFeatureConfig(features.stream().map(f -> f.getPlacedFeature()).toList());
}
public SequenceFeatureConfig(List<Holder<PlacedFeature>> features) {
this.features = features;
}