Fixed javadocs, biome API enhancements
This commit is contained in:
parent
8d6dc18ce2
commit
529565911f
2 changed files with 9 additions and 1 deletions
|
@ -308,4 +308,12 @@ public class BiomeAPI {
|
|||
public static boolean isDatapackBiome(ResourceLocation biomeID) {
|
||||
return getFromRegistry(biomeID) == null;
|
||||
}
|
||||
|
||||
public static boolean isNetherBiome(ResourceLocation biomeID) {
|
||||
return NETHER_BIOME_PICKER.getBiomes().contains(biomeID);
|
||||
}
|
||||
|
||||
public static boolean isEndBiome(ResourceLocation biomeID) {
|
||||
return END_LAND_BIOME_PICKER.getBiomes().contains(biomeID) || END_VOID_BIOME_PICKER.getBiomes().contains(biomeID);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue