Class ClientSettingsC2SPacket

java.lang.Object
net.minecraft.network.packet.c2s.play.ClientSettingsC2SPacket
All Implemented Interfaces:
Packet<ServerPlayPacketListener>

public class ClientSettingsC2SPacket extends Object implements Packet<ServerPlayPacketListener>
Mappings:
Namespace Name
official tt
intermediary net/minecraft/class_2803
named net/minecraft/network/packet/c2s/play/ClientSettingsC2SPacket
  • Field Details

    • MAX_LANGUAGE_LENGTH

      public static final int MAX_LANGUAGE_LENGTH
      See Also:
      Constant Field Values
      Mappings:
      Namespace Name Mixin selector
      official a Ltt;a:I
      intermediary field_33360 Lnet/minecraft/class_2803;field_33360:I
      named MAX_LANGUAGE_LENGTH Lnet/minecraft/network/packet/c2s/play/ClientSettingsC2SPacket;MAX_LANGUAGE_LENGTH:I
    • language

      private final String language
      Mappings:
      Namespace Name Mixin selector
      official b Ltt;b:Ljava/lang/String;
      intermediary field_12777 Lnet/minecraft/class_2803;field_12777:Ljava/lang/String;
      named language Lnet/minecraft/network/packet/c2s/play/ClientSettingsC2SPacket;language:Ljava/lang/String;
    • viewDistance

      private final int viewDistance
      Mappings:
      Namespace Name Mixin selector
      official c Ltt;c:I
      intermediary field_12780 Lnet/minecraft/class_2803;field_12780:I
      named viewDistance Lnet/minecraft/network/packet/c2s/play/ClientSettingsC2SPacket;viewDistance:I
    • chatVisibility

      private final ChatVisibility chatVisibility
      Mappings:
      Namespace Name Mixin selector
      official d Ltt;d:Lbkb;
      intermediary field_12781 Lnet/minecraft/class_2803;field_12781:Lnet/minecraft/class_1659;
      named chatVisibility Lnet/minecraft/network/packet/c2s/play/ClientSettingsC2SPacket;chatVisibility:Lnet/minecraft/client/option/ChatVisibility;
    • chatColors

      private final boolean chatColors
      Mappings:
      Namespace Name Mixin selector
      official e Ltt;e:Z
      intermediary field_12779 Lnet/minecraft/class_2803;field_12779:Z
      named chatColors Lnet/minecraft/network/packet/c2s/play/ClientSettingsC2SPacket;chatColors:Z
    • playerModelBitMask

      private final int playerModelBitMask
      Mappings:
      Namespace Name Mixin selector
      official f Ltt;f:I
      intermediary field_12778 Lnet/minecraft/class_2803;field_12778:I
      named playerModelBitMask Lnet/minecraft/network/packet/c2s/play/ClientSettingsC2SPacket;playerModelBitMask:I
    • mainArm

      private final Arm mainArm
      Mappings:
      Namespace Name Mixin selector
      official g Ltt;g:Lato;
      intermediary field_12782 Lnet/minecraft/class_2803;field_12782:Lnet/minecraft/class_1306;
      named mainArm Lnet/minecraft/network/packet/c2s/play/ClientSettingsC2SPacket;mainArm:Lnet/minecraft/util/Arm;
    • filterText

      private final boolean filterText
      Mappings:
      Namespace Name Mixin selector
      official h Ltt;h:Z
      intermediary field_28961 Lnet/minecraft/class_2803;field_28961:Z
      named filterText Lnet/minecraft/network/packet/c2s/play/ClientSettingsC2SPacket;filterText:Z
  • Constructor Details

    • ClientSettingsC2SPacket

      public ClientSettingsC2SPacket(String language, int viewDistance, ChatVisibility chatVisibility, boolean chatColors, int modelBitMask, Arm mainArm, boolean filterText)
      Mappings:
      Namespace Name Mixin selector
      official <init> Ltt;<init>(Ljava/lang/String;ILbkb;ZILato;Z)V
      intermediary <init> Lnet/minecraft/class_2803;<init>(Ljava/lang/String;ILnet/minecraft/class_1659;ZILnet/minecraft/class_1306;Z)V
      named <init> Lnet/minecraft/network/packet/c2s/play/ClientSettingsC2SPacket;<init>(Ljava/lang/String;ILnet/minecraft/client/option/ChatVisibility;ZILnet/minecraft/util/Arm;Z)V
    • ClientSettingsC2SPacket

      public ClientSettingsC2SPacket(PacketByteBuf buf)
      Mappings:
      Namespace Name Mixin selector
      official <init> Ltt;<init>(Log;)V
      intermediary <init> Lnet/minecraft/class_2803;<init>(Lnet/minecraft/class_2540;)V
      named <init> Lnet/minecraft/network/packet/c2s/play/ClientSettingsC2SPacket;<init>(Lnet/minecraft/network/PacketByteBuf;)V
  • Method Details

    • write

      public void write(PacketByteBuf buf)
      Specified by:
      write in interface Packet<ServerPlayPacketListener>
      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(ServerPlayPacketListener serverPlayPacketListener)
      Specified by:
      apply in interface Packet<ServerPlayPacketListener>
      Mappings:
      Namespace Name Mixin selector
      official a Ltt;a(Ltn;)V
      intermediary method_12133 Lnet/minecraft/class_2803;method_12133(Lnet/minecraft/class_2792;)V
      named apply Lnet/minecraft/network/packet/c2s/play/ClientSettingsC2SPacket;apply(Lnet/minecraft/network/listener/ServerPlayPacketListener;)V
    • getLanguage

      public String getLanguage()
      Mappings:
      Namespace Name Mixin selector
      official b Ltt;b()Ljava/lang/String;
      intermediary method_36166 Lnet/minecraft/class_2803;method_36166()Ljava/lang/String;
      named getLanguage Lnet/minecraft/network/packet/c2s/play/ClientSettingsC2SPacket;getLanguage()Ljava/lang/String;
    • getViewDistance

      public int getViewDistance()
      Mappings:
      Namespace Name Mixin selector
      official c Ltt;c()I
      intermediary method_36167 Lnet/minecraft/class_2803;method_36167()I
      named getViewDistance Lnet/minecraft/network/packet/c2s/play/ClientSettingsC2SPacket;getViewDistance()I
    • getChatVisibility

      public ChatVisibility getChatVisibility()
      Mappings:
      Namespace Name Mixin selector
      official d Ltt;d()Lbkb;
      intermediary method_12134 Lnet/minecraft/class_2803;method_12134()Lnet/minecraft/class_1659;
      named getChatVisibility Lnet/minecraft/network/packet/c2s/play/ClientSettingsC2SPacket;getChatVisibility()Lnet/minecraft/client/option/ChatVisibility;
    • hasChatColors

      public boolean hasChatColors()
      Mappings:
      Namespace Name Mixin selector
      official e Ltt;e()Z
      intermediary method_12135 Lnet/minecraft/class_2803;method_12135()Z
      named hasChatColors Lnet/minecraft/network/packet/c2s/play/ClientSettingsC2SPacket;hasChatColors()Z
    • getPlayerModelBitMask

      public int getPlayerModelBitMask()
      Mappings:
      Namespace Name Mixin selector
      official f Ltt;f()I
      intermediary method_12136 Lnet/minecraft/class_2803;method_12136()I
      named getPlayerModelBitMask Lnet/minecraft/network/packet/c2s/play/ClientSettingsC2SPacket;getPlayerModelBitMask()I
    • getMainArm

      public Arm getMainArm()
      Mappings:
      Namespace Name Mixin selector
      official g Ltt;g()Lato;
      intermediary method_12132 Lnet/minecraft/class_2803;method_12132()Lnet/minecraft/class_1306;
      named getMainArm Lnet/minecraft/network/packet/c2s/play/ClientSettingsC2SPacket;getMainArm()Lnet/minecraft/util/Arm;
    • shouldFilterText

      public boolean shouldFilterText()
      Mappings:
      Namespace Name Mixin selector
      official h Ltt;h()Z
      intermediary method_33894 Lnet/minecraft/class_2803;method_33894()Z
      named shouldFilterText Lnet/minecraft/network/packet/c2s/play/ClientSettingsC2SPacket;shouldFilterText()Z