public class SetScorePacket extends java.lang.Object implements BedrockPacket
| Modifier and Type | Class and Description |
|---|---|
static class |
SetScorePacket.Action
Deprecated.
since v2168
|
| Constructor and Description |
|---|
SetScorePacket() |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
canEqual(java.lang.Object other) |
SetScorePacket |
clone()
Creates a new instance of this packet using Object.clone()
Will throw a
UnsupportedOperationException if the packet implements ReferenceCounted |
boolean |
equals(java.lang.Object o) |
SetScorePacket.Action |
getAction()
Deprecated.
since v2168, now uses ScorerType from ScoreInfo
|
java.util.List<ScoreInfo> |
getInfos() |
BedrockPacketType |
getPacketType() |
org.cloudburstmc.protocol.common.PacketSignal |
handle(BedrockPacketHandler handler) |
int |
hashCode() |
void |
setAction(SetScorePacket.Action action)
Deprecated.
since v2168, now uses ScorerType from ScoreInfo
|
void |
setInfos(java.util.List<ScoreInfo> infos) |
java.lang.String |
toString() |
public final org.cloudburstmc.protocol.common.PacketSignal handle(BedrockPacketHandler handler)
handle in interface BedrockPacketpublic BedrockPacketType getPacketType()
getPacketType in interface BedrockPacketpublic SetScorePacket clone()
BedrockPacketUnsupportedOperationException if the packet implements ReferenceCountedclone in interface BedrockPacketclone in class java.lang.Object@Deprecated public SetScorePacket.Action getAction()
public java.util.List<ScoreInfo> getInfos()
@Deprecated public void setAction(SetScorePacket.Action action)
public void setInfos(java.util.List<ScoreInfo> infos)
public boolean equals(java.lang.Object o)
equals in class java.lang.Objectprotected boolean canEqual(java.lang.Object other)
public int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object