Class LoginCompressionS2CPacket

java.lang.Object
net.minecraft.network.packet.s2c.login.LoginCompressionS2CPacket
All Implemented Interfaces:
Packet<ClientLoginPacketListener>

public class LoginCompressionS2CPacket extends Object implements Packet<ClientLoginPacketListener>
Mappings:
Namespace Name
named net/minecraft/network/packet/s2c/login/LoginCompressionS2CPacket
intermediary net/minecraft/class_2907
official ajx
  • Field Details

    • CODEC

      Mappings:
      Namespace Name Mixin selector
      named CODEC Lnet/minecraft/network/packet/s2c/login/LoginCompressionS2CPacket;CODEC:Lnet/minecraft/network/codec/PacketCodec;
      intermediary field_48236 Lnet/minecraft/class_2907;field_48236:Lnet/minecraft/class_9139;
      official a Lajx;a:Lzt;
    • compressionThreshold

      private final int compressionThreshold
      Mappings:
      Namespace Name Mixin selector
      named compressionThreshold Lnet/minecraft/network/packet/s2c/login/LoginCompressionS2CPacket;compressionThreshold:I
      intermediary field_13232 Lnet/minecraft/class_2907;field_13232:I
      official b Lajx;b:I
  • Constructor Details

    • LoginCompressionS2CPacket

      public LoginCompressionS2CPacket(int compressionThreshold)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/network/packet/s2c/login/LoginCompressionS2CPacket;<init>(I)V
      intermediary <init> Lnet/minecraft/class_2907;<init>(I)V
      official <init> Lajx;<init>(I)V
    • LoginCompressionS2CPacket

      private LoginCompressionS2CPacket(PacketByteBuf buf)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/network/packet/s2c/login/LoginCompressionS2CPacket;<init>(Lnet/minecraft/network/PacketByteBuf;)V
      intermediary <init> Lnet/minecraft/class_2907;<init>(Lnet/minecraft/class_2540;)V
      official <init> Lajx;<init>(Lws;)V
  • Method Details

    • write

      private void write(PacketByteBuf buf)
      Mappings:
      Namespace Name Mixin selector
      named write Lnet/minecraft/network/packet/s2c/login/LoginCompressionS2CPacket;write(Lnet/minecraft/network/PacketByteBuf;)V
      intermediary method_56014 Lnet/minecraft/class_2907;method_56014(Lnet/minecraft/class_2540;)V
      official a Lajx;a(Lws;)V
    • getPacketId

      public PacketType<LoginCompressionS2CPacket> getPacketId()
      Specified by:
      getPacketId in interface Packet<ClientLoginPacketListener>
      Mappings:
      Namespace Name Mixin selector
      named getPacketId Lnet/minecraft/network/packet/Packet;getPacketId()Lnet/minecraft/network/packet/PacketType;
      intermediary method_55846 Lnet/minecraft/class_2596;method_55846()Lnet/minecraft/class_9145;
      official a Laac;a()Laae;
    • apply

      public void apply(ClientLoginPacketListener clientLoginPacketListener)
      Specified by:
      apply in interface Packet<ClientLoginPacketListener>
      Mappings:
      Namespace Name Mixin selector
      named apply Lnet/minecraft/network/packet/s2c/login/LoginCompressionS2CPacket;apply(Lnet/minecraft/network/listener/ClientLoginPacketListener;)V
      intermediary method_12633 Lnet/minecraft/class_2907;method_12633(Lnet/minecraft/class_2896;)V
      official a Lajx;a(Laju;)V
    • getCompressionThreshold

      public int getCompressionThreshold()
      Mappings:
      Namespace Name Mixin selector
      named getCompressionThreshold Lnet/minecraft/network/packet/s2c/login/LoginCompressionS2CPacket;getCompressionThreshold()I
      intermediary method_12634 Lnet/minecraft/class_2907;method_12634()I
      official b Lajx;b()I