Record Class Localization.Message.Scoreboard.Objective.Belowname
java.lang.Object
java.lang.Record
net.flectone.pulse.config.Localization.Message.Scoreboard.Objective.Belowname
- All Implemented Interfaces:
LocalizationSetting
- Enclosing class:
Localization.Message.Scoreboard.Objective
public static record Localization.Message.Scoreboard.Objective.Belowname(String score, String displayFormat, String scoreFormat)
extends Record
implements LocalizationSetting
- Since:
- 1.7.1
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuilder()Returns the value of thedisplayFormatrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.score()Returns the value of thescorerecord component.Returns the value of thescoreFormatrecord component.final StringtoString()Returns a string representation of this record class.withDisplayFormat(String displayFormat) withScoreFormat(String scoreFormat)
-
Constructor Details
-
Belowname
Creates an instance of aBelownamerecord class.- Parameters:
score- the value for thescorerecord componentdisplayFormat- the value for thedisplayFormatrecord componentscoreFormat- the value for thescoreFormatrecord component
-
-
Method Details
-
builder
-
toBuilder
-
withScore
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withDisplayFormat
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withScoreFormat
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
score
Returns the value of thescorerecord component.- Returns:
- the value of the
scorerecord component
-
displayFormat
Returns the value of thedisplayFormatrecord component.- Returns:
- the value of the
displayFormatrecord component
-
scoreFormat
Returns the value of thescoreFormatrecord component.- Returns:
- the value of the
scoreFormatrecord component
-