Enum Class EnumBiome
- 所有已实现的接口:
Serializable
,Comparable<EnumBiome>
,Constable
@PowerNukkitDifference(info="FROZEN_OCEAN generates naturally, old FrozenOceanBiome(LegacyFrozenOceanBiome) is LEGACY_FROZEN_OCEAN",since="1.4.0.0-PN") @PowerNukkitDifference(info="OCEAN ID changed to 42",since="1.4.0.0-PN")
public enum EnumBiome
extends Enum<EnumBiome>
- 作者:
- DaPorkchop_
A more effective way of accessing specific biomes (to prevent Biome.getBiome(Biome.OCEAN) and such) Also just looks cleaner than listing everything as static final in
Biome
-
嵌套类概要
从类继承的嵌套类/接口 java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
枚举常量概要
枚举常量说明 -
字段概要
-
方法概要
-
枚举常量详细资料
-
PLAINS
-
DESERT
-
EXTREME_HILLS
-
FOREST
-
TAIGA
-
SWAMP
-
RIVER
-
HELL
-
THE_END
-
FROZEN_OCEAN
-
FROZEN_RIVER
-
ICE_PLAINS
-
MUSHROOM_ISLAND
-
MUSHROOM_ISLAND_SHORE
-
BEACH
-
DESERT_HILLS
-
FOREST_HILLS
-
TAIGA_HILLS
-
EXTREME_HILLS_EDGE
-
JUNGLE
-
JUNGLE_HILLS
-
JUNGLE_EDGE
-
DEEP_OCEAN
-
STONE_BEACH
-
COLD_BEACH
-
BIRCH_FOREST
-
BIRCH_FOREST_HILLS
-
ROOFED_FOREST
-
COLD_TAIGA
-
COLD_TAIGA_HILLS
-
MEGA_TAIGA
-
MEGA_TAIGA_HILLS
-
EXTREME_HILLS_PLUS
-
SAVANNA
-
SAVANNA_PLATEAU
-
MESA
-
MESA_PLATEAU_F
-
MESA_PLATEAU
-
OCEAN
-
LEGACY_FROZEN_OCEAN
-
WARM_OCEAN
-
LUKEWARM_OCEAN
-
COLD_OCEAN
-
DEEP_WARM_OCEAN
-
DEEP_LUKEWARM_OCEAN
-
DEEP_COLD_OCEAN
-
DEEP_FROZEN_OCEAN
-
SUNFLOWER_PLAINS
-
DESERT_M
-
EXTREME_HILLS_M
-
FLOWER_FOREST
-
TAIGA_M
-
SWAMPLAND_M
-
ICE_PLAINS_SPIKES
-
JUNGLE_M
-
JUNGLE_EDGE_M
-
BIRCH_FOREST_M
-
BIRCH_FOREST_HILLS_M
-
ROOFED_FOREST_M
-
COLD_TAIGA_M
-
MEGA_SPRUCE_TAIGA
-
EXTREME_HILLS_PLUS_M
-
SAVANNA_M
-
SAVANNA_PLATEAU_M
-
MESA_BRYCE
-
MESA_PLATEAU_F_M
-
MESA_PLATEAU_M
-
BAMBOO_JUNGLE
-
BAMBOO_JUNGLE_HILLS
-
SOUL_SAND_VALLEY
-
CRIMSON_FOREST
-
WARPED_FOREST
-
BASALT_DELTAS
-
-
字段详细资料
-
id
public final int id -
biome
-
-
方法详细资料
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- 返回:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- 参数:
name
- 要返回的枚举常量的名称。- 返回:
- 返回带有指定名称的枚举常量
- 抛出:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- 如果参数为空值
-
getBiome
已过时。You really shouldn't use this method if you can help it, reference the biomes directly!- 参数:
id
- biome id- 返回:
- biome
-
getBiome
已过时。You really shouldn't use this method if you can help it, reference the biomes directly!- 参数:
name
- biome name- 返回:
- biome
-