Record Class FabricValueDisplaySettings
java.lang.Object
java.lang.Record
me.hsgamer.topper.fabric.template.FabricValueDisplaySettings
- All Implemented Interfaces:
me.hsgamer.topper.template.topplayernumber.holder.display.ValueDisplay.Settings
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of aFabricValueDisplaySettingsrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.map()Returns the value of themaprecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
FabricValueDisplaySettings
Creates an instance of aFabricValueDisplaySettingsrecord class.- Parameters:
map- the value for themaprecord component
-
-
Method Details
-
defaultLine
- Specified by:
defaultLinein interfaceme.hsgamer.topper.template.topplayernumber.holder.display.ValueDisplay.Settings
-
displayNullName
- Specified by:
displayNullNamein interfaceme.hsgamer.topper.template.topplayernumber.holder.display.ValueDisplay.Settings
-
displayNullUuid
- Specified by:
displayNullUuidin interfaceme.hsgamer.topper.template.topplayernumber.holder.display.ValueDisplay.Settings
-
displayNullValue
- Specified by:
displayNullValuein interfaceme.hsgamer.topper.template.topplayernumber.holder.display.ValueDisplay.Settings
-
toString
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()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
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). -
map
Returns the value of themaprecord component.- Returns:
- the value of the
maprecord component
-