Class STitlePacket
java.lang.Object
net.minecraft.network.play.server.STitlePacket
- All Implemented Interfaces:
IPacket<IClientPlayNetHandler>
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionprivate int
private int
private int
private ITextComponent
private STitlePacket.Type
-
Constructor Summary
ConstructorDescriptionSTitlePacket
(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
Modifier and TypeMethodDescriptionint
int
int
getText()
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 Details
-
type
-
text
-
fadeInTime
private int fadeInTime -
stayTime
private int stayTime -
fadeOutTime
private int fadeOutTime
-
-
Constructor Details
-
STitlePacket
public STitlePacket() -
STitlePacket
-
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 Details
-
read
- Specified by:
read
in interfaceIPacket<IClientPlayNetHandler>
- Throws:
IOException
-
write
- Specified by:
write
in interfaceIPacket<IClientPlayNetHandler>
- Throws:
IOException
-
handle
- Specified by:
handle
in interfaceIPacket<IClientPlayNetHandler>
-
getType
-
getText
-
getFadeInTime
public int getFadeInTime() -
getStayTime
public int getStayTime() -
getFadeOutTime
public int getFadeOutTime()
-