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

    • playerEntityId

      private int playerEntityId
      Mappings:
      Namespace Name Mixin selector
      official a Lgz;a:I
      intermediary field_8672 Lnet/minecraft/class_2025;field_8672:I
      named playerEntityId Lnet/minecraft/network/packet/s2c/play/GameJoinS2CPacket;playerEntityId:I
    • hardcore

      private boolean hardcore
      Mappings:
      Namespace Name Mixin selector
      official b Lgz;b:Z
      intermediary field_8673 Lnet/minecraft/class_2025;field_8673:Z
      named hardcore Lnet/minecraft/network/packet/s2c/play/GameJoinS2CPacket;hardcore:Z
    • field_8674

      private GameMode field_8674
      Mappings:
      Namespace Name Mixin selector
      official c Lgz;c:Lajq;
      intermediary field_8674 Lnet/minecraft/class_2025;field_8674:Lnet/minecraft/class_1157;
      named field_8674 Lnet/minecraft/network/packet/s2c/play/GameJoinS2CPacket;field_8674:Lnet/minecraft/world/GameMode;
    • viewDistance

      private int viewDistance
      Mappings:
      Namespace Name Mixin selector
      official d Lgz;d:I
      intermediary field_8675 Lnet/minecraft/class_2025;field_8675:I
      named viewDistance Lnet/minecraft/network/packet/s2c/play/GameJoinS2CPacket;viewDistance:I
    • difficulty

      private Difficulty difficulty
      Mappings:
      Namespace Name Mixin selector
      official e Lgz;e:Lrg;
      intermediary field_8676 Lnet/minecraft/class_2025;field_8676:Lnet/minecraft/class_2151;
      named difficulty Lnet/minecraft/network/packet/s2c/play/GameJoinS2CPacket;difficulty:Lnet/minecraft/world/Difficulty;
    • maxPlayers

      private int maxPlayers
      Mappings:
      Namespace Name Mixin selector
      official f Lgz;f:I
      intermediary field_8677 Lnet/minecraft/class_2025;field_8677:I
      named maxPlayers Lnet/minecraft/network/packet/s2c/play/GameJoinS2CPacket;maxPlayers:I
    • levelGeneratorType

      private LevelGeneratorType levelGeneratorType
      Mappings:
      Namespace Name Mixin selector
      official g Lgz;g:Lajx;
      intermediary field_8678 Lnet/minecraft/class_2025;field_8678:Lnet/minecraft/class_1160;
      named levelGeneratorType Lnet/minecraft/network/packet/s2c/play/GameJoinS2CPacket;levelGeneratorType:Lnet/minecraft/world/level/LevelGeneratorType;
    • reducedDebugInfo

      private boolean reducedDebugInfo
      Mappings:
      Namespace Name Mixin selector
      official h Lgz;h:Z
      intermediary field_11616 Lnet/minecraft/class_2025;field_11616:Z
      named reducedDebugInfo Lnet/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

      public void read(PacketByteBuf buf) throws IOException
      Specified by:
      read in interface Packet<ClientPlayPacketListener>
      Throws:
      IOException
      Mappings:
      Namespace Name Mixin selector
      official a Lfm;a(Let;)V
      intermediary method_7535 Lnet/minecraft/class_700;method_7535(Lnet/minecraft/class_1967;)V
      named read Lnet/minecraft/network/Packet;read(Lnet/minecraft/util/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 Lfm;b(Let;)V
      intermediary method_7539 Lnet/minecraft/class_700;method_7539(Lnet/minecraft/class_1967;)V
      named write Lnet/minecraft/network/Packet;write(Lnet/minecraft/util/PacketByteBuf;)V
    • apply

      public void apply(ClientPlayPacketListener clientPlayPacketListener)
      Specified by:
      apply in interface Packet<ClientPlayPacketListener>
      Mappings:
      Namespace Name Mixin selector
      official a Lgz;a(Lfp;)V
      intermediary method_7795 Lnet/minecraft/class_2025;method_7795(Lnet/minecraft/class_1993;)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 a Lgz;a()I
      intermediary method_7796 Lnet/minecraft/class_2025;method_7796()I
      named getEntityId Lnet/minecraft/network/packet/s2c/play/GameJoinS2CPacket;getEntityId()I
    • isHardcore

      @Environment(CLIENT) public boolean isHardcore()
      Mappings:
      Namespace Name Mixin selector
      official b Lgz;b()Z
      intermediary method_7797 Lnet/minecraft/class_2025;method_7797()Z
      named isHardcore Lnet/minecraft/network/packet/s2c/play/GameJoinS2CPacket;isHardcore()Z
    • method_7798

      @Environment(CLIENT) public GameMode method_7798()
      Mappings:
      Namespace Name Mixin selector
      official c Lgz;c()Lajq;
      intermediary method_7798 Lnet/minecraft/class_2025;method_7798()Lnet/minecraft/class_1157;
      named method_7798 Lnet/minecraft/network/packet/s2c/play/GameJoinS2CPacket;method_7798()Lnet/minecraft/world/GameMode;
    • getChunkLoadDistance

      @Environment(CLIENT) public int getChunkLoadDistance()
      Mappings:
      Namespace Name Mixin selector
      official d Lgz;d()I
      intermediary method_7799 Lnet/minecraft/class_2025;method_7799()I
      named getChunkLoadDistance Lnet/minecraft/network/packet/s2c/play/GameJoinS2CPacket;getChunkLoadDistance()I
    • getDifficulty

      @Environment(CLIENT) public Difficulty getDifficulty()
      Mappings:
      Namespace Name Mixin selector
      official e Lgz;e()Lrg;
      intermediary method_7800 Lnet/minecraft/class_2025;method_7800()Lnet/minecraft/class_2151;
      named getDifficulty Lnet/minecraft/network/packet/s2c/play/GameJoinS2CPacket;getDifficulty()Lnet/minecraft/world/Difficulty;
    • getMaxPlayers

      @Environment(CLIENT) public int getMaxPlayers()
      Mappings:
      Namespace Name Mixin selector
      official f Lgz;f()I
      intermediary method_7801 Lnet/minecraft/class_2025;method_7801()I
      named getMaxPlayers Lnet/minecraft/network/packet/s2c/play/GameJoinS2CPacket;getMaxPlayers()I
    • getGeneratorType

      @Environment(CLIENT) public LevelGeneratorType getGeneratorType()
      Mappings:
      Namespace Name Mixin selector
      official g Lgz;g()Lajx;
      intermediary method_7802 Lnet/minecraft/class_2025;method_7802()Lnet/minecraft/class_1160;
      named getGeneratorType Lnet/minecraft/network/packet/s2c/play/GameJoinS2CPacket;getGeneratorType()Lnet/minecraft/world/level/LevelGeneratorType;
    • hasReducedDebugInfo

      @Environment(CLIENT) public boolean hasReducedDebugInfo()
      Mappings:
      Namespace Name Mixin selector
      official h Lgz;h()Z
      intermediary method_10666 Lnet/minecraft/class_2025;method_10666()Z
      named hasReducedDebugInfo Lnet/minecraft/network/packet/s2c/play/GameJoinS2CPacket;hasReducedDebugInfo()Z