public class STitlePacket extends java.lang.Object implements IPacket<IClientPlayNetHandler>
| 修飾子とタイプ | クラスと説明 |
|---|---|
static class |
STitlePacket.Type |
| コンストラクタと説明 |
|---|
STitlePacket() |
STitlePacket(int fadeInTimeIn,
int displayTimeIn,
int fadeOutTimeIn) |
STitlePacket(STitlePacket.Type typeIn,
ITextComponent messageIn) |
STitlePacket(STitlePacket.Type typeIn,
ITextComponent messageIn,
int fadeInTimeIn,
int displayTimeIn,
int fadeOutTimeIn) |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
int |
getDisplayTime() |
int |
getFadeInTime() |
int |
getFadeOutTime() |
ITextComponent |
getMessage() |
STitlePacket.Type |
getType() |
void |
processPacket(IClientPlayNetHandler handler)
Passes this Packet on to the NetHandler for processing.
|
void |
readPacketData(PacketBuffer buf)
Reads the raw packet data from the data stream.
|
void |
writePacketData(PacketBuffer buf)
Writes the raw packet data to the data stream.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitshouldSkipErrorspublic STitlePacket()
public STitlePacket(STitlePacket.Type typeIn, ITextComponent messageIn)
public STitlePacket(int fadeInTimeIn,
int displayTimeIn,
int fadeOutTimeIn)
public STitlePacket(STitlePacket.Type typeIn, @Nullable ITextComponent messageIn, int fadeInTimeIn, int displayTimeIn, int fadeOutTimeIn)
public void readPacketData(PacketBuffer buf) throws java.io.IOException
readPacketData インタフェース内 IPacket<IClientPlayNetHandler>java.io.IOExceptionpublic void writePacketData(PacketBuffer buf) throws java.io.IOException
writePacketData インタフェース内 IPacket<IClientPlayNetHandler>java.io.IOExceptionpublic void processPacket(IClientPlayNetHandler handler)
processPacket インタフェース内 IPacket<IClientPlayNetHandler>public STitlePacket.Type getType()
public ITextComponent getMessage()
public int getFadeInTime()
public int getDisplayTime()
public int getFadeOutTime()