Class SubtitleS2CPacket

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

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

    • subtitle

      private final Text subtitle
      Mappings:
      Namespace Name Mixin selector
      official a Lxw;a:Lss;
      intermediary field_29165 Lnet/minecraft/class_5903;field_29165:Lnet/minecraft/class_2561;
      named subtitle Lnet/minecraft/network/packet/s2c/play/SubtitleS2CPacket;subtitle:Lnet/minecraft/text/Text;
  • Constructor Details

    • SubtitleS2CPacket

      public SubtitleS2CPacket(Text subtitle)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lxw;<init>(Lss;)V
      intermediary <init> Lnet/minecraft/class_5903;<init>(Lnet/minecraft/class_2561;)V
      named <init> Lnet/minecraft/network/packet/s2c/play/SubtitleS2CPacket;<init>(Lnet/minecraft/text/Text;)V
    • SubtitleS2CPacket

      public SubtitleS2CPacket(PacketByteBuf buf)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lxw;<init>(Lsd;)V
      intermediary <init> Lnet/minecraft/class_5903;<init>(Lnet/minecraft/class_2540;)V
      named <init> Lnet/minecraft/network/packet/s2c/play/SubtitleS2CPacket;<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 Luh;a(Lsd;)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 Lxw;a(Luk;)V
      intermediary method_34189 Lnet/minecraft/class_5903;method_34189(Lnet/minecraft/class_2602;)V
      named apply Lnet/minecraft/network/packet/s2c/play/SubtitleS2CPacket;apply(Lnet/minecraft/network/listener/ClientPlayPacketListener;)V
    • getSubtitle

      public Text getSubtitle()
      Mappings:
      Namespace Name Mixin selector
      official b Lxw;b()Lss;
      intermediary method_34190 Lnet/minecraft/class_5903;method_34190()Lnet/minecraft/class_2561;
      named getSubtitle Lnet/minecraft/network/packet/s2c/play/SubtitleS2CPacket;getSubtitle()Lnet/minecraft/text/Text;