public class PacketPlayOutScoreboardObjective extends WrappedPacket
| Modifier and Type | Field and Description |
|---|---|
int |
action
Possible values:
0 - create the scoreboard
1 - remove the scoreboard
2 - update title
|
ScoreboardDisplayMode |
displayMode |
java.lang.String |
name |
java.lang.String |
title |
| Constructor and Description |
|---|
PacketPlayOutScoreboardObjective() |
PacketPlayOutScoreboardObjective(java.lang.Object packet) |
PacketPlayOutScoreboardObjective(java.lang.String name,
java.lang.String title,
ScoreboardDisplayMode displayMode,
int action) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
getVanillaPacket()
Converts this wrapped packet to a Vanilla/NMS packet
|
void |
loadVanillaPacket(java.lang.Object packet)
Loads a Vanilla/NMS packet to this wrapper
|
toNMSpublic int action
public ScoreboardDisplayMode displayMode
public java.lang.String name
public java.lang.String title
public PacketPlayOutScoreboardObjective()
public PacketPlayOutScoreboardObjective(java.lang.Object packet)
public PacketPlayOutScoreboardObjective(java.lang.String name,
java.lang.String title,
ScoreboardDisplayMode displayMode,
int action)
public java.lang.Object getVanillaPacket()
WrappedPacketgetVanillaPacket in class WrappedPacketpublic void loadVanillaPacket(java.lang.Object packet)
WrappedPacketloadVanillaPacket in class WrappedPacketpacket - - The loadable packet