public final class BiomeHelper
extends Object
- Author:
- ybw0014
-
Constructor Summary
Constructors
-
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
BiomeHelper
public BiomeHelper()
-
Method Details
-
getName
@Nonnull
public static String getName(@Nonnull
Biome biome)
- Parameters:
biome - Biome 生物群系
- Returns:
- 生物群系的中文名, 如果获取失败则返回键名
-
getKey
@Nonnull
public static String getKey(@Nonnull
Biome biome)
- Parameters:
biome - Biome 生物群系
- Returns:
- 生物群系的键名