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

    • compressionThreshold

      private int compressionThreshold
      Mappings:
      Namespace Name Mixin selector
      official a Lji;a:I
      intermediary field_6483 Lnet/minecraft/class_1588;field_6483:I
      named compressionThreshold Lnet/minecraft/network/packet/s2c/login/LoginCompressionS2CPacket;compressionThreshold:I
  • Constructor Details

    • LoginCompressionS2CPacket

      public LoginCompressionS2CPacket()
    • LoginCompressionS2CPacket

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

    • read

      public void read​(PacketByteBuf buf) throws IOException
      Specified by:
      read in interface Packet<ClientLoginPacketListener>
      Throws:
      IOException
      Mappings:
      Namespace Name Mixin selector
      official a Lff;a(Lem;)V
      intermediary method_5238 Lnet/minecraft/class_1457;method_5238(Lnet/minecraft/class_1435;)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<ClientLoginPacketListener>
      Throws:
      IOException
      Mappings:
      Namespace Name Mixin selector
      official b Lff;b(Lem;)V
      intermediary method_5240 Lnet/minecraft/class_1457;method_5240(Lnet/minecraft/class_1435;)V
      named write Lnet/minecraft/network/Packet;write(Lnet/minecraft/util/PacketByteBuf;)V
    • apply

      public void apply​(ClientLoginPacketListener clientLoginPacketListener)
      Specified by:
      apply in interface Packet<ClientLoginPacketListener>
      Mappings:
      Namespace Name Mixin selector
      official a Lji;a(Ljf;)V
      intermediary method_5841 Lnet/minecraft/class_1588;method_5841(Lnet/minecraft/class_1585;)V
      named apply Lnet/minecraft/network/packet/s2c/login/LoginCompressionS2CPacket;apply(Lnet/minecraft/network/listener/ClientLoginPacketListener;)V
    • getCompressionThreshold

      @Environment(CLIENT) public int getCompressionThreshold()
      Mappings:
      Namespace Name Mixin selector
      official a Lji;a()I
      intermediary method_5840 Lnet/minecraft/class_1588;method_5840()I
      named getCompressionThreshold Lnet/minecraft/network/packet/s2c/login/LoginCompressionS2CPacket;getCompressionThreshold()I