Biome Definition Registration (Section) — SkNMS

Addon: SkNMS · Category: Section · Since: 1.0.0

Syntax

register [new] [custom] biome

Description

Register a new biome. NOTE: These custom biomes will NOT show up in natural world generation. See [**Biome Definition**](https://minecraft.wiki/w/Biome_definition) on McWiki for more details. See more examples on the [**SkNMS Wiki**](https://github.com/ShaneBeee/SkNMS/wiki/Custom-Biomes).

**Entries/Sections**: - `has_precipitation` = Determines whether or not the biome has precipitation. - `temperature` = Controls gameplay features like grass and foliage color, and a height adjusted temperature (which controls whether raining or snowing if `has precipitation` is true, and generation details of some features). - `downfall` = Controls grass and foliage color. - `effects` = A section to add special effects to a biome (see Biome Effects section). - `attributes` = A section to set different [**Environmental Attributes**](https://minecraft.wiki/w/Environment_attribute). - `features` = A section to apply different [**Placed Features**](https://minecraft.wiki/w/Placed_feature) that will apply during chunk generation. See the Biome Features section and Apply Biome Features effect for more information. - `spawners` = A section to determine which mobs spawn in this biome (See the biome spawners section and apply biome spawner effect for more information). - `tags` = A section to specify which biome tags you would like to include your biome in.

Examples

registry registration:
	register new biome:
		id: "my_biomes:blue_forest"
		has_precipitation: true
		temperature: 2.0
		downfall: 1.0
		attributes:
			set environmental attribute "visual/sky_color" to rgb(0, 47, 255)
			set environmental attribute "visual/fog_color" to rgb(0, 47, 100)
			set environmental attribute "visual/star_brightness" to 1.0
			set environmental attribute "visual/sky_light_color" to rgb(0, 47, 255)
		effects:
			water_color: rgb(159,240,215)
			foliage_color: yellow
			grass_color: blue

View source