Class Objective
java.lang.Object
com.zenith.cache.data.scoreboard.Objective
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected net.kyori.adventure.text.Componentprotected final @NonNull Stringprotected NumberFormatprotected ScoreType -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddPackets(Consumer<Packet> consumer) protected booleanbooleannet.kyori.adventure.text.Component@NonNull StringgetName()inthashCode()setDisplayName(net.kyori.adventure.text.Component displayName) setNumberFormat(NumberFormat numberFormat) setScoreType(ScoreType scoreType) toString()
-
Field Details
-
name
-
displayName
protected net.kyori.adventure.text.Component displayName -
scoreType
-
numberFormat
-
scores
-
-
Constructor Details
-
Objective
-
-
Method Details
-
addPackets
-
getName
-
getDisplayName
public net.kyori.adventure.text.Component getDisplayName() -
getScoreType
-
getNumberFormat
-
getScores
-
setDisplayName
- Returns:
this.
-
setScoreType
-
setNumberFormat
- Returns:
this.
-
equals
-
canEqual
-
hashCode
-
toString
-