Class GameJoinS2CPacket
java.lang.Object
net.minecraft.network.packet.s2c.play.GameJoinS2CPacket
- All Implemented Interfaces:
Packet<ClientPlayPacketListener>
- Mappings:
Namespace Name official ra
intermediary net/minecraft/class_2678
named net/minecraft/network/packet/s2c/play/GameJoinS2CPacket
-
Field Summary
Modifier and TypeFieldDescriptionprivate boolean
private RegistryKey<World>
private Set<RegistryKey<World>>
private DimensionType
private static int
private boolean
private GameMode
private boolean
private int
private int
private boolean
private DynamicRegistryManager.Impl
private long
private boolean
private int
-
Constructor Summary
ConstructorDescriptionGameJoinS2CPacket(int playerEntityId, GameMode gameMode, @Nullable GameMode previousGameMode, long sha256Seed, boolean hardcore, Set<RegistryKey<World>> dimensionIds, DynamicRegistryManager.Impl registryManager, DimensionType dimensionType, RegistryKey<World> dimensionId, int maxPlayers, int chunkLoadDistance, boolean reducedDebugInfo, boolean showDeathScreen, boolean debugWorld, boolean flatWorld)
-
Method Summary
Modifier and TypeMethodDescriptionvoid
apply(ClientPlayPacketListener clientPlayPacketListener)
int
int
long
int
boolean
boolean
boolean
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
isWritingErrorSkippable
-
Field Details
-
field_33334
private static final int field_33334- See Also:
- Constant Field Values
- Mappings:
Namespace Name Mixin selector official a
Lra;a:I
intermediary field_33334
Lnet/minecraft/class_2678;field_33334:I
named field_33334
Lnet/minecraft/network/packet/s2c/play/GameJoinS2CPacket;field_33334:I
-
playerEntityId
private final int playerEntityId- Mappings:
Namespace Name Mixin selector official b
Lra;b:I
intermediary field_12280
Lnet/minecraft/class_2678;field_12280:I
named playerEntityId
Lnet/minecraft/network/packet/s2c/play/GameJoinS2CPacket;playerEntityId:I
-
sha256Seed
private final long sha256Seed- Mappings:
Namespace Name Mixin selector official c
Lra;c:J
intermediary field_20665
Lnet/minecraft/class_2678;field_20665:J
named sha256Seed
Lnet/minecraft/network/packet/s2c/play/GameJoinS2CPacket;sha256Seed:J
-
hardcore
private final boolean hardcore- Mappings:
Namespace Name Mixin selector official d
Lra;d:Z
intermediary field_12281
Lnet/minecraft/class_2678;field_12281:Z
named hardcore
Lnet/minecraft/network/packet/s2c/play/GameJoinS2CPacket;hardcore:Z
-
gameMode
- Mappings:
Namespace Name Mixin selector official e
Lra;e:Lbwm;
intermediary field_12282
Lnet/minecraft/class_2678;field_12282:Lnet/minecraft/class_1934;
named gameMode
Lnet/minecraft/network/packet/s2c/play/GameJoinS2CPacket;gameMode:Lnet/minecraft/world/GameMode;
-
previousGameMode
- Mappings:
Namespace Name Mixin selector official f
Lra;f:Lbwm;
intermediary field_25713
Lnet/minecraft/class_2678;field_25713:Lnet/minecraft/class_1934;
named previousGameMode
Lnet/minecraft/network/packet/s2c/play/GameJoinS2CPacket;previousGameMode:Lnet/minecraft/world/GameMode;
-
dimensionIds
- Mappings:
Namespace Name Mixin selector official g
Lra;g:Ljava/util/Set;
intermediary field_25320
Lnet/minecraft/class_2678;field_25320:Ljava/util/Set;
named dimensionIds
Lnet/minecraft/network/packet/s2c/play/GameJoinS2CPacket;dimensionIds:Ljava/util/Set;
-
registryManager
- Mappings:
Namespace Name Mixin selector official h
Lra;h:Lgx$b;
intermediary field_12284
Lnet/minecraft/class_2678;field_12284:Lnet/minecraft/class_5455$class_5457;
named registryManager
Lnet/minecraft/network/packet/s2c/play/GameJoinS2CPacket;registryManager:Lnet/minecraft/util/registry/DynamicRegistryManager$Impl;
-
dimensionType
- Mappings:
Namespace Name Mixin selector official i
Lra;i:Lcnu;
intermediary field_25321
Lnet/minecraft/class_2678;field_25321:Lnet/minecraft/class_2874;
named dimensionType
Lnet/minecraft/network/packet/s2c/play/GameJoinS2CPacket;dimensionType:Lnet/minecraft/world/dimension/DimensionType;
-
dimensionId
- Mappings:
Namespace Name Mixin selector official j
Lra;j:Lwv;
intermediary field_25134
Lnet/minecraft/class_2678;field_25134:Lnet/minecraft/class_5321;
named dimensionId
Lnet/minecraft/network/packet/s2c/play/GameJoinS2CPacket;dimensionId:Lnet/minecraft/util/registry/RegistryKey;
-
maxPlayers
private final int maxPlayers- Mappings:
Namespace Name Mixin selector official k
Lra;k:I
intermediary field_12279
Lnet/minecraft/class_2678;field_12279:I
named maxPlayers
Lnet/minecraft/network/packet/s2c/play/GameJoinS2CPacket;maxPlayers:I
-
viewDistance
private final int viewDistance- Mappings:
Namespace Name Mixin selector official l
Lra;l:I
intermediary field_19145
Lnet/minecraft/class_2678;field_19145:I
named viewDistance
Lnet/minecraft/network/packet/s2c/play/GameJoinS2CPacket;viewDistance:I
-
reducedDebugInfo
private final boolean reducedDebugInfo- Mappings:
Namespace Name Mixin selector official m
Lra;m:Z
intermediary field_24618
Lnet/minecraft/class_2678;field_24618:Z
named reducedDebugInfo
Lnet/minecraft/network/packet/s2c/play/GameJoinS2CPacket;reducedDebugInfo:Z
-
showDeathScreen
private final boolean showDeathScreen- Mappings:
Namespace Name Mixin selector official n
Lra;n:Z
intermediary field_24619
Lnet/minecraft/class_2678;field_24619:Z
named showDeathScreen
Lnet/minecraft/network/packet/s2c/play/GameJoinS2CPacket;showDeathScreen:Z
-
debugWorld
private final boolean debugWorld- Mappings:
Namespace Name Mixin selector official o
Lra;o:Z
intermediary field_12278
Lnet/minecraft/class_2678;field_12278:Z
named debugWorld
Lnet/minecraft/network/packet/s2c/play/GameJoinS2CPacket;debugWorld:Z
-
flatWorld
private final boolean flatWorld- Mappings:
Namespace Name Mixin selector official p
Lra;p:Z
intermediary field_20666
Lnet/minecraft/class_2678;field_20666:Z
named flatWorld
Lnet/minecraft/network/packet/s2c/play/GameJoinS2CPacket;flatWorld:Z
-
-
Constructor Details
-
GameJoinS2CPacket
public GameJoinS2CPacket(int playerEntityId, GameMode gameMode, @Nullable @Nullable GameMode previousGameMode, long sha256Seed, boolean hardcore, Set<RegistryKey<World>> dimensionIds, DynamicRegistryManager.Impl registryManager, DimensionType dimensionType, RegistryKey<World> dimensionId, int maxPlayers, int chunkLoadDistance, boolean reducedDebugInfo, boolean showDeathScreen, boolean debugWorld, boolean flatWorld)- Mappings:
Namespace Name Mixin selector official <init>
Lra;<init>(ILbwm;Lbwm;JZLjava/util/Set;Lgx$b;Lcnu;Lwv;IIZZZZ)V
intermediary <init>
Lnet/minecraft/class_2678;<init>(ILnet/minecraft/class_1934;Lnet/minecraft/class_1934;JZLjava/util/Set;Lnet/minecraft/class_5455$class_5457;Lnet/minecraft/class_2874;Lnet/minecraft/class_5321;IIZZZZ)V
named <init>
Lnet/minecraft/network/packet/s2c/play/GameJoinS2CPacket;<init>(ILnet/minecraft/world/GameMode;Lnet/minecraft/world/GameMode;JZLjava/util/Set;Lnet/minecraft/util/registry/DynamicRegistryManager$Impl;Lnet/minecraft/world/dimension/DimensionType;Lnet/minecraft/util/registry/RegistryKey;IIZZZZ)V
-
GameJoinS2CPacket
- Mappings:
Namespace Name Mixin selector official <init>
Lra;<init>(Log;)V
intermediary <init>
Lnet/minecraft/class_2678;<init>(Lnet/minecraft/class_2540;)V
named <init>
Lnet/minecraft/network/packet/s2c/play/GameJoinS2CPacket;<init>(Lnet/minecraft/network/PacketByteBuf;)V
-
-
Method Details
-
write
- Specified by:
write
in interfacePacket<ClientPlayPacketListener>
- Mappings:
Namespace Name Mixin selector official a
Lpk;a(Log;)V
intermediary method_11052
Lnet/minecraft/class_2596;method_11052(Lnet/minecraft/class_2540;)V
named write
Lnet/minecraft/network/Packet;write(Lnet/minecraft/network/PacketByteBuf;)V
-
apply
- Specified by:
apply
in interfacePacket<ClientPlayPacketListener>
- Mappings:
Namespace Name Mixin selector official a
Lra;a(Lpn;)V
intermediary method_11567
Lnet/minecraft/class_2678;method_11567(Lnet/minecraft/class_2602;)V
named apply
Lnet/minecraft/network/packet/s2c/play/GameJoinS2CPacket;apply(Lnet/minecraft/network/listener/ClientPlayPacketListener;)V
-
getEntityId
public int getEntityId()- Mappings:
Namespace Name Mixin selector official b
Lra;b()I
intermediary method_11564
Lnet/minecraft/class_2678;method_11564()I
named getEntityId
Lnet/minecraft/network/packet/s2c/play/GameJoinS2CPacket;getEntityId()I
-
getSha256Seed
public long getSha256Seed()- Mappings:
Namespace Name Mixin selector official c
Lra;c()J
intermediary method_22423
Lnet/minecraft/class_2678;method_22423()J
named getSha256Seed
Lnet/minecraft/network/packet/s2c/play/GameJoinS2CPacket;getSha256Seed()J
-
isHardcore
public boolean isHardcore()- Mappings:
Namespace Name Mixin selector official d
Lra;d()Z
intermediary method_28118
Lnet/minecraft/class_2678;method_28118()Z
named isHardcore
Lnet/minecraft/network/packet/s2c/play/GameJoinS2CPacket;isHardcore()Z
-
getGameMode
- Mappings:
Namespace Name Mixin selector official e
Lra;e()Lbwm;
intermediary method_11561
Lnet/minecraft/class_2678;method_11561()Lnet/minecraft/class_1934;
named getGameMode
Lnet/minecraft/network/packet/s2c/play/GameJoinS2CPacket;getGameMode()Lnet/minecraft/world/GameMode;
-
getPreviousGameMode
- Mappings:
Namespace Name Mixin selector official f
Lra;f()Lbwm;
intermediary method_30116
Lnet/minecraft/class_2678;method_30116()Lnet/minecraft/class_1934;
named getPreviousGameMode
Lnet/minecraft/network/packet/s2c/play/GameJoinS2CPacket;getPreviousGameMode()Lnet/minecraft/world/GameMode;
-
getDimensionIds
- Mappings:
Namespace Name Mixin selector official g
Lra;g()Ljava/util/Set;
intermediary method_29443
Lnet/minecraft/class_2678;method_29443()Ljava/util/Set;
named getDimensionIds
Lnet/minecraft/network/packet/s2c/play/GameJoinS2CPacket;getDimensionIds()Ljava/util/Set;
-
getRegistryManager
- Mappings:
Namespace Name Mixin selector official h
Lra;h()Lgx;
intermediary method_11565
Lnet/minecraft/class_2678;method_11565()Lnet/minecraft/class_5455;
named getRegistryManager
Lnet/minecraft/network/packet/s2c/play/GameJoinS2CPacket;getRegistryManager()Lnet/minecraft/util/registry/DynamicRegistryManager;
-
getDimensionType
- Mappings:
Namespace Name Mixin selector official i
Lra;i()Lcnu;
intermediary method_29444
Lnet/minecraft/class_2678;method_29444()Lnet/minecraft/class_2874;
named getDimensionType
Lnet/minecraft/network/packet/s2c/play/GameJoinS2CPacket;getDimensionType()Lnet/minecraft/world/dimension/DimensionType;
-
getDimensionId
- Mappings:
Namespace Name Mixin selector official j
Lra;j()Lwv;
intermediary method_29176
Lnet/minecraft/class_2678;method_29176()Lnet/minecraft/class_5321;
named getDimensionId
Lnet/minecraft/network/packet/s2c/play/GameJoinS2CPacket;getDimensionId()Lnet/minecraft/util/registry/RegistryKey;
-
getMaxPlayers
public int getMaxPlayers()- Mappings:
Namespace Name Mixin selector official k
Lra;k()I
intermediary method_36149
Lnet/minecraft/class_2678;method_36149()I
named getMaxPlayers
Lnet/minecraft/network/packet/s2c/play/GameJoinS2CPacket;getMaxPlayers()I
-
getViewDistance
public int getViewDistance()- Mappings:
Namespace Name Mixin selector official l
Lra;l()I
intermediary method_20204
Lnet/minecraft/class_2678;method_20204()I
named getViewDistance
Lnet/minecraft/network/packet/s2c/play/GameJoinS2CPacket;getViewDistance()I
-
hasReducedDebugInfo
public boolean hasReducedDebugInfo()- Mappings:
Namespace Name Mixin selector official m
Lra;m()Z
intermediary method_11562
Lnet/minecraft/class_2678;method_11562()Z
named hasReducedDebugInfo
Lnet/minecraft/network/packet/s2c/play/GameJoinS2CPacket;hasReducedDebugInfo()Z
-
showsDeathScreen
public boolean showsDeathScreen()- Mappings:
Namespace Name Mixin selector official n
Lra;n()Z
intermediary method_22424
Lnet/minecraft/class_2678;method_22424()Z
named showsDeathScreen
Lnet/minecraft/network/packet/s2c/play/GameJoinS2CPacket;showsDeathScreen()Z
-
isDebugWorld
public boolean isDebugWorld()- Mappings:
Namespace Name Mixin selector official o
Lra;o()Z
intermediary method_28119
Lnet/minecraft/class_2678;method_28119()Z
named isDebugWorld
Lnet/minecraft/network/packet/s2c/play/GameJoinS2CPacket;isDebugWorld()Z
-
isFlatWorld
public boolean isFlatWorld()- Mappings:
Namespace Name Mixin selector official p
Lra;p()Z
intermediary method_11568
Lnet/minecraft/class_2678;method_11568()Z
named isFlatWorld
Lnet/minecraft/network/packet/s2c/play/GameJoinS2CPacket;isFlatWorld()Z
-