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 tz
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 Ltz;a:Lpt;
      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> Ltz;<init>(Lpt;)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> Ltz;<init>(Lph;)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 Lql;a(Lph;)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 Ltz;a(Lqo;)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 Ltz;b()Lpt;
      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;