public class SPacketJoinGame extends java.lang.Object implements Packet<INetHandlerPlayClient>
| Constructor and Description |
|---|
SPacketJoinGame() |
SPacketJoinGame(int playerIdIn,
WorldSettings.GameType gameTypeIn,
boolean hardcoreModeIn,
int dimensionIn,
EnumDifficulty difficultyIn,
int maxPlayersIn,
WorldType worldTypeIn,
boolean reducedDebugInfoIn) |
| Modifier and Type | Method and Description |
|---|---|
EnumDifficulty |
getDifficulty() |
int |
getDimension() |
WorldSettings.GameType |
getGameType() |
int |
getMaxPlayers() |
int |
getPlayerId() |
WorldType |
getWorldType() |
boolean |
isHardcoreMode() |
boolean |
isReducedDebugInfo() |
void |
processPacket(INetHandlerPlayClient handler) |
void |
readPacketData(PacketBuffer buf) |
void |
writePacketData(PacketBuffer buf) |
public SPacketJoinGame()
public SPacketJoinGame(int playerIdIn,
WorldSettings.GameType gameTypeIn,
boolean hardcoreModeIn,
int dimensionIn,
EnumDifficulty difficultyIn,
int maxPlayersIn,
WorldType worldTypeIn,
boolean reducedDebugInfoIn)
public void readPacketData(PacketBuffer buf) throws java.io.IOException
readPacketData in interface Packet<INetHandlerPlayClient>java.io.IOExceptionpublic void writePacketData(PacketBuffer buf) throws java.io.IOException
writePacketData in interface Packet<INetHandlerPlayClient>java.io.IOExceptionpublic void processPacket(INetHandlerPlayClient handler)
processPacket in interface Packet<INetHandlerPlayClient>public int getPlayerId()
public boolean isHardcoreMode()
public WorldSettings.GameType getGameType()
public int getDimension()
public EnumDifficulty getDifficulty()
public int getMaxPlayers()
public WorldType getWorldType()
public boolean isReducedDebugInfo()