Dynamic HSV
Provides an HSV (hue, saturation, value/brightness/lightness) color (which is then converted to ARGB) with float providers.
Type ID: kaya:dynamic/hsv
Format
| Field | Type | Default | Description |
|---|---|---|---|
hue |
Float Provider | The hue component of the color. The value is clamped from 0.0 to 1.0. | |
saturation |
Float Provider | The saturation component of the color. The value is clamped from 0.0 to 1.0. | |
value |
Float Provider | The value/brightness/lightness component of the color. The value is clamped from 0.0 to 1.0. | |
alpha |
Float Provider | The alpha (transparency) component of the color. The value is clamped from 0.0 to 1.0. |
Example
{
"type": "kaya:dynamic/hsv",
"hue": {
"type": "kaya:quotient",
"dividend": {
"type": "kaya:time",
"period": 200
},
"divisor": 200
},
"saturation": 1.0,
"value": 1.0
}
This example provides an HSV color with its hue component changing every tick, essentially making it cycle through every color.
History
| Minecraft | Mod | Changelog |
| 1.21.5 | 0.1.0 | Added the type. |