public class ServerItemCooldownManager extends ItemCooldownManager
Modifier and Type | Field and Description |
---|---|
private ServerPlayerEntity |
player |
Constructor and Description |
---|
ServerItemCooldownManager(ServerPlayerEntity player) |
Modifier and Type | Method and Description |
---|---|
protected void |
onCooldownUpdate(Item item) |
protected void |
onCooldownUpdate(Item item,
int duration) |
getCooldownProgress, isCoolingDown, remove, set, update
private final ServerPlayerEntity player
public ServerItemCooldownManager(ServerPlayerEntity player)
protected void onCooldownUpdate(Item item, int duration)
onCooldownUpdate
in class ItemCooldownManager
protected void onCooldownUpdate(Item item)
onCooldownUpdate
in class ItemCooldownManager