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 qp
intermediary net/minecraft/class_2678
named net/minecraft/network/packet/s2c/play/GameJoinS2CPacket
  • Field Details

    • playerEntityId

      private int playerEntityId
      Mappings:
      Namespace Name Mixin selector
      official a Lqp;a:I
      intermediary field_12280 Lnet/minecraft/class_2678;field_12280:I
      named playerEntityId Lnet/minecraft/network/packet/s2c/play/GameJoinS2CPacket;playerEntityId:I
    • sha256Seed

      private long sha256Seed
      Mappings:
      Namespace Name Mixin selector
      official b Lqp;b:J
      intermediary field_20665 Lnet/minecraft/class_2678;field_20665:J
      named sha256Seed Lnet/minecraft/network/packet/s2c/play/GameJoinS2CPacket;sha256Seed:J
    • hardcore

      private boolean hardcore
      Mappings:
      Namespace Name Mixin selector
      official c Lqp;c:Z
      intermediary field_12281 Lnet/minecraft/class_2678;field_12281:Z
      named hardcore Lnet/minecraft/network/packet/s2c/play/GameJoinS2CPacket;hardcore:Z
    • gameMode

      private GameMode gameMode
      Mappings:
      Namespace Name Mixin selector
      official d Lqp;d:Lbts;
      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 GameMode previousGameMode
      Mappings:
      Namespace Name Mixin selector
      official e Lqp;e:Lbts;
      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 Set<RegistryKey<World>> dimensionIds
      Mappings:
      Namespace Name Mixin selector
      official f Lqp;f: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 DynamicRegistryManager.Impl registryManager
      Mappings:
      Namespace Name Mixin selector
      official g Lqp;g:Lgo$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 DimensionType dimensionType
      Mappings:
      Namespace Name Mixin selector
      official h Lqp;h:Lckt;
      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 RegistryKey<World> dimensionId
      Mappings:
      Namespace Name Mixin selector
      official i Lqp;i:Lwa;
      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 int maxPlayers
      Mappings:
      Namespace Name Mixin selector
      official j Lqp;j:I
      intermediary field_12279 Lnet/minecraft/class_2678;field_12279:I
      named maxPlayers Lnet/minecraft/network/packet/s2c/play/GameJoinS2CPacket;maxPlayers:I
    • viewDistance

      private int viewDistance
      Mappings:
      Namespace Name Mixin selector
      official k Lqp;k:I
      intermediary field_19145 Lnet/minecraft/class_2678;field_19145:I
      named viewDistance Lnet/minecraft/network/packet/s2c/play/GameJoinS2CPacket;viewDistance:I
    • reducedDebugInfo

      private boolean reducedDebugInfo
      Mappings:
      Namespace Name Mixin selector
      official l Lqp;l:Z
      intermediary field_24618 Lnet/minecraft/class_2678;field_24618:Z
      named reducedDebugInfo Lnet/minecraft/network/packet/s2c/play/GameJoinS2CPacket;reducedDebugInfo:Z
    • showDeathScreen

      private boolean showDeathScreen
      Mappings:
      Namespace Name Mixin selector
      official m Lqp;m:Z
      intermediary field_24619 Lnet/minecraft/class_2678;field_24619:Z
      named showDeathScreen Lnet/minecraft/network/packet/s2c/play/GameJoinS2CPacket;showDeathScreen:Z
    • debugWorld

      private boolean debugWorld
      Mappings:
      Namespace Name Mixin selector
      official n Lqp;n:Z
      intermediary field_12278 Lnet/minecraft/class_2678;field_12278:Z
      named debugWorld Lnet/minecraft/network/packet/s2c/play/GameJoinS2CPacket;debugWorld:Z
    • flatWorld

      private boolean flatWorld
      Mappings:
      Namespace Name Mixin selector
      official o Lqp;o: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()
    • GameJoinS2CPacket

      public GameJoinS2CPacket​(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)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lqp;<init>(ILbts;Lbts;JZLjava/util/Set;Lgo$b;Lckt;Lwa;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
  • Method Details

    • read

      public void read​(PacketByteBuf buf) throws IOException
      Specified by:
      read in interface Packet<ClientPlayPacketListener>
      Throws:
      IOException
      Mappings:
      Namespace Name Mixin selector
      official a Lpa;a(Lnw;)V
      intermediary method_11053 Lnet/minecraft/class_2596;method_11053(Lnet/minecraft/class_2540;)V
      named read Lnet/minecraft/network/Packet;read(Lnet/minecraft/network/PacketByteBuf;)V
    • write

      public void write​(PacketByteBuf buf) throws IOException
      Specified by:
      write in interface Packet<ClientPlayPacketListener>
      Throws:
      IOException
      Mappings:
      Namespace Name Mixin selector
      official b Lpa;b(Lnw;)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 Lqp;a(Lpd;)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

      @Environment(CLIENT) public int getEntityId()
      Mappings:
      Namespace Name Mixin selector
      official b Lqp;b()I
      intermediary method_11564 Lnet/minecraft/class_2678;method_11564()I
      named getEntityId Lnet/minecraft/network/packet/s2c/play/GameJoinS2CPacket;getEntityId()I
    • getSha256Seed

      @Environment(CLIENT) public long getSha256Seed()
      Mappings:
      Namespace Name Mixin selector
      official c Lqp;c()J
      intermediary method_22423 Lnet/minecraft/class_2678;method_22423()J
      named getSha256Seed Lnet/minecraft/network/packet/s2c/play/GameJoinS2CPacket;getSha256Seed()J
    • isHardcore

      @Environment(CLIENT) public boolean isHardcore()
      Mappings:
      Namespace Name Mixin selector
      official d Lqp;d()Z
      intermediary method_28118 Lnet/minecraft/class_2678;method_28118()Z
      named isHardcore Lnet/minecraft/network/packet/s2c/play/GameJoinS2CPacket;isHardcore()Z
    • getGameMode

      @Environment(CLIENT) public GameMode getGameMode()
      Mappings:
      Namespace Name Mixin selector
      official e Lqp;e()Lbts;
      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

      @Environment(CLIENT) public GameMode getPreviousGameMode()
      Mappings:
      Namespace Name Mixin selector
      official f Lqp;f()Lbts;
      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

      @Environment(CLIENT) public Set<RegistryKey<World>> getDimensionIds()
      Mappings:
      Namespace Name Mixin selector
      official g Lqp;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

      @Environment(CLIENT) public DynamicRegistryManager getRegistryManager()
      Mappings:
      Namespace Name Mixin selector
      official h Lqp;h()Lgo;
      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

      @Environment(CLIENT) public DimensionType getDimensionType()
      Mappings:
      Namespace Name Mixin selector
      official i Lqp;i()Lckt;
      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

      @Environment(CLIENT) public RegistryKey<World> getDimensionId()
      Mappings:
      Namespace Name Mixin selector
      official j Lqp;j()Lwa;
      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;
    • getViewDistance

      @Environment(CLIENT) public int getViewDistance()
      Mappings:
      Namespace Name Mixin selector
      official l Lqp;l()I
      intermediary method_20204 Lnet/minecraft/class_2678;method_20204()I
      named getViewDistance Lnet/minecraft/network/packet/s2c/play/GameJoinS2CPacket;getViewDistance()I
    • hasReducedDebugInfo

      @Environment(CLIENT) public boolean hasReducedDebugInfo()
      Mappings:
      Namespace Name Mixin selector
      official m Lqp;m()Z
      intermediary method_11562 Lnet/minecraft/class_2678;method_11562()Z
      named hasReducedDebugInfo Lnet/minecraft/network/packet/s2c/play/GameJoinS2CPacket;hasReducedDebugInfo()Z
    • showsDeathScreen

      @Environment(CLIENT) public boolean showsDeathScreen()
      Mappings:
      Namespace Name Mixin selector
      official n Lqp;n()Z
      intermediary method_22424 Lnet/minecraft/class_2678;method_22424()Z
      named showsDeathScreen Lnet/minecraft/network/packet/s2c/play/GameJoinS2CPacket;showsDeathScreen()Z
    • isDebugWorld

      @Environment(CLIENT) public boolean isDebugWorld()
      Mappings:
      Namespace Name Mixin selector
      official o Lqp;o()Z
      intermediary method_28119 Lnet/minecraft/class_2678;method_28119()Z
      named isDebugWorld Lnet/minecraft/network/packet/s2c/play/GameJoinS2CPacket;isDebugWorld()Z
    • isFlatWorld

      @Environment(CLIENT) public boolean isFlatWorld()
      Mappings:
      Namespace Name Mixin selector
      official p Lqp;p()Z
      intermediary method_11568 Lnet/minecraft/class_2678;method_11568()Z
      named isFlatWorld Lnet/minecraft/network/packet/s2c/play/GameJoinS2CPacket;isFlatWorld()Z