Class PlayerListHeaderS2CPacket

java.lang.Object
net.minecraft.network.packet.s2c.play.PlayerListHeaderS2CPacket
All Implemented Interfaces:
Packet<ClientPlayPacketListener>

public class PlayerListHeaderS2CPacket extends Object implements Packet<ClientPlayPacketListener>
Mappings:
Namespace Name
official wk
intermediary net/minecraft/class_2772
named net/minecraft/network/packet/s2c/play/PlayerListHeaderS2CPacket
  • Field Details

  • Constructor Details

    • PlayerListHeaderS2CPacket

      public PlayerListHeaderS2CPacket(Text header, Text footer)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lwk;<init>(Lrm;Lrm;)V
      intermediary <init> Lnet/minecraft/class_2772;<init>(Lnet/minecraft/class_2561;Lnet/minecraft/class_2561;)V
      named <init> Lnet/minecraft/network/packet/s2c/play/PlayerListHeaderS2CPacket;<init>(Lnet/minecraft/text/Text;Lnet/minecraft/text/Text;)V
    • PlayerListHeaderS2CPacket

      public PlayerListHeaderS2CPacket(PacketByteBuf buf)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lwk;<init>(Lqx;)V
      intermediary <init> Lnet/minecraft/class_2772;<init>(Lnet/minecraft/class_2540;)V
      named <init> Lnet/minecraft/network/packet/s2c/play/PlayerListHeaderS2CPacket;<init>(Lnet/minecraft/network/PacketByteBuf;)V
  • Method Details

    • write

      public void write(PacketByteBuf buf)
      Specified by:
      write in interface Packet<ClientPlayPacketListener>
      Mappings:
      Namespace Name Mixin selector
      official a Lso;a(Lqx;)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(ClientPlayPacketListener clientPlayPacketListener)
      Specified by:
      apply in interface Packet<ClientPlayPacketListener>
      Mappings:
      Namespace Name Mixin selector
      official a Lwk;a(Lsr;)V
      intermediary method_11907 Lnet/minecraft/class_2772;method_11907(Lnet/minecraft/class_2602;)V
      named apply Lnet/minecraft/network/packet/s2c/play/PlayerListHeaderS2CPacket;apply(Lnet/minecraft/network/listener/ClientPlayPacketListener;)V
    • getHeader

      public Text getHeader()
      Mappings:
      Namespace Name Mixin selector
      official b Lwk;b()Lrm;
      intermediary method_11908 Lnet/minecraft/class_2772;method_11908()Lnet/minecraft/class_2561;
      named getHeader Lnet/minecraft/network/packet/s2c/play/PlayerListHeaderS2CPacket;getHeader()Lnet/minecraft/text/Text;
    • getFooter

      public Text getFooter()
      Mappings:
      Namespace Name Mixin selector
      official c Lwk;c()Lrm;
      intermediary method_11906 Lnet/minecraft/class_2772;method_11906()Lnet/minecraft/class_2561;
      named getFooter Lnet/minecraft/network/packet/s2c/play/PlayerListHeaderS2CPacket;getFooter()Lnet/minecraft/text/Text;