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
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
TitleS2CPacket.Action
-
Field Summary
Fields Modifier and Type Field Description private TitleS2CPacket.Action
action
private int
fadeInTicks
private int
fadeOutTicks
private int
stayTicks
private Text
text
-
Constructor Summary
Constructors Constructor Description TitleS2CPacket()
TitleS2CPacket(int fadeInTicks, int stayTicks, int fadeOutTicks)
TitleS2CPacket(TitleS2CPacket.Action action, Text text)
TitleS2CPacket(TitleS2CPacket.Action action, Text text, int fadeInTicks, int stayTicks, int fadeOutTicks)
-
Method Summary
Modifier and Type Method Description void
apply(ClientPlayPacketListener clientPlayPacketListener)
TitleS2CPacket.Action
getAction()
int
getFadeInTicks()
int
getFadeOutTicks()
int
getStayTicks()
Text
getText()
void
read(PacketByteBuf buf)
void
write(PacketByteBuf buf)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.network.Packet
isWritingErrorSkippable
-
Field Details
-
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
- 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
- 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
- Specified by:
read
in interfacePacket<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
- Specified by:
write
in interfacePacket<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
- Specified by:
apply
in interfacePacket<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
- 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
- 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
- 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
- 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
-