Class PlayerRespawnS2CPacket
java.lang.Object
net.minecraft.network.packet.s2c.play.PlayerRespawnS2CPacket
- All Implemented Interfaces:
Packet<ClientPlayPacketListener>
- Mappings:
Namespace Name official heintermediary net/minecraft/class_2036named net/minecraft/network/packet/s2c/play/PlayerRespawnS2CPacket
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate Difficultyprivate intprivate LevelInfo.GameModeprivate LevelGeneratorType -
Constructor Summary
ConstructorsConstructorDescriptionPlayerRespawnS2CPacket(int dimensionId, Difficulty difficulty, LevelGeneratorType generatorType, LevelInfo.GameMode gameMode) -
Method Summary
Modifier and TypeMethodDescriptionvoidapply(ClientPlayPacketListener clientPlayPacketListener) intvoidread(PacketByteBuf buf) voidwrite(PacketByteBuf buf)
-
Field Details
-
dimensionId
private int dimensionId- Mappings:
Namespace Name Mixin selector official aLhe;a:Iintermediary field_8704Lnet/minecraft/class_2036;field_8704:Inamed dimensionIdLnet/minecraft/network/packet/s2c/play/PlayerRespawnS2CPacket;dimensionId:I
-
difficulty
- Mappings:
Namespace Name Mixin selector official bLhe;b:Loj;intermediary field_8705Lnet/minecraft/class_2036;field_8705:Lnet/minecraft/class_2151;named difficultyLnet/minecraft/network/packet/s2c/play/PlayerRespawnS2CPacket;difficulty:Lnet/minecraft/world/Difficulty;
-
gameMode
- Mappings:
Namespace Name Mixin selector official cLhe;c:Ladp$a;intermediary field_8706Lnet/minecraft/class_2036;field_8706:Lnet/minecraft/class_1156$class_1157;named gameModeLnet/minecraft/network/packet/s2c/play/PlayerRespawnS2CPacket;gameMode:Lnet/minecraft/world/level/LevelInfo$GameMode;
-
generatorType
- Mappings:
Namespace Name Mixin selector official dLhe;d:Ladr;intermediary field_8707Lnet/minecraft/class_2036;field_8707:Lnet/minecraft/class_1160;named generatorTypeLnet/minecraft/network/packet/s2c/play/PlayerRespawnS2CPacket;generatorType:Lnet/minecraft/world/level/LevelGeneratorType;
-
-
Constructor Details
-
PlayerRespawnS2CPacket
public PlayerRespawnS2CPacket() -
PlayerRespawnS2CPacket
public PlayerRespawnS2CPacket(int dimensionId, Difficulty difficulty, LevelGeneratorType generatorType, LevelInfo.GameMode gameMode) - Mappings:
Namespace Name Mixin selector official <init>Lhe;<init>(ILoj;Ladr;Ladp$a;)Vintermediary <init>Lnet/minecraft/class_2036;<init>(ILnet/minecraft/class_2151;Lnet/minecraft/class_1160;Lnet/minecraft/class_1156$class_1157;)Vnamed <init>Lnet/minecraft/network/packet/s2c/play/PlayerRespawnS2CPacket;<init>(ILnet/minecraft/world/Difficulty;Lnet/minecraft/world/level/LevelGeneratorType;Lnet/minecraft/world/level/LevelInfo$GameMode;)V
-
-
Method Details
-
apply
- Specified by:
applyin interfacePacket<ClientPlayPacketListener>- Mappings:
Namespace Name Mixin selector official aLhe;a(Lfj;)Vintermediary method_7845Lnet/minecraft/class_2036;method_7845(Lnet/minecraft/class_1993;)Vnamed applyLnet/minecraft/network/packet/s2c/play/PlayerRespawnS2CPacket;apply(Lnet/minecraft/network/listener/ClientPlayPacketListener;)V
-
read
- Specified by:
readin interfacePacket<ClientPlayPacketListener>- Throws:
IOException- Mappings:
Namespace Name Mixin selector official aLff;a(Lem;)Vintermediary method_7535Lnet/minecraft/class_700;method_7535(Lnet/minecraft/class_1967;)Vnamed readLnet/minecraft/network/Packet;read(Lnet/minecraft/util/PacketByteBuf;)V
-
write
- Specified by:
writein interfacePacket<ClientPlayPacketListener>- Throws:
IOException- Mappings:
Namespace Name Mixin selector official bLff;b(Lem;)Vintermediary method_7539Lnet/minecraft/class_700;method_7539(Lnet/minecraft/class_1967;)Vnamed writeLnet/minecraft/network/Packet;write(Lnet/minecraft/util/PacketByteBuf;)V
-
getDimensionId
- Mappings:
Namespace Name Mixin selector official aLhe;a()Iintermediary method_7846Lnet/minecraft/class_2036;method_7846()Inamed getDimensionIdLnet/minecraft/network/packet/s2c/play/PlayerRespawnS2CPacket;getDimensionId()I
-
getDifficulty
- Mappings:
Namespace Name Mixin selector official bLhe;b()Loj;intermediary method_7847Lnet/minecraft/class_2036;method_7847()Lnet/minecraft/class_2151;named getDifficultyLnet/minecraft/network/packet/s2c/play/PlayerRespawnS2CPacket;getDifficulty()Lnet/minecraft/world/Difficulty;
-
getGameMode
- Mappings:
Namespace Name Mixin selector official cLhe;c()Ladp$a;intermediary method_7848Lnet/minecraft/class_2036;method_7848()Lnet/minecraft/class_1156$class_1157;named getGameModeLnet/minecraft/network/packet/s2c/play/PlayerRespawnS2CPacket;getGameMode()Lnet/minecraft/world/level/LevelInfo$GameMode;
-
getGeneratorType
- Mappings:
Namespace Name Mixin selector official dLhe;d()Ladr;intermediary method_7849Lnet/minecraft/class_2036;method_7849()Lnet/minecraft/class_1160;named getGeneratorTypeLnet/minecraft/network/packet/s2c/play/PlayerRespawnS2CPacket;getGeneratorType()Lnet/minecraft/world/level/LevelGeneratorType;
-