Class GameJoinS2CPacket
java.lang.Object
net.minecraft.network.packet.s2c.play.GameJoinS2CPacket
- All Implemented Interfaces:
Packet<ClientPlayPacketListener>
- Mappings:
Namespace Name official gzintermediary net/minecraft/class_2025named net/minecraft/network/packet/s2c/play/GameJoinS2CPacket
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate Difficultyprivate GameModeprivate booleanprivate LevelGeneratorTypeprivate intprivate intprivate booleanprivate int -
Constructor Summary
ConstructorsConstructorDescriptionGameJoinS2CPacket(int int2, GameMode gameMode, boolean bool, int int3, Difficulty difficulty, int int4, LevelGeneratorType levelGeneratorType, boolean bool2) -
Method Summary
Modifier and TypeMethodDescriptionvoidapply(ClientPlayPacketListener clientPlayPacketListener) intintintbooleanbooleanvoidread(PacketByteBuf buf) voidwrite(PacketByteBuf buf)
-
Field Details
-
playerEntityId
private int playerEntityId- Mappings:
Namespace Name Mixin selector official aLgz;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 bLgz;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 cLgz;c:Lajq;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 dLgz;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 eLgz;e:Lrg;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 fLgz;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 gLgz;g:Lajx;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;
-
reducedDebugInfo
private boolean reducedDebugInfo- Mappings:
Namespace Name Mixin selector official hLgz;h:Zintermediary field_11616Lnet/minecraft/class_2025;field_11616:Znamed reducedDebugInfoLnet/minecraft/network/packet/s2c/play/GameJoinS2CPacket;reducedDebugInfo:Z
-
-
Constructor Details
-
GameJoinS2CPacket
public GameJoinS2CPacket() -
GameJoinS2CPacket
public GameJoinS2CPacket(int int2, GameMode gameMode, boolean bool, int int3, Difficulty difficulty, int int4, LevelGeneratorType levelGeneratorType, boolean bool2)
-
-
Method Details
-
read
- Specified by:
readin interfacePacket<ClientPlayPacketListener>- Throws:
IOException- Mappings:
Namespace Name Mixin selector official aLfm;a(Let;)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 bLfm;b(Let;)Vintermediary method_7539Lnet/minecraft/class_700;method_7539(Lnet/minecraft/class_1967;)Vnamed writeLnet/minecraft/network/Packet;write(Lnet/minecraft/util/PacketByteBuf;)V
-
apply
- Specified by:
applyin interfacePacket<ClientPlayPacketListener>- Mappings:
Namespace Name Mixin selector official aLgz;a(Lfp;)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
-
getEntityId
- Mappings:
Namespace Name Mixin selector official aLgz;a()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 bLgz;b()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 cLgz;c()Lajq;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 dLgz;d()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 eLgz;e()Lrg;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 fLgz;f()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 gLgz;g()Lajx;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;
-
hasReducedDebugInfo
- Mappings:
Namespace Name Mixin selector official hLgz;h()Zintermediary method_10666Lnet/minecraft/class_2025;method_10666()Znamed hasReducedDebugInfoLnet/minecraft/network/packet/s2c/play/GameJoinS2CPacket;hasReducedDebugInfo()Z
-