This commit is contained in:
paulevsGitch 2020-10-26 00:34:04 +03:00
parent bb3a81ebb0
commit 4073e0a32c
11 changed files with 61 additions and 3 deletions

View file

@ -154,4 +154,8 @@ public class BiomeRegistry {
Identifier id = biomeRegistry.getId(biome);
return id == null ? END.getID() : id;
}
public static EndBiome getBiome(Identifier biomeID) {
return ID_MAP.getOrDefault(biomeID, END);
}
}