Apply Biome Environmental Attribute (Effect) — SkNMS

Addon: SkNMS · Category: Effect · Since: 1.4.0

Syntax

set environment[al] attribute %string/environmentattribute% to %boolean/number/color%

Description

Set the [**Environmental Attributes**](https://minecraft.wiki/w/Environment_attribute) of a biome. These are to be used in the `attributes` section of biome registration.

Examples

registry registration:
	register new biome:
		id: "my_biomes:blue_forest"
		has_precipitation: true
		temperature: 0.8
		downfall: 0.2
		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)

View source