You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
//biomes can have multiple noise points so we hash all of them
34
+
longhash = 0;
35
+
for (Biome.MixedNoisePointpoint : points) {
36
+
hash += point.hashCode();
37
+
}
38
+
39
+
// ensure the biomes have distinct hashes
40
+
longfinalHash = hash;
41
+
HASHES.forEach((cachedBiome, biomeHash) -> {
42
+
if (finalHash == biomeHash) {
43
+
System.out.println("WARNING: " + biome.getTranslationKey() + " and " + cachedBiome.getTranslationKey() + " have the same mixed noise points! They won't generate properly!!!!");
42
44
}
45
+
});
46
+
47
+
HASHES.put(biome, hash);
43
48
44
-
// ensure the biomes have distinct hashes
45
-
longfinalHash = hash;
46
-
Hashes.forEach((cachedBiome, biomeHash) -> {
47
-
if (finalHash == biomeHash) {
48
-
System.out.println("WARNING: " + biome.getTranslationKey() + " and " + cachedBiome.getTranslationKey() + " have the same mixed noise points! They won't generate properly!!!!");
0 commit comments