public class SJoinGamePacket extends java.lang.Object implements IPacket<IClientPlayNetHandler>
Modifier and Type | Field and Description |
---|---|
private DimensionType |
dimension |
private int |
dimensionInt |
private boolean |
enableRespawnScreen |
private GameType |
gameType |
private boolean |
hardcoreMode |
private long |
hashedSeed |
private int |
maxPlayers |
private int |
playerId |
private boolean |
reducedDebugInfo |
private int |
viewDistance |
private WorldType |
worldType |
Constructor and Description |
---|
SJoinGamePacket() |
SJoinGamePacket(int p_i226090_1_,
GameType p_i226090_2_,
long p_i226090_3_,
boolean p_i226090_5_,
DimensionType p_i226090_6_,
int p_i226090_7_,
WorldType p_i226090_8_,
int p_i226090_9_,
boolean p_i226090_10_,
boolean p_i226090_11_) |
Modifier and Type | Method and Description |
---|---|
boolean |
func_229743_k_() |
DimensionType |
getDimension() |
GameType |
getGameType() |
long |
getHashedSeed() |
int |
getPlayerId() |
int |
getViewDistance() |
WorldType |
getWorldType() |
boolean |
isHardcoreMode() |
boolean |
isReducedDebugInfo() |
void |
processPacket(IClientPlayNetHandler handler) |
void |
readPacketData(PacketBuffer buf) |
void |
writePacketData(PacketBuffer buf) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
shouldSkipErrors
private int playerId
private long hashedSeed
private boolean hardcoreMode
private GameType gameType
private DimensionType dimension
private int maxPlayers
private WorldType worldType
private int viewDistance
private boolean reducedDebugInfo
private boolean enableRespawnScreen
private int dimensionInt
public SJoinGamePacket()
public SJoinGamePacket(int p_i226090_1_, GameType p_i226090_2_, long p_i226090_3_, boolean p_i226090_5_, DimensionType p_i226090_6_, int p_i226090_7_, WorldType p_i226090_8_, int p_i226090_9_, boolean p_i226090_10_, boolean p_i226090_11_)
public void readPacketData(PacketBuffer buf) throws java.io.IOException
readPacketData
in interface IPacket<IClientPlayNetHandler>
java.io.IOException
public void writePacketData(PacketBuffer buf) throws java.io.IOException
writePacketData
in interface IPacket<IClientPlayNetHandler>
java.io.IOException
public void processPacket(IClientPlayNetHandler handler)
processPacket
in interface IPacket<IClientPlayNetHandler>
public int getPlayerId()
public long getHashedSeed()
public boolean isHardcoreMode()
public GameType getGameType()
public DimensionType getDimension()
public WorldType getWorldType()
public int getViewDistance()
public boolean isReducedDebugInfo()
public boolean func_229743_k_()