Class PlayerRespawnS2CPacket
java.lang.Object
net.minecraft.network.packet.s2c.play.PlayerRespawnS2CPacket
- All Implemented Interfaces:
Packet<ClientPlayPacketListener>
public class PlayerRespawnS2CPacket extends Object implements Packet<ClientPlayPacketListener>
- Mappings:
Namespace Name official rh
intermediary net/minecraft/class_2724
named net/minecraft/network/packet/s2c/play/PlayerRespawnS2CPacket
-
Field Summary
Fields Modifier and Type Field Description private boolean
debugWorld
private RegistryKey<World>
dimension
private DimensionType
field_25322
private boolean
flatWorld
private GameMode
gameMode
private boolean
keepPlayerAttributes
private GameMode
previousGameMode
private long
sha256Seed
-
Constructor Summary
Constructors Constructor Description PlayerRespawnS2CPacket()
PlayerRespawnS2CPacket(DimensionType dimensionType, RegistryKey<World> registryKey, long long2, GameMode gameMode, GameMode previousGameMode, boolean bool, boolean bool2, boolean bool3)
-
Method Summary
Modifier and Type Method Description void
apply(ClientPlayPacketListener clientPlayPacketListener)
RegistryKey<World>
getDimension()
GameMode
getGameMode()
GameMode
getPreviousGameMode()
long
getSha256Seed()
boolean
isDebugWorld()
boolean
isFlatWorld()
DimensionType
method_29445()
void
read(PacketByteBuf buf)
boolean
shouldKeepPlayerAttributes()
void
write(PacketByteBuf buf)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.network.Packet
isWritingErrorSkippable
-
Field Details
-
field_25322
- Mappings:
Namespace Name Mixin selector official a
Lrh;a:Lckt;
intermediary field_25322
Lnet/minecraft/class_2724;field_25322:Lnet/minecraft/class_2874;
named field_25322
Lnet/minecraft/network/packet/s2c/play/PlayerRespawnS2CPacket;field_25322:Lnet/minecraft/world/dimension/DimensionType;
-
dimension
- Mappings:
Namespace Name Mixin selector official b
Lrh;b:Lwa;
intermediary field_12431
Lnet/minecraft/class_2724;field_12431:Lnet/minecraft/class_5321;
named dimension
Lnet/minecraft/network/packet/s2c/play/PlayerRespawnS2CPacket;dimension:Lnet/minecraft/util/registry/RegistryKey;
-
sha256Seed
private long sha256Seed- Mappings:
Namespace Name Mixin selector official c
Lrh;c:J
intermediary field_20667
Lnet/minecraft/class_2724;field_20667:J
named sha256Seed
Lnet/minecraft/network/packet/s2c/play/PlayerRespawnS2CPacket;sha256Seed:J
-
gameMode
- Mappings:
Namespace Name Mixin selector official d
Lrh;d:Lbts;
intermediary field_12434
Lnet/minecraft/class_2724;field_12434:Lnet/minecraft/class_1934;
named gameMode
Lnet/minecraft/network/packet/s2c/play/PlayerRespawnS2CPacket;gameMode:Lnet/minecraft/world/GameMode;
-
previousGameMode
- Mappings:
Namespace Name Mixin selector official e
Lrh;e:Lbts;
intermediary field_25714
Lnet/minecraft/class_2724;field_25714:Lnet/minecraft/class_1934;
named previousGameMode
Lnet/minecraft/network/packet/s2c/play/PlayerRespawnS2CPacket;previousGameMode:Lnet/minecraft/world/GameMode;
-
debugWorld
private boolean debugWorld- Mappings:
Namespace Name Mixin selector official f
Lrh;f:Z
intermediary field_24620
Lnet/minecraft/class_2724;field_24620:Z
named debugWorld
Lnet/minecraft/network/packet/s2c/play/PlayerRespawnS2CPacket;debugWorld:Z
-
flatWorld
private boolean flatWorld- Mappings:
Namespace Name Mixin selector official g
Lrh;g:Z
intermediary field_24621
Lnet/minecraft/class_2724;field_24621:Z
named flatWorld
Lnet/minecraft/network/packet/s2c/play/PlayerRespawnS2CPacket;flatWorld:Z
-
keepPlayerAttributes
private boolean keepPlayerAttributes- Mappings:
Namespace Name Mixin selector official h
Lrh;h:Z
intermediary field_24451
Lnet/minecraft/class_2724;field_24451:Z
named keepPlayerAttributes
Lnet/minecraft/network/packet/s2c/play/PlayerRespawnS2CPacket;keepPlayerAttributes:Z
-
-
Constructor Details
-
PlayerRespawnS2CPacket
public PlayerRespawnS2CPacket() -
PlayerRespawnS2CPacket
public PlayerRespawnS2CPacket(DimensionType dimensionType, RegistryKey<World> registryKey, long long2, GameMode gameMode, @Nullable GameMode previousGameMode, boolean bool, boolean bool2, boolean bool3)- Mappings:
Namespace Name Mixin selector official <init>
Lrh;<init>(Lckt;Lwa;JLbts;Lbts;ZZZ)V
intermediary <init>
Lnet/minecraft/class_2724;<init>(Lnet/minecraft/class_2874;Lnet/minecraft/class_5321;JLnet/minecraft/class_1934;Lnet/minecraft/class_1934;ZZZ)V
named <init>
Lnet/minecraft/network/packet/s2c/play/PlayerRespawnS2CPacket;<init>(Lnet/minecraft/world/dimension/DimensionType;Lnet/minecraft/util/registry/RegistryKey;JLnet/minecraft/world/GameMode;Lnet/minecraft/world/GameMode;ZZZ)V
-
-
Method Details
-
apply
- Specified by:
apply
in interfacePacket<ClientPlayPacketListener>
- Mappings:
Namespace Name Mixin selector official a
Lrh;a(Lpd;)V
intermediary method_11782
Lnet/minecraft/class_2724;method_11782(Lnet/minecraft/class_2602;)V
named apply
Lnet/minecraft/network/packet/s2c/play/PlayerRespawnS2CPacket;apply(Lnet/minecraft/network/listener/ClientPlayPacketListener;)V
-
read
- Specified by:
read
in interfacePacket<ClientPlayPacketListener>
- Throws:
IOException
- Mappings:
Namespace Name Mixin selector official a
Lpa;a(Lnw;)V
intermediary method_11053
Lnet/minecraft/class_2596;method_11053(Lnet/minecraft/class_2540;)V
named read
Lnet/minecraft/network/Packet;read(Lnet/minecraft/network/PacketByteBuf;)V
-
write
- Specified by:
write
in interfacePacket<ClientPlayPacketListener>
- Throws:
IOException
- Mappings:
Namespace Name Mixin selector official b
Lpa;b(Lnw;)V
intermediary method_11052
Lnet/minecraft/class_2596;method_11052(Lnet/minecraft/class_2540;)V
named write
Lnet/minecraft/network/Packet;write(Lnet/minecraft/network/PacketByteBuf;)V
-
method_29445
- Mappings:
Namespace Name Mixin selector official b
Lrh;b()Lckt;
intermediary method_29445
Lnet/minecraft/class_2724;method_29445()Lnet/minecraft/class_2874;
named method_29445
Lnet/minecraft/network/packet/s2c/play/PlayerRespawnS2CPacket;method_29445()Lnet/minecraft/world/dimension/DimensionType;
-
getDimension
- Mappings:
Namespace Name Mixin selector official c
Lrh;c()Lwa;
intermediary method_11779
Lnet/minecraft/class_2724;method_11779()Lnet/minecraft/class_5321;
named getDimension
Lnet/minecraft/network/packet/s2c/play/PlayerRespawnS2CPacket;getDimension()Lnet/minecraft/util/registry/RegistryKey;
-
getSha256Seed
- Mappings:
Namespace Name Mixin selector official d
Lrh;d()J
intermediary method_22425
Lnet/minecraft/class_2724;method_22425()J
named getSha256Seed
Lnet/minecraft/network/packet/s2c/play/PlayerRespawnS2CPacket;getSha256Seed()J
-
getGameMode
- Mappings:
Namespace Name Mixin selector official e
Lrh;e()Lbts;
intermediary method_11780
Lnet/minecraft/class_2724;method_11780()Lnet/minecraft/class_1934;
named getGameMode
Lnet/minecraft/network/packet/s2c/play/PlayerRespawnS2CPacket;getGameMode()Lnet/minecraft/world/GameMode;
-
getPreviousGameMode
- Mappings:
Namespace Name Mixin selector official f
Lrh;f()Lbts;
intermediary method_30117
Lnet/minecraft/class_2724;method_30117()Lnet/minecraft/class_1934;
named getPreviousGameMode
Lnet/minecraft/network/packet/s2c/play/PlayerRespawnS2CPacket;getPreviousGameMode()Lnet/minecraft/world/GameMode;
-
isDebugWorld
- Mappings:
Namespace Name Mixin selector official g
Lrh;g()Z
intermediary method_28120
Lnet/minecraft/class_2724;method_28120()Z
named isDebugWorld
Lnet/minecraft/network/packet/s2c/play/PlayerRespawnS2CPacket;isDebugWorld()Z
-
isFlatWorld
- Mappings:
Namespace Name Mixin selector official h
Lrh;h()Z
intermediary method_28121
Lnet/minecraft/class_2724;method_28121()Z
named isFlatWorld
Lnet/minecraft/network/packet/s2c/play/PlayerRespawnS2CPacket;isFlatWorld()Z
-
shouldKeepPlayerAttributes
- Mappings:
Namespace Name Mixin selector official i
Lrh;i()Z
intermediary method_27904
Lnet/minecraft/class_2724;method_27904()Z
named shouldKeepPlayerAttributes
Lnet/minecraft/network/packet/s2c/play/PlayerRespawnS2CPacket;shouldKeepPlayerAttributes()Z
-