Package net.md_5.bungee.protocol.packet
Class ScoreboardObjective
java.lang.Object
net.md_5.bungee.protocol.DefinedPacket
net.md_5.bungee.protocol.packet.ScoreboardObjective
Deprecated.
not handled anymore
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionDeprecated.ScoreboardObjective
(String name, String value, ScoreboardObjective.HealthDisplay type, byte action) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
Deprecated.boolean
Deprecated.byte
Deprecated.0 to create, 1 to remove, 2 to update display text.getName()
Deprecated.getType()
Deprecated.getValue()
Deprecated.void
handle
(AbstractPacketHandler handler) Deprecated.int
hashCode()
Deprecated.void
read
(io.netty.buffer.ByteBuf buf, ProtocolConstants.Direction direction, int protocolVersion) Deprecated.void
setAction
(byte action) Deprecated.0 to create, 1 to remove, 2 to update display text.void
Deprecated.void
Deprecated.void
Deprecated.toString()
Deprecated.void
write
(io.netty.buffer.ByteBuf buf, ProtocolConstants.Direction direction, int protocolVersion) Deprecated.Methods inherited from class net.md_5.bungee.protocol.DefinedPacket
expectedMaxLength, expectedMinLength, read, readArray, readArray, readEnumSet, readFixedBitSet, readProperties, readPublicKey, readString, readString, readStringArray, readTag, readUUID, readVarInt, readVarInt, readVarIntArray, readVarShort, toArray, write, writeArray, writeEnumSet, writeFixedBitSet, writeProperties, writePublicKey, writeString, writeString, writeStringArray, writeTag, writeUUID, writeVarInt, writeVarInt, writeVarShort
-
Constructor Details
-
ScoreboardObjective
public ScoreboardObjective()Deprecated. -
ScoreboardObjective
public ScoreboardObjective(String name, String value, ScoreboardObjective.HealthDisplay type, byte action) Deprecated.
-
-
Method Details
-
read
public void read(io.netty.buffer.ByteBuf buf, ProtocolConstants.Direction direction, int protocolVersion) Deprecated.- Overrides:
read
in classDefinedPacket
-
write
public void write(io.netty.buffer.ByteBuf buf, ProtocolConstants.Direction direction, int protocolVersion) Deprecated.- Overrides:
write
in classDefinedPacket
-
handle
Deprecated.- Specified by:
handle
in classDefinedPacket
- Throws:
Exception
-
getName
Deprecated. -
getValue
Deprecated. -
getType
Deprecated. -
getAction
public byte getAction()Deprecated.0 to create, 1 to remove, 2 to update display text. -
setName
Deprecated. -
setValue
Deprecated. -
setType
Deprecated. -
setAction
public void setAction(byte action) Deprecated.0 to create, 1 to remove, 2 to update display text. -
toString
Deprecated.- Specified by:
toString
in classDefinedPacket
-
equals
Deprecated.- Specified by:
equals
in classDefinedPacket
-
canEqual
Deprecated. -
hashCode
public int hashCode()Deprecated.- Specified by:
hashCode
in classDefinedPacket
-