Power Cooldown Progress
Provides the progress of the cooldown of a power from an entity.
Type ID: kaya:power/cooldown/progress
Tip
A value of $1.0$ means that the power has cooled down.
Format
| Field | Type | Default | Description |
|---|---|---|---|
power |
Power Identifier | The ID of the power to get the cooldown of. | |
entity |
Entity Provider | The entity to get the power from. |
Example
{
"type": "kaya:power/cooldown/progress",
"power": "example:fire_ball@cooldown",//(1)!
"entity": "this"
}
- This is referring to the sub-power,
cooldown, defined in a super-power with the IDexample:fire_ball, located indata/example/kaya/power/fire_ball.json
This example will provide the cooldown progress of the example:fire_ball@cooldown sub-power from the entity provided by the kaya:this_entity context parameter.
History
| Minecraft | Mod | Changelog |
| 1.21.5 | 0.1.0 | Added the type. |