public class ServerTitlePacket extends MinecraftPacket
| Constructor and Description |
|---|
ServerTitlePacket(boolean clear) |
ServerTitlePacket(int fadeIn,
int stay,
int fadeOut) |
ServerTitlePacket(String title,
boolean sub,
boolean escape) |
ServerTitlePacket(TitleAction action,
String title,
boolean escape) |
| Modifier and Type | Method and Description |
|---|---|
TitleAction |
getAction() |
String |
getActionBar() |
int |
getFadeIn() |
int |
getFadeOut() |
int |
getStay() |
String |
getSubtitle() |
String |
getTitle() |
void |
read(com.github.steveice10.packetlib.io.NetInput in) |
void |
write(com.github.steveice10.packetlib.io.NetOutput out) |
isPriority, toStringpublic ServerTitlePacket(String title, boolean sub, boolean escape)
public ServerTitlePacket(TitleAction action, String title, boolean escape)
public ServerTitlePacket(int fadeIn,
int stay,
int fadeOut)
public ServerTitlePacket(boolean clear)
public TitleAction getAction()
public String getTitle()
public String getSubtitle()
public String getActionBar()
public int getFadeIn()
public int getStay()
public int getFadeOut()
public void read(com.github.steveice10.packetlib.io.NetInput in)
throws IOException
IOExceptionpublic void write(com.github.steveice10.packetlib.io.NetOutput out)
throws IOException
IOExceptionCopyright © 2020. All rights reserved.