Class TitleFadeS2CPacket

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

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

    • CODEC

      public static final PacketCodec<PacketByteBuf,TitleFadeS2CPacket> CODEC
      Mappings:
      Namespace Name Mixin selector
      named CODEC Lnet/minecraft/network/packet/s2c/play/TitleFadeS2CPacket;CODEC:Lnet/minecraft/network/codec/PacketCodec;
      intermediary field_47993 Lnet/minecraft/class_5905;field_47993:Lnet/minecraft/class_9139;
      official a Lafn;a:Lyx;
    • fadeInTicks

      private final int fadeInTicks
      Mappings:
      Namespace Name Mixin selector
      named fadeInTicks Lnet/minecraft/network/packet/s2c/play/TitleFadeS2CPacket;fadeInTicks:I
      intermediary field_29167 Lnet/minecraft/class_5905;field_29167:I
      official b Lafn;b:I
    • stayTicks

      private final int stayTicks
      Mappings:
      Namespace Name Mixin selector
      named stayTicks Lnet/minecraft/network/packet/s2c/play/TitleFadeS2CPacket;stayTicks:I
      intermediary field_29168 Lnet/minecraft/class_5905;field_29168:I
      official c Lafn;c:I
    • fadeOutTicks

      private final int fadeOutTicks
      Mappings:
      Namespace Name Mixin selector
      named fadeOutTicks Lnet/minecraft/network/packet/s2c/play/TitleFadeS2CPacket;fadeOutTicks:I
      intermediary field_29169 Lnet/minecraft/class_5905;field_29169:I
      official d Lafn;d:I
  • Constructor Details

    • TitleFadeS2CPacket

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

      private TitleFadeS2CPacket(PacketByteBuf buf)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/network/packet/s2c/play/TitleFadeS2CPacket;<init>(Lnet/minecraft/network/PacketByteBuf;)V
      intermediary <init> Lnet/minecraft/class_5905;<init>(Lnet/minecraft/class_2540;)V
      official <init> Lafn;<init>(Lvw;)V
  • Method Details

    • write

      private void write(PacketByteBuf buf)
      Mappings:
      Namespace Name Mixin selector
      named write Lnet/minecraft/network/packet/s2c/play/TitleFadeS2CPacket;write(Lnet/minecraft/network/PacketByteBuf;)V
      intermediary method_55940 Lnet/minecraft/class_5905;method_55940(Lnet/minecraft/class_2540;)V
      official a Lafn;a(Lvw;)V
    • getPacketId

      public PacketType<TitleFadeS2CPacket> getPacketId()
      Specified by:
      getPacketId in interface Packet<ClientPlayPacketListener>
      Mappings:
      Namespace Name Mixin selector
      named getPacketId Lnet/minecraft/network/packet/Packet;getPacketId()Lnet/minecraft/network/packet/PacketType;
      intermediary method_55846 Lnet/minecraft/class_2596;method_55846()Lnet/minecraft/class_9145;
      official a Lzg;a()Lzi;
    • apply

      public void apply(ClientPlayPacketListener clientPlayPacketListener)
      Specified by:
      apply in interface Packet<ClientPlayPacketListener>
      Mappings:
      Namespace Name Mixin selector
      named apply Lnet/minecraft/network/packet/s2c/play/TitleFadeS2CPacket;apply(Lnet/minecraft/network/listener/ClientPlayPacketListener;)V
      intermediary method_34193 Lnet/minecraft/class_5905;method_34193(Lnet/minecraft/class_2602;)V
      official a Lafn;a(Labu;)V
    • getFadeInTicks

      public int getFadeInTicks()
      Mappings:
      Namespace Name Mixin selector
      named getFadeInTicks Lnet/minecraft/network/packet/s2c/play/TitleFadeS2CPacket;getFadeInTicks()I
      intermediary method_34194 Lnet/minecraft/class_5905;method_34194()I
      official b Lafn;b()I
    • getStayTicks

      public int getStayTicks()
      Mappings:
      Namespace Name Mixin selector
      named getStayTicks Lnet/minecraft/network/packet/s2c/play/TitleFadeS2CPacket;getStayTicks()I
      intermediary method_34195 Lnet/minecraft/class_5905;method_34195()I
      official e Lafn;e()I
    • getFadeOutTicks

      public int getFadeOutTicks()
      Mappings:
      Namespace Name Mixin selector
      named getFadeOutTicks Lnet/minecraft/network/packet/s2c/play/TitleFadeS2CPacket;getFadeOutTicks()I
      intermediary method_34196 Lnet/minecraft/class_5905;method_34196()I
      official f Lafn;f()I