mirror of
https://github.com/PolyhedralDev/Terra.git
synced 2026-06-17 14:21:08 +00:00
remove println
This commit is contained in:
-14
@@ -43,9 +43,6 @@ public class TerraBiomeSource extends BiomeSource {
|
|||||||
.getBiomes()
|
.getBiomes()
|
||||||
.spliterator(), false)
|
.spliterator(), false)
|
||||||
.map(b -> ((ProtoPlatformBiome) b.getPlatformBiome()).getDelegate()));
|
.map(b -> ((ProtoPlatformBiome) b.getPlatformBiome()).getDelegate()));
|
||||||
biomes.streamEntries().forEach(biomeReference -> {
|
|
||||||
System.out.println(biomeReference.getKey().orElseThrow());
|
|
||||||
});
|
|
||||||
/*
|
/*
|
||||||
A little (unfortunately, required) jank to watch out for:
|
A little (unfortunately, required) jank to watch out for:
|
||||||
|
|
||||||
@@ -73,17 +70,6 @@ public class TerraBiomeSource extends BiomeSource {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public RegistryEntry<net.minecraft.world.biome.Biome> getBiome(int biomeX, int biomeY, int biomeZ, MultiNoiseSampler noiseSampler) {
|
public RegistryEntry<net.minecraft.world.biome.Biome> getBiome(int biomeX, int biomeY, int biomeZ, MultiNoiseSampler noiseSampler) {
|
||||||
/*return biomeRegistry
|
|
||||||
.getEntry(((ProtoPlatformBiome) pack
|
|
||||||
.getBiomeProvider()
|
|
||||||
.getBiome(biomeX << 2, biomeZ << 2, seed)
|
|
||||||
.getPlatformBiome())
|
|
||||||
.getDelegate()
|
|
||||||
.getKey()
|
|
||||||
.orElseThrow())
|
|
||||||
.orElseThrow();
|
|
||||||
|
|
||||||
*/
|
|
||||||
return biomeRegistry.entryOf(((ProtoPlatformBiome) pack
|
return biomeRegistry.entryOf(((ProtoPlatformBiome) pack
|
||||||
.getBiomeProvider()
|
.getBiomeProvider()
|
||||||
.getBiome(biomeX << 2, biomeZ << 2, seed)
|
.getBiome(biomeX << 2, biomeZ << 2, seed)
|
||||||
|
|||||||
Reference in New Issue
Block a user