Class PlayerRespawnS2CPacket
java.lang.Object
net.minecraft.network.packet.s2c.play.PlayerRespawnS2CPacket
- All Implemented Interfaces:
Packet<ClientPlayPacketListener>
- Mappings:
Namespace Name official xs
intermediary net/minecraft/class_2724
named net/minecraft/network/packet/s2c/play/PlayerRespawnS2CPacket
-
Field Summary
Modifier and TypeFieldDescriptionprivate final boolean
private final RegistryKey<World>
private final RegistryKey<DimensionType>
private final byte
private final boolean
private final GameMode
static final byte
static final byte
static final byte
private final long
-
Constructor Summary
ConstructorDescriptionPlayerRespawnS2CPacket
(RegistryKey<DimensionType> dimensionType, RegistryKey<World> dimension, long sha256Seed, GameMode gameMode, @Nullable GameMode previousGameMode, boolean debugWorld, boolean flatWorld, byte flag, Optional<GlobalPos> lastDeathPos) -
Method Summary
Modifier and TypeMethodDescriptionvoid
apply
(ClientPlayPacketListener clientPlayPacketListener) long
boolean
hasFlag
(byte flag) boolean
boolean
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.Packet
isWritingErrorSkippable
-
Field Details
-
KEEP_ATTRIBUTES
public static final byte KEEP_ATTRIBUTES- See Also:
- Mappings:
Namespace Name Mixin selector official a
Lxs;a:B
intermediary field_41730
Lnet/minecraft/class_2724;field_41730:B
named KEEP_ATTRIBUTES
Lnet/minecraft/network/packet/s2c/play/PlayerRespawnS2CPacket;KEEP_ATTRIBUTES:B
-
KEEP_TRACKED_DATA
public static final byte KEEP_TRACKED_DATA- See Also:
- Mappings:
Namespace Name Mixin selector official b
Lxs;b:B
intermediary field_41731
Lnet/minecraft/class_2724;field_41731:B
named KEEP_TRACKED_DATA
Lnet/minecraft/network/packet/s2c/play/PlayerRespawnS2CPacket;KEEP_TRACKED_DATA:B
-
KEEP_ALL
public static final byte KEEP_ALL- See Also:
- Mappings:
Namespace Name Mixin selector official c
Lxs;c:B
intermediary field_41732
Lnet/minecraft/class_2724;field_41732:B
named KEEP_ALL
Lnet/minecraft/network/packet/s2c/play/PlayerRespawnS2CPacket;KEEP_ALL:B
-
dimensionType
- Mappings:
Namespace Name Mixin selector official d
Lxs;d:Ladc;
intermediary field_25322
Lnet/minecraft/class_2724;field_25322:Lnet/minecraft/class_5321;
named dimensionType
Lnet/minecraft/network/packet/s2c/play/PlayerRespawnS2CPacket;dimensionType:Lnet/minecraft/registry/RegistryKey;
-
dimension
- Mappings:
Namespace Name Mixin selector official e
Lxs;e:Ladc;
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/registry/RegistryKey;
-
sha256Seed
private final long sha256Seed- Mappings:
Namespace Name Mixin selector official f
Lxs;f: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 g
Lxs;g:Lcmf;
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 h
Lxs;h:Lcmf;
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 final boolean debugWorld- Mappings:
Namespace Name Mixin selector official i
Lxs;i:Z
intermediary field_24620
Lnet/minecraft/class_2724;field_24620:Z
named debugWorld
Lnet/minecraft/network/packet/s2c/play/PlayerRespawnS2CPacket;debugWorld:Z
-
flatWorld
private final boolean flatWorld- Mappings:
Namespace Name Mixin selector official j
Lxs;j:Z
intermediary field_24621
Lnet/minecraft/class_2724;field_24621:Z
named flatWorld
Lnet/minecraft/network/packet/s2c/play/PlayerRespawnS2CPacket;flatWorld:Z
-
flag
private final byte flag- Mappings:
Namespace Name Mixin selector official k
Lxs;k:B
intermediary field_41733
Lnet/minecraft/class_2724;field_41733:B
named flag
Lnet/minecraft/network/packet/s2c/play/PlayerRespawnS2CPacket;flag:B
-
lastDeathPos
- Mappings:
Namespace Name Mixin selector official l
Lxs;l:Ljava/util/Optional;
intermediary field_39447
Lnet/minecraft/class_2724;field_39447:Ljava/util/Optional;
named lastDeathPos
Lnet/minecraft/network/packet/s2c/play/PlayerRespawnS2CPacket;lastDeathPos:Ljava/util/Optional;
-
-
Constructor Details
-
PlayerRespawnS2CPacket
public PlayerRespawnS2CPacket(RegistryKey<DimensionType> dimensionType, RegistryKey<World> dimension, long sha256Seed, GameMode gameMode, @Nullable @Nullable GameMode previousGameMode, boolean debugWorld, boolean flatWorld, byte flag, Optional<GlobalPos> lastDeathPos) - Mappings:
Namespace Name Mixin selector official <init>
Lxs;<init>(Ladc;Ladc;JLcmf;Lcmf;ZZBLjava/util/Optional;)V
intermediary <init>
Lnet/minecraft/class_2724;<init>(Lnet/minecraft/class_5321;Lnet/minecraft/class_5321;JLnet/minecraft/class_1934;Lnet/minecraft/class_1934;ZZBLjava/util/Optional;)V
named <init>
Lnet/minecraft/network/packet/s2c/play/PlayerRespawnS2CPacket;<init>(Lnet/minecraft/registry/RegistryKey;Lnet/minecraft/registry/RegistryKey;JLnet/minecraft/world/GameMode;Lnet/minecraft/world/GameMode;ZZBLjava/util/Optional;)V
-
PlayerRespawnS2CPacket
- Mappings:
Namespace Name Mixin selector official <init>
Lxs;<init>(Lss;)V
intermediary <init>
Lnet/minecraft/class_2724;<init>(Lnet/minecraft/class_2540;)V
named <init>
Lnet/minecraft/network/packet/s2c/play/PlayerRespawnS2CPacket;<init>(Lnet/minecraft/network/PacketByteBuf;)V
-
-
Method Details
-
write
- Specified by:
write
in interfacePacket<ClientPlayPacketListener>
- Mappings:
Namespace Name Mixin selector official a
Lvb;a(Lss;)V
intermediary method_11052
Lnet/minecraft/class_2596;method_11052(Lnet/minecraft/class_2540;)V
named write
Lnet/minecraft/network/packet/Packet;write(Lnet/minecraft/network/PacketByteBuf;)V
-
apply
- Specified by:
apply
in interfacePacket<ClientPlayPacketListener>
- Mappings:
Namespace Name Mixin selector official a
Lxs;a(Lve;)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
-
getDimensionType
- Mappings:
Namespace Name Mixin selector official a
Lxs;a()Ladc;
intermediary method_29445
Lnet/minecraft/class_2724;method_29445()Lnet/minecraft/class_5321;
named getDimensionType
Lnet/minecraft/network/packet/s2c/play/PlayerRespawnS2CPacket;getDimensionType()Lnet/minecraft/registry/RegistryKey;
-
getDimension
- Mappings:
Namespace Name Mixin selector official c
Lxs;c()Ladc;
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/registry/RegistryKey;
-
getSha256Seed
public long getSha256Seed()- Mappings:
Namespace Name Mixin selector official d
Lxs;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
Lxs;e()Lcmf;
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
Lxs;f()Lcmf;
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
public boolean isDebugWorld()- Mappings:
Namespace Name Mixin selector official g
Lxs;g()Z
intermediary method_28120
Lnet/minecraft/class_2724;method_28120()Z
named isDebugWorld
Lnet/minecraft/network/packet/s2c/play/PlayerRespawnS2CPacket;isDebugWorld()Z
-
isFlatWorld
public boolean isFlatWorld()- Mappings:
Namespace Name Mixin selector official h
Lxs;h()Z
intermediary method_28121
Lnet/minecraft/class_2724;method_28121()Z
named isFlatWorld
Lnet/minecraft/network/packet/s2c/play/PlayerRespawnS2CPacket;isFlatWorld()Z
-
hasFlag
public boolean hasFlag(byte flag) - Mappings:
Namespace Name Mixin selector official a
Lxs;a(B)Z
intermediary method_48016
Lnet/minecraft/class_2724;method_48016(B)Z
named hasFlag
Lnet/minecraft/network/packet/s2c/play/PlayerRespawnS2CPacket;hasFlag(B)Z
-
getLastDeathPos
- Mappings:
Namespace Name Mixin selector official i
Lxs;i()Ljava/util/Optional;
intermediary method_44326
Lnet/minecraft/class_2724;method_44326()Ljava/util/Optional;
named getLastDeathPos
Lnet/minecraft/network/packet/s2c/play/PlayerRespawnS2CPacket;getLastDeathPos()Ljava/util/Optional;
-