Biomes
Cubiomes.Biomes — ModuleBiomesMinecraft biome constants and functions to work with them / compare them.
The list of all biome names (Biomes.biome_name):
oceanplainsdesertmountainsforesttaigaswamprivernether_wastesthe_endfrozen_oceanfrozen_riversnowy_tundrasnowy_mountainsmushroom_fieldsmushroom_field_shorebeachdesert_hillswooded_hillstaiga_hillsmountain_edgejunglejungle_hillsjungle_edgedeep_oceanstone_shoresnowy_beachbirch_forestbirch_forest_hillsdark_forestsnowy_taigasnowy_taiga_hillsgiant_tree_taigagiant_tree_taiga_hillswooded_mountainssavannasavanna_plateaubadlandswooded_badlands_plateaubadlands_plateausmall_end_islandsend_midlandsend_highlandsend_barrenswarm_oceanlukewarm_oceancold_oceandeep_warm_oceandeep_lukewarm_oceandeep_cold_oceandeep_frozen_oceanseasonal_forestrainforestshrublandthe_voidsunflower_plainsdesert_lakesgravelly_mountainsflower_foresttaiga_mountainsswamp_hillsice_spikesmodified_junglemodified_jungle_edgetall_birch_foresttall_birch_hillsdark_forest_hillssnowy_taiga_mountainsgiant_spruce_taigagiant_spruce_taiga_hillsmodified_gravelly_mountainsshattered_savannashattered_savanna_plateaueroded_badlandsmodified_wooded_badlands_plateaumodified_badlands_plateaubamboo_junglebamboo_jungle_hillssoul_sand_valleycrimson_forestwarped_forestbasalt_deltasdripstone_caveslush_cavesmeadowgrovesnowy_slopesjagged_peaksfrozen_peaksstony_peaksold_growth_birch_forestold_growth_pine_taigaold_growth_spruce_taigasnowy_plainssparse_junglestony_shorewindswept_hillswindswept_forestwindswept_gravelly_hillswindswept_savannawooded_badlandsdeep_darkmangrove_swampcherry_grove
And a special BIOME_NONE.
Index
Cubiomes.Biomes.are_similarCubiomes.Biomes.biome_existsCubiomes.Biomes.categoryCubiomes.Biomes.is_overworldCubiomes.Biomes.mutated
API
Cubiomes.Biomes.are_similar — Methodare_similar(version::MCVersion, biome1::Biome, biome2::Biome)For a given version, check if two biomes have the same category. wooded_badlands_plateau and badlands_plateau are considered similar even though they have a different category in version <= 1.15.
Cubiomes.Biomes.biome_exists — Methodbiome_exists(biome::Biome, version::MCVersion)Return true if the given biome exists in the given version and false otherwise.
Cubiomes.Biomes.category — Methodcategory(biome::Biome, version::MCVersion)Return the category of the given biome in the given version. The categories are:
beachdesertmountainsforestsnowy_tundrajunglemesamushroom_fieldsstone_shoreoceanplainsriversavannaswamptaiganether_wastes
If the biome does not belong to any of these categories, return BIOME_NONE.
Cubiomes.Biomes.is_overworld — Methodis_overworld(biome::Biome, version::MCVersion)Return true if the given biome is an overworld biome and false otherwise. If the biome does not exist in the given version, return false.
Examples
julia> is_overworld(Biomes.ocean, mcv"1.16",)
true
julia> [biome for biome in instances(Biome) if is_overworld(biome, mcv"1.16")]
90-element Vector{Biome}:
ocean::Biome = 0x00
plains::Biome = 0x01
desert::Biome = 0x02
...
Cubiomes.Biomes.mutated — Methodmutated(biome::Biome, version::MCVersion)Return the mutated variant of the given biome in the given version. If the biome does not have a mutated variant, return BIOME_NONE.