public class ServerScoreboardObjectivePacket extends MinecraftPacket
| Constructor and Description |
|---|
ServerScoreboardObjectivePacket(String name) |
ServerScoreboardObjectivePacket(String name,
ObjectiveAction action,
String displayName,
ScoreType type) |
| Modifier and Type | Method and Description |
|---|---|
ObjectiveAction |
getAction() |
String |
getDisplayName() |
String |
getName() |
ScoreType |
getType() |
void |
read(com.github.steveice10.packetlib.io.NetInput in) |
void |
write(com.github.steveice10.packetlib.io.NetOutput out) |
isPriority, toStringpublic ServerScoreboardObjectivePacket(String name)
public ServerScoreboardObjectivePacket(String name, ObjectiveAction action, String displayName, ScoreType type)
public String getName()
public ObjectiveAction getAction()
public String getDisplayName()
public ScoreType getType()
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.