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 booleanDeprecated.booleanDeprecated.byteDeprecated.0 to create, 1 to remove, 2 to update display text.getName()Deprecated.getType()Deprecated.getValue()Deprecated.voidhandle(AbstractPacketHandler handler) Deprecated.inthashCode()Deprecated.voidread(io.netty.buffer.ByteBuf buf, ProtocolConstants.Direction direction, int protocolVersion) Deprecated.voidsetAction(byte action) Deprecated.0 to create, 1 to remove, 2 to update display text.voidDeprecated.voidDeprecated.voidDeprecated.toString()Deprecated.voidwrite(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:
readin classDefinedPacket
-
write
public void write(io.netty.buffer.ByteBuf buf, ProtocolConstants.Direction direction, int protocolVersion) Deprecated.- Overrides:
writein classDefinedPacket
-
handle
Deprecated.- Specified by:
handlein 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:
toStringin classDefinedPacket
-
equals
Deprecated.- Specified by:
equalsin classDefinedPacket
-
canEqual
Deprecated. -
hashCode
public int hashCode()Deprecated.- Specified by:
hashCodein classDefinedPacket
-