Class TitleS2CPacket

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

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

    • title

      private final Text title
      Mappings:
      Namespace Name Mixin selector
      official a Lus;a:Lqk;
      intermediary field_29166 Lnet/minecraft/class_5904;field_29166:Lnet/minecraft/class_2561;
      named title Lnet/minecraft/network/packet/s2c/play/TitleS2CPacket;title:Lnet/minecraft/text/Text;
  • Constructor Details

    • TitleS2CPacket

      public TitleS2CPacket(Text title)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lus;<init>(Lqk;)V
      intermediary <init> Lnet/minecraft/class_5904;<init>(Lnet/minecraft/class_2561;)V
      named <init> Lnet/minecraft/network/packet/s2c/play/TitleS2CPacket;<init>(Lnet/minecraft/text/Text;)V
    • TitleS2CPacket

      public TitleS2CPacket(PacketByteBuf buf)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lus;<init>(Lpy;)V
      intermediary <init> Lnet/minecraft/class_5904;<init>(Lnet/minecraft/class_2540;)V
      named <init> Lnet/minecraft/network/packet/s2c/play/TitleS2CPacket;<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 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(ClientPlayPacketListener clientPlayPacketListener)
      Specified by:
      apply in interface Packet<ClientPlayPacketListener>
      Mappings:
      Namespace Name Mixin selector
      official a Lus;a(Lrf;)V
      intermediary method_34191 Lnet/minecraft/class_5904;method_34191(Lnet/minecraft/class_2602;)V
      named apply Lnet/minecraft/network/packet/s2c/play/TitleS2CPacket;apply(Lnet/minecraft/network/listener/ClientPlayPacketListener;)V
    • getTitle

      public Text getTitle()
      Mappings:
      Namespace Name Mixin selector
      official b Lus;b()Lqk;
      intermediary method_34192 Lnet/minecraft/class_5904;method_34192()Lnet/minecraft/class_2561;
      named getTitle Lnet/minecraft/network/packet/s2c/play/TitleS2CPacket;getTitle()Lnet/minecraft/text/Text;