public class ScoreboardDisplay extends DefinedPacket
| Constructor and Description |
|---|
ScoreboardDisplay() |
ScoreboardDisplay(byte position,
String name) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
String |
getName() |
byte |
getPosition()
0 = list, 1 = side, 2 = below.
|
void |
handle(AbstractPacketHandler handler) |
int |
hashCode() |
void |
read(io.netty.buffer.ByteBuf buf) |
void |
setName(String name) |
void |
setPosition(byte position)
0 = list, 1 = side, 2 = below.
|
String |
toString() |
void |
write(io.netty.buffer.ByteBuf buf) |
read, readArray, readArray, readString, readString, readStringArray, readUUID, readVarInt, readVarInt, readVarIntArray, readVarShort, toArray, write, writeArray, writeString, writeString, writeStringArray, writeUUID, writeVarInt, writeVarShortpublic ScoreboardDisplay()
public ScoreboardDisplay(byte position,
String name)
public void read(io.netty.buffer.ByteBuf buf)
read in class DefinedPacketpublic void write(io.netty.buffer.ByteBuf buf)
write in class DefinedPacketpublic void handle(AbstractPacketHandler handler) throws Exception
handle in class DefinedPacketExceptionpublic byte getPosition()
public String getName()
public void setPosition(byte position)
public void setName(String name)
public String toString()
toString in class DefinedPacketpublic boolean equals(Object o)
equals in class DefinedPacketprotected boolean canEqual(Object other)
public int hashCode()
hashCode in class DefinedPacketCopyright © 2015–2019 WaterfallMC. All rights reserved.