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