Record Class EmojiFontHelper.ParsedSequence
java.lang.Object
java.lang.Record
com.hrznstudio.emojiful.render.EmojiFontHelper.ParsedSequence
- Enclosing class:
EmojiFontHelper
public static record EmojiFontHelper.ParsedSequence(net.minecraft.util.FormattedCharSequence sequence, EmojiFontHelper.ParsedText parsed)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionParsedSequence(net.minecraft.util.FormattedCharSequence sequence, EmojiFontHelper.ParsedText parsed) Creates an instance of aParsedSequencerecord 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.parsed()Returns the value of theparsedrecord component.net.minecraft.util.FormattedCharSequencesequence()Returns the value of thesequencerecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ParsedSequence
public ParsedSequence(net.minecraft.util.FormattedCharSequence sequence, EmojiFontHelper.ParsedText parsed) Creates an instance of aParsedSequencerecord class.- Parameters:
sequence- the value for thesequencerecord componentparsed- the value for theparsedrecord component
-
-
Method Details
-
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). -
sequence
public net.minecraft.util.FormattedCharSequence sequence()Returns the value of thesequencerecord component.- Returns:
- the value of the
sequencerecord component
-
parsed
Returns the value of theparsedrecord component.- Returns:
- the value of the
parsedrecord component
-