Record Class GameProfile.Property
java.lang.Object
java.lang.Record
net.minestom.server.network.player.GameProfile.Property
- All Implemented Interfaces:
PlayerHeadObjectContents.ProfileProperty, net.kyori.examination.Examinable
- Enclosing class:
GameProfile
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Codec<GameProfile.Property> static final Codec<List<GameProfile.Property>> static final NetworkBuffer.Type<GameProfile.Property> -
Constructor Summary
Constructors -
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.name()Returns the value of thenamerecord component.Returns the value of thesignaturerecord component.final StringtoString()Returns a string representation of this record class.value()Returns the value of thevaluerecord component.Methods inherited from interface net.kyori.examination.Examinable
examinableName, examineMethods inherited from interface PlayerHeadObjectContents.ProfileProperty
examinableProperties
-
Field Details
-
SERIALIZER
-
CODEC
-
LIST_CODEC
-
-
Constructor Details
-
Property
-
Property
-
-
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). -
name
Returns the value of thenamerecord component.- Specified by:
namein interfacePlayerHeadObjectContents.ProfileProperty- Returns:
- the value of the
namerecord component
-
value
Returns the value of thevaluerecord component.- Specified by:
valuein interfacePlayerHeadObjectContents.ProfileProperty- Returns:
- the value of the
valuerecord component
-
signature
Returns the value of thesignaturerecord component.- Specified by:
signaturein interfacePlayerHeadObjectContents.ProfileProperty- Returns:
- the value of the
signaturerecord component
-