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 kj
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 Lkj;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 Lkj;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 Lkj;c:Laxv;
      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;
    • field_21546

      private DimensionType field_21546
      Mappings:
      Namespace Name Mixin selector
      official d Lkj;d:Lbod;
      intermediary field_21546 Lnet/minecraft/class_2025;field_21546:Lnet/minecraft/class_3793;
      named field_21546 Lnet/minecraft/network/packet/s2c/play/GameJoinS2CPacket;field_21546:Lnet/minecraft/world/dimension/DimensionType;
    • difficulty

      private Difficulty difficulty
      Mappings:
      Namespace Name Mixin selector
      official e Lkj;e:Ladi;
      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 Lkj;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 Lkj;g:Layg;
      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 Lkj;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, DimensionType dimensionType, Difficulty difficulty, int int3, 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 Liv;a(Lhy;)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 Liv;b(Lhy;)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 Lkj;a(Liy;)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 b Lkj;b()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 c Lkj;c()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 d Lkj;d()Laxv;
      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;
    • method_7799

      @Environment(CLIENT) public DimensionType method_7799()
      Mappings:
      Namespace Name Mixin selector
      official e Lkj;e()Lbod;
      intermediary method_7799 Lnet/minecraft/class_2025;method_7799()Lnet/minecraft/class_3793;
      named method_7799 Lnet/minecraft/network/packet/s2c/play/GameJoinS2CPacket;method_7799()Lnet/minecraft/world/dimension/DimensionType;
    • getDifficulty

      @Environment(CLIENT) public Difficulty getDifficulty()
      Mappings:
      Namespace Name Mixin selector
      official f Lkj;f()Ladi;
      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;
    • getGeneratorType

      @Environment(CLIENT) public LevelGeneratorType getGeneratorType()
      Mappings:
      Namespace Name Mixin selector
      official h Lkj;h()Layg;
      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 i Lkj;i()Z
      intermediary method_10666 Lnet/minecraft/class_2025;method_10666()Z
      named hasReducedDebugInfo Lnet/minecraft/network/packet/s2c/play/GameJoinS2CPacket;hasReducedDebugInfo()Z