Record Class BedrockEmotes.Emote
java.lang.Object
java.lang.Record
com.viaversion.viafabricplus.bedrock.appearance.BedrockEmotes.Emote
- Enclosing class:
BedrockEmotes
public static record BedrockEmotes.Emote(UUID id, BedrockBoneAnimation animation, BedrockEmoteMessages messages)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionEmote(UUID id, BedrockBoneAnimation animation, BedrockEmoteMessages messages) Creates an instance of aEmoterecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theanimationrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.id()Returns the value of theidrecord component.messages()Returns the value of themessagesrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Emote
Creates an instance of aEmoterecord class.- Parameters:
id- the value for theidrecord componentanimation- the value for theanimationrecord componentmessages- the value for themessagesrecord 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). -
id
Returns the value of theidrecord component.- Returns:
- the value of the
idrecord component
-
animation
Returns the value of theanimationrecord component.- Returns:
- the value of the
animationrecord component
-
messages
Returns the value of themessagesrecord component.- Returns:
- the value of the
messagesrecord component
-