Package org.bukkit.block
Interface Biome
- All Superinterfaces:
Comparable<Biome>,Keyed,Keyed,OldEnum<Biome>,Translatable
Holds all accepted Biomes in the server.
The Biomes listed in this interface are present in the default server
or can be enabled via a FeatureFlag.
There may be additional biomes present in the server, for example from a DataPack
which can be accessed via Registry.BIOME.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Biomestatic final Biomestatic final Biomestatic final Biomestatic final Biomestatic final Biomestatic final Biomestatic final Biomestatic final BiomeDeprecated, for removal: This API element is subject to removal in a future version.Biome is no longer an enum, custom biomes will have their own biome instance.static final Biomestatic final Biomestatic final Biomestatic final Biomestatic final Biomestatic final Biomestatic final Biomestatic final Biomestatic final Biomestatic final Biomestatic final Biomestatic final Biomestatic final Biomestatic final Biomestatic final Biomestatic final Biomestatic final Biomestatic final Biomestatic final Biomestatic final Biomestatic final Biomestatic final Biomestatic final Biomestatic final Biomestatic final Biomestatic final Biomestatic final Biomestatic final Biomestatic final Biomestatic final Biomestatic final Biomestatic final Biomestatic final Biomestatic final Biomestatic final Biomestatic final Biomestatic final Biomestatic final Biomestatic final Biomestatic final Biomestatic final Biomestatic final Biomestatic final Biomestatic final Biomestatic final Biomestatic final Biomestatic final Biomestatic final Biomestatic final Biomestatic final Biomestatic final Biomestatic final Biomestatic final Biomestatic final Biomestatic final Biomestatic final Biomestatic final Biome -
Method Summary
Modifier and TypeMethodDescriptionGets the translation key.Deprecated, for removal: This API element is subject to removal in a future version.only for backwards compatibility, useRegistry.get(NamespacedKey)instead.values()Deprecated, for removal: This API element is subject to removal in a future version.useIterable.iterator().
-
Field Details
-
OCEAN
-
PLAINS
-
DESERT
-
WINDSWEPT_HILLS
-
FOREST
-
TAIGA
-
SWAMP
-
MANGROVE_SWAMP
-
RIVER
-
NETHER_WASTES
-
THE_END
-
FROZEN_OCEAN
-
FROZEN_RIVER
-
SNOWY_PLAINS
-
MUSHROOM_FIELDS
-
BEACH
-
JUNGLE
-
SPARSE_JUNGLE
-
DEEP_OCEAN
-
STONY_SHORE
-
SNOWY_BEACH
-
BIRCH_FOREST
-
DARK_FOREST
-
PALE_GARDEN
-
SNOWY_TAIGA
-
OLD_GROWTH_PINE_TAIGA
-
WINDSWEPT_FOREST
-
SAVANNA
-
SAVANNA_PLATEAU
-
BADLANDS
-
WOODED_BADLANDS
-
SMALL_END_ISLANDS
-
END_MIDLANDS
-
END_HIGHLANDS
-
END_BARRENS
-
WARM_OCEAN
-
LUKEWARM_OCEAN
-
COLD_OCEAN
-
DEEP_LUKEWARM_OCEAN
-
DEEP_COLD_OCEAN
-
DEEP_FROZEN_OCEAN
-
THE_VOID
-
SUNFLOWER_PLAINS
-
WINDSWEPT_GRAVELLY_HILLS
-
FLOWER_FOREST
-
ICE_SPIKES
-
OLD_GROWTH_BIRCH_FOREST
-
OLD_GROWTH_SPRUCE_TAIGA
-
WINDSWEPT_SAVANNA
-
ERODED_BADLANDS
-
BAMBOO_JUNGLE
-
SOUL_SAND_VALLEY
-
CRIMSON_FOREST
-
WARPED_FOREST
-
BASALT_DELTAS
-
DRIPSTONE_CAVES
-
LUSH_CAVES
-
DEEP_DARK
-
MEADOW
-
GROVE
-
SNOWY_SLOPES
-
FROZEN_PEAKS
-
JAGGED_PEAKS
-
STONY_PEAKS
-
CHERRY_GROVE
-
CUSTOM
@Deprecated(since="1.21.3", forRemoval=true) @ScheduledForRemoval(inVersion="1.22") static final Biome CUSTOMDeprecated, for removal: This API element is subject to removal in a future version.Biome is no longer an enum, custom biomes will have their own biome instance.Represents a custom Biome
-
-
Method Details
-
valueOf
@NotNull @Deprecated(since="1.21.3", forRemoval=true) @ScheduledForRemoval(inVersion="1.22") static @NotNull Biome valueOf(@NotNull @NotNull String name) Deprecated, for removal: This API element is subject to removal in a future version.only for backwards compatibility, useRegistry.get(NamespacedKey)instead.- Parameters:
name- of the biome.- Returns:
- the biome with the given name.
-
values
@NotNull @Deprecated(since="1.21.3", forRemoval=true) @ScheduledForRemoval(inVersion="1.22") static @NotNull Biome[] values()Deprecated, for removal: This API element is subject to removal in a future version.useIterable.iterator().- Returns:
- an array of all known biomes.
-
translationKey
Description copied from interface:net.kyori.adventure.translation.TranslatableGets the translation key.- Specified by:
translationKeyin interfaceTranslatable- Returns:
- the translation key
-