Class PlayerRespawnS2CPacket
java.lang.Object
net.minecraft.network.Packet
net.minecraft.network.packet.s2c.play.PlayerRespawnS2CPacket
- Mappings:
Namespace Name official hfintermediary net/minecraft/class_2036named net/minecraft/network/packet/s2c/play/PlayerRespawnS2CPacket
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate Difficultyprivate intprivate GameModeprivate LevelGeneratorType -
Constructor Summary
ConstructorsConstructorDescriptionPlayerRespawnS2CPacket(int int2, Difficulty difficulty, LevelGeneratorType levelGeneratorType, GameMode gameMode) -
Method Summary
Modifier and TypeMethodDescriptionvoidapply(ClientPlayPacketListener clientPlayPacketListener) intvoidread(PacketByteBuf buf) voidwrite(PacketByteBuf buf) Methods inherited from class net.minecraft.network.Packet
apply, method_7533, method_7534, method_7536, method_7537, method_7538, toString
-
Field Details
-
dimensionId
private int dimensionId- Mappings:
Namespace Name Mixin selector official aLhf;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 bLhf;b:Lpp;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;
-
field_8706
- Mappings:
Namespace Name Mixin selector official cLhf;c:Lafv;intermediary field_8706Lnet/minecraft/class_2036;field_8706:Lnet/minecraft/class_1157;named field_8706Lnet/minecraft/network/packet/s2c/play/PlayerRespawnS2CPacket;field_8706:Lnet/minecraft/world/GameMode;
-
generatorType
- Mappings:
Namespace Name Mixin selector official dLhf;d:Lafx;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 int2, Difficulty difficulty, LevelGeneratorType levelGeneratorType, GameMode gameMode)
-
-
Method Details
-
apply
- Mappings:
Namespace Name Mixin selector official aLhf;a(Lfl;)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
-
write
-
getDimensionId
- Mappings:
Namespace Name Mixin selector official cLhf;c()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 dLhf;d()Lpp;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;
-
method_7848
- Mappings:
Namespace Name Mixin selector official eLhf;e()Lafv;intermediary method_7848Lnet/minecraft/class_2036;method_7848()Lnet/minecraft/class_1157;named method_7848Lnet/minecraft/network/packet/s2c/play/PlayerRespawnS2CPacket;method_7848()Lnet/minecraft/world/GameMode;
-
getGeneratorType
- Mappings:
Namespace Name Mixin selector official fLhf;f()Lafx;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;
-