ChunkGenerator - Biome Parameter Point Values (Expression) — SkBee

Addon: SkBee · Category: Expression · Since: 3.9.0

Syntax

[the] [min|max|fixed] biome [parameter] ((continentalness|continents)|depth|erosion|(humidity|vegetation)|(peaks and valleys|pv)|temp[erature]|(weirdness|ridges)) of %biomeparameterpoint%

Description

Represents the different values of a Biome Parameter Point. This is used in the `biome gen` section of a chunk generator. `fixed` = Will return the grouped ranged value of a param point, example for continentalness: - `-1.2~-1.05` = 0 (Mushroom fields) - `-1.05~-0.455` = 1 (Deep ocean) - `-0.455~-0.19` = 2 (Ocean) - `-0.19~-0.11` = 3 (Coast) - `-0.11~0.03` = 4 (Near-inland) - `0.03~0.3` = 5 (Mid-inland) - `0.3~1.0` = 6 (Far-inland) See [**World Generation/Biomes**](https://minecraft.wiki/w/World_generation#Biomes) on McWiki for more details.

Examples

register chunk generator with id "test":
	biome gen:
		if biome continentalness of biome parameter point <= -0.19:
			set chunkdata biome to ocean
		else:
			set {_temp} to biome temp of biome parameter point
			if {_temp} > 0.55:
				set chunkdata biome to badlands
			else if {_temp} > 0.2:
				set chunkdata biome to desert
			else if {_temp} > -0.15:
				set chunkdata biome to jungle
			else if {_temp} < -0.45:
				set chunkdata biome to plains
			else:
				set chunkdata biome to snowy taiga

View source