public class ServerCooldownTracker extends CooldownTracker
CooldownTracker.Cooldown
Modifier and Type | Field and Description |
---|---|
private ServerPlayerEntity |
player |
Constructor and Description |
---|
ServerCooldownTracker(ServerPlayerEntity playerIn) |
Modifier and Type | Method and Description |
---|---|
protected void |
notifyOnRemove(Item itemIn) |
protected void |
notifyOnSet(Item itemIn,
int ticksIn) |
getCooldown, hasCooldown, removeCooldown, setCooldown, tick
private final ServerPlayerEntity player
public ServerCooldownTracker(ServerPlayerEntity playerIn)
protected void notifyOnSet(Item itemIn, int ticksIn)
notifyOnSet
in class CooldownTracker
protected void notifyOnRemove(Item itemIn)
notifyOnRemove
in class CooldownTracker