Record Class Message.Scoreboard.Objective.Belowname
java.lang.Object
java.lang.Record
net.flectone.pulse.config.Message.Scoreboard.Objective.Belowname
- All Implemented Interfaces:
EnableSetting
- Enclosing class:
Message.Scoreboard.Objective
public static record Message.Scoreboard.Objective.Belowname(Boolean enable, Double distance, Ticker ticker)
extends Record
implements EnableSetting
- Since:
- 1.7.1
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuilder()distance()Returns the value of thedistancerecord component.enable()Returns the value of theenablerecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.ticker()Returns the value of thetickerrecord component.final StringtoString()Returns a string representation of this record class.withDistance(Double distance) withEnable(Boolean enable) withTicker(Ticker ticker)
-
Constructor Details
-
Belowname
-
-
Method Details
-
builder
-
toBuilder
-
withEnable
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withDistance
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withTicker
- 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). -
enable
Returns the value of theenablerecord component.- Specified by:
enablein interfaceEnableSetting- Returns:
- the value of the
enablerecord component
-
distance
Returns the value of thedistancerecord component.- Returns:
- the value of the
distancerecord component
-
ticker
Returns the value of thetickerrecord component.- Returns:
- the value of the
tickerrecord component
-