getKey -> key

This commit is contained in:
dfsek
2021-12-25 01:04:19 -07:00
parent 8467a19781
commit 2b92e2e73b
22 changed files with 78 additions and 83 deletions

View File

@@ -73,7 +73,7 @@ public class TerraBiomeSource extends BiomeSource {
public net.minecraft.world.biome.Biome getBiome(int biomeX, int biomeY, int biomeZ, MultiNoiseSampler noiseSampler) {
Biome biome = pack.getBiomeProvider().getBiome(biomeX << 2, biomeZ << 2, seed);
return terraToMinecraft.computeIfAbsent(biome, b -> biomeRegistry
.get(new Identifier("terra", FabricUtil.createBiomeID(pack, pack.getKey(b.getID())))));
.get(new Identifier("terra", FabricUtil.createBiomeID(pack, pack.key(b.getID())))));
}
public BiomeProvider getProvider() {