Class GameJoinS2CPacket
java.lang.Object
net.minecraft.network.Packet
net.minecraft.network.packet.s2c.play.GameJoinS2CPacket
- Mappings:
Namespace Name official gtintermediary net/minecraft/class_2025named net/minecraft/network/packet/s2c/play/GameJoinS2CPacket
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate Difficultyprivate GameModeprivate booleanprivate LevelGeneratorTypeprivate intprivate intprivate int -
Constructor Summary
ConstructorsConstructorDescriptionGameJoinS2CPacket(int int2, GameMode gameMode, boolean bool, int int3, Difficulty difficulty, int int4, LevelGeneratorType levelGeneratorType) -
Method Summary
Modifier and TypeMethodDescriptionvoidapply(ClientPlayPacketListener clientPlayPacketListener) intintintbooleanvoidread(PacketByteBuf buf) voidwrite(PacketByteBuf buf) Methods inherited from class net.minecraft.network.Packet
apply, method_7533, method_7534, method_7536, method_7537, toString
-
Field Details
-
playerEntityId
private int playerEntityId- Mappings:
Namespace Name Mixin selector official aLgt;a:Iintermediary field_8672Lnet/minecraft/class_2025;field_8672:Inamed playerEntityIdLnet/minecraft/network/packet/s2c/play/GameJoinS2CPacket;playerEntityId:I
-
hardcore
private boolean hardcore- Mappings:
Namespace Name Mixin selector official bLgt;b:Zintermediary field_8673Lnet/minecraft/class_2025;field_8673:Znamed hardcoreLnet/minecraft/network/packet/s2c/play/GameJoinS2CPacket;hardcore:Z
-
field_8674
- Mappings:
Namespace Name Mixin selector official cLgt;c:Lafv;intermediary field_8674Lnet/minecraft/class_2025;field_8674:Lnet/minecraft/class_1157;named field_8674Lnet/minecraft/network/packet/s2c/play/GameJoinS2CPacket;field_8674:Lnet/minecraft/world/GameMode;
-
viewDistance
private int viewDistance- Mappings:
Namespace Name Mixin selector official dLgt;d:Iintermediary field_8675Lnet/minecraft/class_2025;field_8675:Inamed viewDistanceLnet/minecraft/network/packet/s2c/play/GameJoinS2CPacket;viewDistance:I
-
difficulty
- Mappings:
Namespace Name Mixin selector official eLgt;e:Lpp;intermediary field_8676Lnet/minecraft/class_2025;field_8676:Lnet/minecraft/class_2151;named difficultyLnet/minecraft/network/packet/s2c/play/GameJoinS2CPacket;difficulty:Lnet/minecraft/world/Difficulty;
-
maxPlayers
private int maxPlayers- Mappings:
Namespace Name Mixin selector official fLgt;f:Iintermediary field_8677Lnet/minecraft/class_2025;field_8677:Inamed maxPlayersLnet/minecraft/network/packet/s2c/play/GameJoinS2CPacket;maxPlayers:I
-
levelGeneratorType
- Mappings:
Namespace Name Mixin selector official gLgt;g:Lafx;intermediary field_8678Lnet/minecraft/class_2025;field_8678:Lnet/minecraft/class_1160;named levelGeneratorTypeLnet/minecraft/network/packet/s2c/play/GameJoinS2CPacket;levelGeneratorType:Lnet/minecraft/world/level/LevelGeneratorType;
-
-
Constructor Details
-
GameJoinS2CPacket
public GameJoinS2CPacket() -
GameJoinS2CPacket
public GameJoinS2CPacket(int int2, GameMode gameMode, boolean bool, int int3, Difficulty difficulty, int int4, LevelGeneratorType levelGeneratorType)
-
-
Method Details
-
read
-
write
-
apply
- Mappings:
Namespace Name Mixin selector official aLgt;a(Lfl;)Vintermediary method_7795Lnet/minecraft/class_2025;method_7795(Lnet/minecraft/class_1993;)Vnamed applyLnet/minecraft/network/packet/s2c/play/GameJoinS2CPacket;apply(Lnet/minecraft/network/listener/ClientPlayPacketListener;)V
-
method_7538
- Overrides:
method_7538in classPacket- Mappings:
Namespace Name Mixin selector official bLfj;b()Ljava/lang/String;intermediary method_7538Lnet/minecraft/class_700;method_7538()Ljava/lang/String;named method_7538Lnet/minecraft/network/Packet;method_7538()Ljava/lang/String;
-
getEntityId
- Mappings:
Namespace Name Mixin selector official cLgt;c()Iintermediary method_7796Lnet/minecraft/class_2025;method_7796()Inamed getEntityIdLnet/minecraft/network/packet/s2c/play/GameJoinS2CPacket;getEntityId()I
-
isHardcore
- Mappings:
Namespace Name Mixin selector official dLgt;d()Zintermediary method_7797Lnet/minecraft/class_2025;method_7797()Znamed isHardcoreLnet/minecraft/network/packet/s2c/play/GameJoinS2CPacket;isHardcore()Z
-
method_7798
- Mappings:
Namespace Name Mixin selector official eLgt;e()Lafv;intermediary method_7798Lnet/minecraft/class_2025;method_7798()Lnet/minecraft/class_1157;named method_7798Lnet/minecraft/network/packet/s2c/play/GameJoinS2CPacket;method_7798()Lnet/minecraft/world/GameMode;
-
getChunkLoadDistance
- Mappings:
Namespace Name Mixin selector official fLgt;f()Iintermediary method_7799Lnet/minecraft/class_2025;method_7799()Inamed getChunkLoadDistanceLnet/minecraft/network/packet/s2c/play/GameJoinS2CPacket;getChunkLoadDistance()I
-
getDifficulty
- Mappings:
Namespace Name Mixin selector official gLgt;g()Lpp;intermediary method_7800Lnet/minecraft/class_2025;method_7800()Lnet/minecraft/class_2151;named getDifficultyLnet/minecraft/network/packet/s2c/play/GameJoinS2CPacket;getDifficulty()Lnet/minecraft/world/Difficulty;
-
getMaxPlayers
- Mappings:
Namespace Name Mixin selector official hLgt;h()Iintermediary method_7801Lnet/minecraft/class_2025;method_7801()Inamed getMaxPlayersLnet/minecraft/network/packet/s2c/play/GameJoinS2CPacket;getMaxPlayers()I
-
getGeneratorType
- Mappings:
Namespace Name Mixin selector official iLgt;i()Lafx;intermediary method_7802Lnet/minecraft/class_2025;method_7802()Lnet/minecraft/class_1160;named getGeneratorTypeLnet/minecraft/network/packet/s2c/play/GameJoinS2CPacket;getGeneratorType()Lnet/minecraft/world/level/LevelGeneratorType;
-