Name | attack_cooldown_percent |
Object | EntityTag |
Input | ElementTag(Decimal) |
Related Tags | <EntityTag.attack_cooldown_duration> Returns the amount of time that passed since the start of the attack cooldown.
<EntityTag.attack_cooldown_max_duration> Returns the maximum amount of time that can pass before the player's main hand has returned (...)
<EntityTag.attack_cooldown_percent> Returns the progress of the attack cooldown. 0 means that the attack cooldown has just (...)
|
Description | Sets the progress of the player's attack cooldown. Takes a decimal from 0 to 1.
0 means the cooldown has just begun, while 1 means the cooldown has been completed. NOTE: The clientside attack cooldown indicator will not reflect this change! |
Generated Example |
|
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/EntityTag.java#L4381 |