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 sd
intermediary net/minecraft/class_2762
named net/minecraft/network/packet/s2c/play/TitleS2CPacket
  • Field Details

    • action

      private TitleS2CPacket.Action action
      Mappings:
      Namespace Name Mixin selector
      official a Lsd;a:Lsd$a;
      intermediary field_12625 Lnet/minecraft/class_2762;field_12625:Lnet/minecraft/class_2762$class_2763;
      named action Lnet/minecraft/network/packet/s2c/play/TitleS2CPacket;action:Lnet/minecraft/network/packet/s2c/play/TitleS2CPacket$Action;
    • text

      private Text text
      Mappings:
      Namespace Name Mixin selector
      official b Lsd;b:Loi;
      intermediary field_12626 Lnet/minecraft/class_2762;field_12626:Lnet/minecraft/class_2561;
      named text Lnet/minecraft/network/packet/s2c/play/TitleS2CPacket;text:Lnet/minecraft/text/Text;
    • fadeInTicks

      private int fadeInTicks
      Mappings:
      Namespace Name Mixin selector
      official c Lsd;c:I
      intermediary field_12624 Lnet/minecraft/class_2762;field_12624:I
      named fadeInTicks Lnet/minecraft/network/packet/s2c/play/TitleS2CPacket;fadeInTicks:I
    • stayTicks

      private int stayTicks
      Mappings:
      Namespace Name Mixin selector
      official d Lsd;d:I
      intermediary field_12623 Lnet/minecraft/class_2762;field_12623:I
      named stayTicks Lnet/minecraft/network/packet/s2c/play/TitleS2CPacket;stayTicks:I
    • fadeOutTicks

      private int fadeOutTicks
      Mappings:
      Namespace Name Mixin selector
      official e Lsd;e:I
      intermediary field_12622 Lnet/minecraft/class_2762;field_12622:I
      named fadeOutTicks Lnet/minecraft/network/packet/s2c/play/TitleS2CPacket;fadeOutTicks:I
  • Constructor Details

    • TitleS2CPacket

      public TitleS2CPacket()
    • TitleS2CPacket

      public TitleS2CPacket​(TitleS2CPacket.Action action, Text text)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lsd;<init>(Lsd$a;Loi;)V
      intermediary <init> Lnet/minecraft/class_2762;<init>(Lnet/minecraft/class_2762$class_2763;Lnet/minecraft/class_2561;)V
      named <init> Lnet/minecraft/network/packet/s2c/play/TitleS2CPacket;<init>(Lnet/minecraft/network/packet/s2c/play/TitleS2CPacket$Action;Lnet/minecraft/text/Text;)V
    • TitleS2CPacket

      public TitleS2CPacket​(int fadeInTicks, int stayTicks, int fadeOutTicks)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lsd;<init>(III)V
      intermediary <init> Lnet/minecraft/class_2762;<init>(III)V
      named <init> Lnet/minecraft/network/packet/s2c/play/TitleS2CPacket;<init>(III)V
    • TitleS2CPacket

      public TitleS2CPacket​(TitleS2CPacket.Action action, @Nullable Text text, int fadeInTicks, int stayTicks, int fadeOutTicks)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lsd;<init>(Lsd$a;Loi;III)V
      intermediary <init> Lnet/minecraft/class_2762;<init>(Lnet/minecraft/class_2762$class_2763;Lnet/minecraft/class_2561;III)V
      named <init> Lnet/minecraft/network/packet/s2c/play/TitleS2CPacket;<init>(Lnet/minecraft/network/packet/s2c/play/TitleS2CPacket$Action;Lnet/minecraft/text/Text;III)V
  • Method Details

    • read

      public void read​(PacketByteBuf buf) throws IOException
      Specified by:
      read in interface Packet<ClientPlayPacketListener>
      Throws:
      IOException
      Mappings:
      Namespace Name Mixin selector
      official a Lpa;a(Lnw;)V
      intermediary method_11053 Lnet/minecraft/class_2596;method_11053(Lnet/minecraft/class_2540;)V
      named read Lnet/minecraft/network/Packet;read(Lnet/minecraft/network/PacketByteBuf;)V
    • write

      public void write​(PacketByteBuf buf) throws IOException
      Specified by:
      write in interface Packet<ClientPlayPacketListener>
      Throws:
      IOException
      Mappings:
      Namespace Name Mixin selector
      official b Lpa;b(Lnw;)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 Lsd;a(Lpd;)V
      intermediary method_11879 Lnet/minecraft/class_2762;method_11879(Lnet/minecraft/class_2602;)V
      named apply Lnet/minecraft/network/packet/s2c/play/TitleS2CPacket;apply(Lnet/minecraft/network/listener/ClientPlayPacketListener;)V
    • getAction

      Mappings:
      Namespace Name Mixin selector
      official b Lsd;b()Lsd$a;
      intermediary method_11878 Lnet/minecraft/class_2762;method_11878()Lnet/minecraft/class_2762$class_2763;
      named getAction Lnet/minecraft/network/packet/s2c/play/TitleS2CPacket;getAction()Lnet/minecraft/network/packet/s2c/play/TitleS2CPacket$Action;
    • getText

      @Environment(CLIENT) public Text getText()
      Mappings:
      Namespace Name Mixin selector
      official c Lsd;c()Loi;
      intermediary method_11877 Lnet/minecraft/class_2762;method_11877()Lnet/minecraft/class_2561;
      named getText Lnet/minecraft/network/packet/s2c/play/TitleS2CPacket;getText()Lnet/minecraft/text/Text;
    • getFadeInTicks

      @Environment(CLIENT) public int getFadeInTicks()
      Mappings:
      Namespace Name Mixin selector
      official d Lsd;d()I
      intermediary method_11874 Lnet/minecraft/class_2762;method_11874()I
      named getFadeInTicks Lnet/minecraft/network/packet/s2c/play/TitleS2CPacket;getFadeInTicks()I
    • getStayTicks

      @Environment(CLIENT) public int getStayTicks()
      Mappings:
      Namespace Name Mixin selector
      official e Lsd;e()I
      intermediary method_11876 Lnet/minecraft/class_2762;method_11876()I
      named getStayTicks Lnet/minecraft/network/packet/s2c/play/TitleS2CPacket;getStayTicks()I
    • getFadeOutTicks

      @Environment(CLIENT) public int getFadeOutTicks()
      Mappings:
      Namespace Name Mixin selector
      official f Lsd;f()I
      intermediary method_11875 Lnet/minecraft/class_2762;method_11875()I
      named getFadeOutTicks Lnet/minecraft/network/packet/s2c/play/TitleS2CPacket;getFadeOutTicks()I