public class ServerSetCooldownPacket extends MinecraftPacket
| Constructor and Description |
|---|
ServerSetCooldownPacket(int itemId,
int cooldownTicks) |
| Modifier and Type | Method and Description |
|---|---|
int |
getCooldownTicks() |
int |
getItemId() |
void |
read(com.github.steveice10.packetlib.io.NetInput in) |
void |
write(com.github.steveice10.packetlib.io.NetOutput out) |
isPriority, toStringpublic ServerSetCooldownPacket(int itemId,
int cooldownTicks)
public int getItemId()
public int getCooldownTicks()
public void read(com.github.steveice10.packetlib.io.NetInput in)
throws IOException
IOExceptionpublic void write(com.github.steveice10.packetlib.io.NetOutput out)
throws IOException
IOExceptionCopyright © 2020. All rights reserved.