CooldownUtil

public final class CooldownUtil

Properties

Link copied to clipboard
private final static Boolean isAttackCoolingDown

Checks if the player's attack is on cooldown.

Functions

Link copied to clipboard
Link copied to clipboard
public final static Boolean isItemCoolingDown(PlayerEntity $self, Item item)

Checks if the given item is on cooldown and cannot be used.