Class ServerboundClientInformationPacket

java.lang.Object
net.minecraft.network.protocol.game.ServerboundClientInformationPacket
All Implemented Interfaces:
Packet<ServerGamePacketListener>

public class ServerboundClientInformationPacket extends Object implements Packet<ServerGamePacketListener>
  • Field Details

    • MAX_LANGUAGE_LENGTH

      public static final int MAX_LANGUAGE_LENGTH
      See Also:
      Constant Field Values
    • language

      private final String language
    • viewDistance

      private final int viewDistance
    • chatVisibility

      private final ChatVisiblity chatVisibility
    • chatColors

      private final boolean chatColors
    • modelCustomisation

      private final int modelCustomisation
    • mainHand

      private final HumanoidArm mainHand
    • textFilteringEnabled

      private final boolean textFilteringEnabled
  • Constructor Details

    • ServerboundClientInformationPacket

      public ServerboundClientInformationPacket(String p_179552_, int p_179553_, ChatVisiblity p_179554_, boolean p_179555_, int p_179556_, HumanoidArm p_179557_, boolean p_179558_)
    • ServerboundClientInformationPacket

      public ServerboundClientInformationPacket(FriendlyByteBuf p_179560_)
  • Method Details