Biome Definition Effects (Section) — SkNMS
Addon: SkNMS · Category: Section · Since: 1.0.0
Syntax
effectsDescription
Create effects in a biome registration `effects` section. 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**: All color entries accept Skript colors, RGB colors as well as integers (Refer to the above wiki to see information about the integers). - `fog_color` = The color of fog in this biome (required, deprecated in Minecraft 1.21.11+, use environmental attributes instead). - `sky_color` = The color of the sky in this biome (required, deprecated in Minecraft 1.21.11+, use environmental attributes instead). - `water_fog_color` = The color of the fog when underwater in this biome (required, deprecated in Minecraft 1.21.11+, use environmental attributes instead). - `water_color` = The color of the water in this biome (required). - `foliage_color` = The color to use for tree leaves and vines. If not present, the value depends on downfall and temperature (optional). - `dry_foliage_color` = The color used for tinting blocks using dry foliage tinting. - `grass_color` = The color to use for grass blocks, short grass, tall grass, ferns, tall ferns, and sugar cane. If not present, the value depends on downfall and temperature (optional). - `grass_color_modifier` = Built in color modifier for grass blocks (Can be `none`, `dark_forest` or `swamp`). - `particle` = Add a particle to use throughout this biome. Accepts a ParticleOption.
Examples
registry registration:
register new biome:
id: "my_biomes:blue_forest"
has_precipitation: true
temperature: 2.0
downfall: 1.0
effects:
fog_color: 12638463 # Deprecated in MC 1.21.11+
sky_color: 7907327 # Deprecated in MC 1.21.11+
water_fog_color: 2302743 # Deprecated in MC 1.21.11+
foliage_color: rgb(37, 245, 201)
water_color: rgb(37, 211, 245)
grass_color: rgb(43, 171, 196)
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)
set environmental attribute "visual/sun_angle" to 45