public class GameJoinS2CPacket extends Object implements Packet<ClientPlayPacketListener>
| Modifier and Type | Field and Description |
|---|---|
private int |
chunkLoadDistance |
private DimensionType |
dimension |
private boolean |
field_24618 |
private boolean |
field_24619 |
private GameMode |
gameMode |
private boolean |
hardcore |
private int |
maxPlayers |
private int |
playerEntityId |
private boolean |
reducedDebugInfo |
private long |
seed |
private boolean |
showsDeathScreen |
| Constructor and Description |
|---|
GameJoinS2CPacket() |
GameJoinS2CPacket(int playerEntityId,
GameMode gameMode,
long seed,
boolean hardcore,
DimensionType dimensionType,
int maxPlayers,
int int2,
boolean bool,
boolean bool2,
boolean bool3,
boolean bool4) |
| Modifier and Type | Method and Description |
|---|---|
void |
apply(ClientPlayPacketListener clientPlayPacketListener) |
int |
getChunkLoadDistance() |
DimensionType |
getDimension() |
int |
getEntityId() |
GameMode |
getGameMode() |
long |
getSeed() |
boolean |
hasReducedDebugInfo() |
boolean |
isHardcore() |
boolean |
method_28118() |
boolean |
method_28119() |
void |
read(PacketByteBuf buf) |
boolean |
showsDeathScreen() |
void |
write(PacketByteBuf buf) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisWritingErrorSkippableprivate int playerEntityId
private long seed
private boolean hardcore
private GameMode gameMode
private DimensionType dimension
private int maxPlayers
private int chunkLoadDistance
private boolean field_24618
private boolean field_24619
private boolean reducedDebugInfo
private boolean showsDeathScreen
public GameJoinS2CPacket()
public GameJoinS2CPacket(int playerEntityId,
GameMode gameMode,
long seed,
boolean hardcore,
DimensionType dimensionType,
int maxPlayers,
int int2,
boolean bool,
boolean bool2,
boolean bool3,
boolean bool4)
public void read(PacketByteBuf buf) throws IOException
read in interface Packet<ClientPlayPacketListener>IOExceptionpublic void write(PacketByteBuf buf) throws IOException
write in interface Packet<ClientPlayPacketListener>IOExceptionpublic void apply(ClientPlayPacketListener clientPlayPacketListener)
apply in interface Packet<ClientPlayPacketListener>@Environment(value=CLIENT) public int getEntityId()
@Environment(value=CLIENT) public long getSeed()
@Environment(value=CLIENT) public boolean method_28118()
@Environment(value=CLIENT) public GameMode getGameMode()
@Environment(value=CLIENT) public DimensionType getDimension()
@Environment(value=CLIENT) public int getChunkLoadDistance()
@Environment(value=CLIENT) public boolean hasReducedDebugInfo()
@Environment(value=CLIENT) public boolean showsDeathScreen()
@Environment(value=CLIENT) public boolean method_28119()
@Environment(value=CLIENT) public boolean isHardcore()