Record Class Localization.Message.Vanilla
java.lang.Object
java.lang.Record
net.flectone.pulse.config.Localization.Message.Vanilla
- All Implemented Interfaces:
LocalizationSetting
- Enclosing class:
Localization.Message
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuilder()final booleanIndicates whether some other object is "equal to" this one.Returns the value of theformatEntityrecord component.Returns the value of theformatPlayerrecord component.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.types()Returns the value of thetypesrecord component.withFormatEntity(String formatEntity) withFormatPlayer(String formatPlayer)
-
Constructor Details
-
Vanilla
Creates an instance of aVanillarecord class.- Parameters:
formatPlayer- the value for theformatPlayerrecord componentformatEntity- the value for theformatEntityrecord componenttypes- the value for thetypesrecord component
-
-
Method Details
-
builder
-
toBuilder
-
withFormatPlayer
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withFormatEntity
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withTypes
- 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). -
formatPlayer
Returns the value of theformatPlayerrecord component.- Returns:
- the value of the
formatPlayerrecord component
-
formatEntity
Returns the value of theformatEntityrecord component.- Returns:
- the value of the
formatEntityrecord component
-
types
-