Class GameJoinS2CPacket

java.lang.Object
net.minecraft.network.packet.s2c.play.GameJoinS2CPacket
All Implemented Interfaces:
Packet<ClientPlayPacketListener>

public class GameJoinS2CPacket extends Object implements Packet<ClientPlayPacketListener>
Mappings:
Namespace Name
official ra
intermediary net/minecraft/class_2678
named net/minecraft/network/packet/s2c/play/GameJoinS2CPacket
  • Field Details

    • field_33334

      private static final int field_33334
      See Also:
      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

      private final GameMode 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

      @Nullable private final @Nullable 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

      private final Set<RegistryKey<World>> 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

      private final DynamicRegistryManager.Impl 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

      private final DimensionType 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

      private final RegistryKey<World> 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

      public GameJoinS2CPacket(PacketByteBuf buf)
      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

      public void write(PacketByteBuf buf)
      Specified by:
      write in interface Packet<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

      public void apply(ClientPlayPacketListener clientPlayPacketListener)
      Specified by:
      apply in interface Packet<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

      public GameMode 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

      @Nullable public @Nullable 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

      public Set<RegistryKey<World>> 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

      public DynamicRegistryManager 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

      public DimensionType 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

      public RegistryKey<World> 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