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
official xl
intermediary net/minecraft/class_2907
named net/minecraft/network/packet/s2c/login/LoginCompressionS2CPacket
  • Field Details

    • compressionThreshold

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

    • LoginCompressionS2CPacket

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

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

    • write

      public void write(PacketByteBuf buf)
      Specified by:
      write in interface Packet<ClientLoginPacketListener>
      Mappings:
      Namespace Name Mixin selector
      official a Lrc;a(Lpy;)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(ClientLoginPacketListener clientLoginPacketListener)
      Specified by:
      apply in interface Packet<ClientLoginPacketListener>
      Mappings:
      Namespace Name Mixin selector
      official a Lxl;a(Lxh;)V
      intermediary method_12633 Lnet/minecraft/class_2907;method_12633(Lnet/minecraft/class_2896;)V
      named apply Lnet/minecraft/network/packet/s2c/login/LoginCompressionS2CPacket;apply(Lnet/minecraft/network/listener/ClientLoginPacketListener;)V
    • getCompressionThreshold

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