Skip to content

Power Cooldown Remaining Ticks

Provides the remaining ticks of a power that has a cooldown.

Type ID: kaya:power/cooldown/remaining_ticks

Format

Field Type Default Description
power Power Identifier The ID of the power.
entity Entity Provider The entity to get the power from.

Example

{
    "type": "kaya:power/cooldown/remaining_ticks",
    "power": "example:lightning_strike"/*(1)!*/,
    "entity": "this"
}
  1. The location of the file is data/example/kaya/lightning_strike.json

This example will provide the remaining ticks of the cooldown for the example:lightning_strike power.

History

Minecraft Mod Changelog
1.21.5 0.1.0 Added the type.