Package com.hrznstudio.emojiful.render
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, LinkedHashMap<Integer,Emoji> emojis)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionParsedSequence(net.minecraft.util.FormattedCharSequence sequence, LinkedHashMap<Integer, Emoji> emojis) Creates an instance of aParsedSequencerecord class. -
Method Summary
Modifier and TypeMethodDescriptionemojis()Returns the value of theemojisrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.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, LinkedHashMap<Integer, Emoji> emojis) Creates an instance of aParsedSequencerecord class.- Parameters:
sequence- the value for thesequencerecord componentemojis- the value for theemojisrecord component
-
-
Method Details
-
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). -
sequence
public net.minecraft.util.FormattedCharSequence sequence()Returns the value of thesequencerecord component.- Returns:
- the value of the
sequencerecord component
-
emojis
Returns the value of theemojisrecord component.- Returns:
- the value of the
emojisrecord component
-