Class STitlePacket
- java.lang.Object
-
- net.minecraft.network.play.server.STitlePacket
-
- All Implemented Interfaces:
IPacket<IClientPlayNetHandler>
public class STitlePacket extends java.lang.Object implements IPacket<IClientPlayNetHandler>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
STitlePacket.Type
-
Field Summary
Fields Modifier and Type Field Description private int
fadeInTime
private int
fadeOutTime
private int
stayTime
private ITextComponent
text
private STitlePacket.Type
type
-
Constructor Summary
Constructors Constructor Description STitlePacket()
STitlePacket(int p_i46900_1_, int p_i46900_2_, int p_i46900_3_)
STitlePacket(STitlePacket.Type p_i46899_1_, ITextComponent p_i46899_2_)
STitlePacket(STitlePacket.Type p_i46901_1_, ITextComponent p_i46901_2_, int p_i46901_3_, int p_i46901_4_, int p_i46901_5_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getFadeInTime()
int
getFadeOutTime()
int
getStayTime()
ITextComponent
getText()
STitlePacket.Type
getType()
void
handle(IClientPlayNetHandler p_148833_1_)
void
read(PacketBuffer p_148837_1_)
void
write(PacketBuffer p_148840_1_)
-
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.IPacket
isSkippable
-
-
-
-
Field Detail
-
type
private STitlePacket.Type type
-
text
private ITextComponent text
-
fadeInTime
private int fadeInTime
-
stayTime
private int stayTime
-
fadeOutTime
private int fadeOutTime
-
-
Constructor Detail
-
STitlePacket
public STitlePacket()
-
STitlePacket
public STitlePacket(STitlePacket.Type p_i46899_1_, ITextComponent p_i46899_2_)
-
STitlePacket
public STitlePacket(int p_i46900_1_, int p_i46900_2_, int p_i46900_3_)
-
STitlePacket
public STitlePacket(STitlePacket.Type p_i46901_1_, @Nullable ITextComponent p_i46901_2_, int p_i46901_3_, int p_i46901_4_, int p_i46901_5_)
-
-
Method Detail
-
read
public void read(PacketBuffer p_148837_1_) throws java.io.IOException
- Specified by:
read
in interfaceIPacket<IClientPlayNetHandler>
- Throws:
java.io.IOException
-
write
public void write(PacketBuffer p_148840_1_) throws java.io.IOException
- Specified by:
write
in interfaceIPacket<IClientPlayNetHandler>
- Throws:
java.io.IOException
-
handle
public void handle(IClientPlayNetHandler p_148833_1_)
- Specified by:
handle
in interfaceIPacket<IClientPlayNetHandler>
-
getType
public STitlePacket.Type getType()
-
getText
public ITextComponent getText()
-
getFadeInTime
public int getFadeInTime()
-
getStayTime
public int getStayTime()
-
getFadeOutTime
public int getFadeOutTime()
-
-