Record Class Message.Format.DeprecatedScoreboard
java.lang.Object
java.lang.Record
net.flectone.pulse.config.Message.Format.DeprecatedScoreboard
- All Implemented Interfaces:
EnableSetting
- Enclosing class:
Message.Format
@Deprecated(forRemoval=true)
public static record Message.Format.DeprecatedScoreboard(Boolean enable, Boolean nameVisible, Boolean hideNameWhenSneaking, String color, String prefix, String suffix, Ticker ticker)
extends Record
implements EnableSetting
Deprecated, for removal: This API element is subject to removal in a future version.
- Since:
- 1.7.1
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classDeprecated, for removal: This API element is subject to removal in a future version. -
Constructor Summary
ConstructorsConstructorDescriptionDeprecatedScoreboard(Boolean enable, Boolean nameVisible, Boolean hideNameWhenSneaking, String color, String prefix, String suffix, Ticker ticker) Deprecated, for removal: This API element is subject to removal in a future version.Creates an instance of aDeprecatedScoreboardrecord class. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()Deprecated, for removal: This API element is subject to removal in a future version.color()Deprecated, for removal: This API element is subject to removal in a future version.Returns the value of thecolorrecord component.enable()Deprecated, for removal: This API element is subject to removal in a future version.Returns the value of theenablerecord component.final booleanDeprecated, for removal: This API element is subject to removal in a future version.Indicates whether some other object is "equal to" this one.final inthashCode()Deprecated, for removal: This API element is subject to removal in a future version.Returns a hash code value for this object.Deprecated, for removal: This API element is subject to removal in a future version.Returns the value of thehideNameWhenSneakingrecord component.Deprecated, for removal: This API element is subject to removal in a future version.Returns the value of thenameVisiblerecord component.prefix()Deprecated, for removal: This API element is subject to removal in a future version.Returns the value of theprefixrecord component.suffix()Deprecated, for removal: This API element is subject to removal in a future version.Returns the value of thesuffixrecord component.ticker()Deprecated, for removal: This API element is subject to removal in a future version.Returns the value of thetickerrecord component.Deprecated, for removal: This API element is subject to removal in a future version.final StringtoString()Deprecated, for removal: This API element is subject to removal in a future version.Returns a string representation of this record class.Deprecated, for removal: This API element is subject to removal in a future version.withEnable(Boolean enable) Deprecated, for removal: This API element is subject to removal in a future version.withHideNameWhenSneaking(Boolean hideNameWhenSneaking) Deprecated, for removal: This API element is subject to removal in a future version.withNameVisible(Boolean nameVisible) Deprecated, for removal: This API element is subject to removal in a future version.withPrefix(String prefix) Deprecated, for removal: This API element is subject to removal in a future version.withSuffix(String suffix) Deprecated, for removal: This API element is subject to removal in a future version.withTicker(Ticker ticker) Deprecated, for removal: This API element is subject to removal in a future version.
-
Constructor Details
-
DeprecatedScoreboard
public DeprecatedScoreboard(Boolean enable, Boolean nameVisible, Boolean hideNameWhenSneaking, String color, String prefix, String suffix, Ticker ticker) Deprecated, for removal: This API element is subject to removal in a future version.Creates an instance of aDeprecatedScoreboardrecord class.- Parameters:
enable- the value for theenablerecord componentnameVisible- the value for thenameVisiblerecord componenthideNameWhenSneaking- the value for thehideNameWhenSneakingrecord componentcolor- the value for thecolorrecord componentprefix- the value for theprefixrecord componentsuffix- the value for thesuffixrecord componentticker- the value for thetickerrecord component
-
-
Method Details
-
builder
Deprecated, for removal: This API element is subject to removal in a future version. -
toBuilder
Deprecated, for removal: This API element is subject to removal in a future version. -
withEnable
Deprecated, for removal: This API element is subject to removal in a future version.- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withNameVisible
Deprecated, for removal: This API element is subject to removal in a future version.- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withHideNameWhenSneaking
Deprecated, for removal: This API element is subject to removal in a future version.- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withColor
Deprecated, for removal: This API element is subject to removal in a future version.- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withPrefix
Deprecated, for removal: This API element is subject to removal in a future version.- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withSuffix
Deprecated, for removal: This API element is subject to removal in a future version.- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withTicker
Deprecated, for removal: This API element is subject to removal in a future version.- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
toString
Deprecated, for removal: This API element is subject to removal in a future version.Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Deprecated, for removal: This API element is subject to removal in a future version.Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
equals
Deprecated, for removal: This API element is subject to removal in a future version.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
Deprecated, for removal: This API element is subject to removal in a future version.Returns the value of theenablerecord component.- Specified by:
enablein interfaceEnableSetting- Returns:
- the value of the
enablerecord component
-
nameVisible
Deprecated, for removal: This API element is subject to removal in a future version.Returns the value of thenameVisiblerecord component.- Returns:
- the value of the
nameVisiblerecord component
-
hideNameWhenSneaking
Deprecated, for removal: This API element is subject to removal in a future version.Returns the value of thehideNameWhenSneakingrecord component.- Returns:
- the value of the
hideNameWhenSneakingrecord component
-
color
Deprecated, for removal: This API element is subject to removal in a future version.Returns the value of thecolorrecord component.- Returns:
- the value of the
colorrecord component
-
prefix
Deprecated, for removal: This API element is subject to removal in a future version.Returns the value of theprefixrecord component.- Returns:
- the value of the
prefixrecord component
-
suffix
Deprecated, for removal: This API element is subject to removal in a future version.Returns the value of thesuffixrecord component.- Returns:
- the value of the
suffixrecord component
-
ticker
Deprecated, for removal: This API element is subject to removal in a future version.Returns the value of thetickerrecord component.- Returns:
- the value of the
tickerrecord component
-