Skip to content

Biome Grass

Provides the grass color of the biome from the specified position.

Type ID: kaya:biome/grass

Format

Field Type Default Description
position Vec3 Provider The position to get the grass color of the biome from.
alpha Float Provider The alpha (transparency) component to be mixed with the grass color. The value is clamped from 0.0 to 1.0.

Example

{
    "type": "kaya:biome/grass",
    "position": {
        "type": "kaya:entity/position",
        "entity": "this",
        "anchor": "eyes"
    },
    "alpha": 1.0
}

This example will provide the grass color of the biome at the entity's eyes position.

History

Minecraft Mod Changelog
1.21.5 0.1.0 Added the type.