Updated Flooded Deltas
This commit is contained in:
parent
066153bbab
commit
6b2c997baf
2 changed files with 8 additions and 6 deletions
|
@ -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) {
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue