You are viewing an older version of the site. Click here to view
the latest version of this page. (This may be a dead link, if so, try the root page of the docs
here.)
== set_biome ==
locationArray, biome |- ! scope="row" | Throws | [[../objects/ms.lang.FormatException|ms.lang.FormatException]]
[[../objects/ms.lang.CastException|ms.lang.CastException]]
[[../objects/ms.lang.NotFoundException|ms.lang.NotFoundException]]
[[../objects/com.commandhelper.InvalidWorldException|com.commandhelper.InvalidWorldException]] |- ! scope="row" | Since | 3.3.1 |- ! scope="row" | Restricted |
Sets the biome at a block location. Minecraft only provides one quarter precision for three dimensional biomes, so this sets the nearest center of a 4x4x4 region. When not using a location array, the entire column at the x and z coordinates are set.
=== Vital Info ===
{| style="width: 40%;" cellspacing="1" cellpadding="1" border="1" class="wikitable"
|-
! scope="col" width="20%" |
! scope="col" width="80%" |
|-
! scope="row" | Name
| set_biome
|-
! scope="row" | Returns
| void
|-
! scope="row" | Usages
| x, z, [world], biome locationArray, biome |- ! scope="row" | Throws | [[../objects/ms.lang.FormatException|ms.lang.FormatException]]
[[../objects/ms.lang.CastException|ms.lang.CastException]]
[[../objects/ms.lang.NotFoundException|ms.lang.NotFoundException]]
[[../objects/com.commandhelper.InvalidWorldException|com.commandhelper.InvalidWorldException]] |- ! scope="row" | Since | 3.3.1 |- ! scope="row" | Restricted |
Yes
|-
! scope="row" | Optimizations
| [[../../Optimizer#OPTIMIZE_DYNAMIC|OPTIMIZE_DYNAMIC]]
|}Biome may be one of the following: BEACH, SAVANNA, SUNFLOWER_PLAINS, FROZEN_OCEAN, BIRCH_FOREST, THE_VOID, WINDSWEPT_HILLS, DEEP_LUKEWARM_OCEAN, END_HIGHLANDS, DEEP_FROZEN_OCEAN, OLD_GROWTH_SPRUCE_TAIGA, END_MIDLANDS, FLOWER_FOREST, CHERRY_GROVE, ERODED_BADLANDS, END_BARRENS, PALE_GARDEN, SNOWY_TAIGA, DEEP_DARK, JUNGLE, OCEAN, ICE_SPIKES, SMALL_END_ISLANDS, FROZEN_RIVER, THE_END, DARK_FOREST, COLD_OCEAN, SNOWY_PLAINS, SNOWY_SLOPES, LUSH_CAVES, WINDSWEPT_SAVANNA, DRIPSTONE_CAVES, MEADOW, STONY_SHORE, WINDSWEPT_FOREST, PLAINS, OLD_GROWTH_BIRCH_FOREST, SAVANNA_PLATEAU, SPARSE_JUNGLE, STONY_PEAKS, RIVER, JAGGED_PEAKS, MANGROVE_SWAMP, WARPED_FOREST, WOODED_BADLANDS, NETHER_WASTES, LUKEWARM_OCEAN, WINDSWEPT_GRAVELLY_HILLS, BAMBOO_JUNGLE, DEEP_COLD_OCEAN, BADLANDS, OLD_GROWTH_PINE_TAIGA, MUSHROOM_FIELDS, DEEP_OCEAN, TAIGA, DESERT, SNOWY_BEACH, WARM_OCEAN, BASALT_DELTAS, FOREST, SWAMP, SOUL_SAND_VALLEY, FROZEN_PEAKS, GROVE, or CRIMSON_FOREST
=== Usages ===
set_biome(x, z, [world], biome)
set_biome(locationArray, biome)=== Examples === Sorry, there are no examples for this function! :(
Find a bug in this page? Edit this page yourself, then submit a pull request. (Note this page is automatically generated from the documentation in the source code.)