isItemCoolingDown

public final static Boolean isItemCoolingDown(PlayerEntity $self, Item item)(source)

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

Parameters

item

The item to check for cooldown