public class ServerRespawnPacket extends MinecraftPacket
| Constructor and Description |
|---|
ServerRespawnPacket(int dimension,
Difficulty difficulty,
GameMode gamemode,
WorldType worldType) |
| Modifier and Type | Method and Description |
|---|---|
Difficulty |
getDifficulty() |
int |
getDimension() |
GameMode |
getGameMode() |
WorldType |
getWorldType() |
void |
read(com.github.steveice10.packetlib.io.NetInput in) |
void |
write(com.github.steveice10.packetlib.io.NetOutput out) |
isPriority, toStringpublic ServerRespawnPacket(int dimension,
Difficulty difficulty,
GameMode gamemode,
WorldType worldType)
public int getDimension()
public Difficulty getDifficulty()
public GameMode getGameMode()
public WorldType getWorldType()
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.