public class ServerUpdateTimePacket extends MinecraftPacket
| Constructor and Description |
|---|
ServerUpdateTimePacket(long age,
long time) |
| Modifier and Type | Method and Description |
|---|---|
long |
getTime() |
long |
getWorldAge() |
void |
read(com.github.steveice10.packetlib.io.NetInput in) |
void |
write(com.github.steveice10.packetlib.io.NetOutput out) |
isPriority, toStringpublic long getWorldAge()
public long getTime()
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.