public class PlayerRespawnS2CPacket extends Object implements Packet<ClientPlayPacketListener>
| Modifier and Type | Field and Description |
|---|---|
private boolean |
debugWorld |
private RegistryKey<World> |
dimension |
private RegistryKey<DimensionType> |
field_25322 |
private GameMode |
field_25714 |
private boolean |
flatWorld |
private GameMode |
gameMode |
private boolean |
keepPlayerAttributes |
private long |
sha256Seed |
| Constructor and Description |
|---|
PlayerRespawnS2CPacket() |
PlayerRespawnS2CPacket(RegistryKey<DimensionType> registryKey,
RegistryKey<World> registryKey2,
long long2,
GameMode gameMode,
GameMode gameMode2,
boolean bool,
boolean bool2,
boolean bool3) |
| Modifier and Type | Method and Description |
|---|---|
void |
apply(ClientPlayPacketListener clientPlayPacketListener) |
RegistryKey<World> |
getDimension() |
GameMode |
getGameMode() |
long |
getSha256Seed() |
boolean |
isDebugWorld() |
boolean |
isFlatWorld() |
RegistryKey<DimensionType> |
method_29445() |
GameMode |
method_30117() |
void |
read(PacketByteBuf buf) |
boolean |
shouldKeepPlayerAttributes() |
void |
write(PacketByteBuf buf) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisWritingErrorSkippableprivate RegistryKey<DimensionType> field_25322
private RegistryKey<World> dimension
private long sha256Seed
private GameMode gameMode
private GameMode field_25714
private boolean debugWorld
private boolean flatWorld
private boolean keepPlayerAttributes
public PlayerRespawnS2CPacket()
public PlayerRespawnS2CPacket(RegistryKey<DimensionType> registryKey, RegistryKey<World> registryKey2, long long2, GameMode gameMode, GameMode gameMode2, boolean bool, boolean bool2, boolean bool3)
public void apply(ClientPlayPacketListener clientPlayPacketListener)
apply in interface Packet<ClientPlayPacketListener>public void read(PacketByteBuf buf) throws IOException
read in interface Packet<ClientPlayPacketListener>IOExceptionpublic void write(PacketByteBuf buf) throws IOException
write in interface Packet<ClientPlayPacketListener>IOException@Environment(value=CLIENT) public RegistryKey<DimensionType> method_29445()
@Environment(value=CLIENT) public RegistryKey<World> getDimension()
@Environment(value=CLIENT) public long getSha256Seed()
@Environment(value=CLIENT) public GameMode getGameMode()
@Environment(value=CLIENT) public GameMode method_30117()
@Environment(value=CLIENT) public boolean isDebugWorld()
@Environment(value=CLIENT) public boolean isFlatWorld()
@Environment(value=CLIENT) public boolean shouldKeepPlayerAttributes()