Class ProfileProperty

java.lang.Object
com.destroystokyo.paper.profile.ProfileProperty

@NullMarked public final class ProfileProperty extends Object
Represents a property on a PlayerProfile
  • Constructor Details

  • Method Details

    • getName

      public String getName()
      Returns:
      The property name, ie "textures"
    • getValue

      public String getValue()
      Returns:
      The property value, likely to be base64 encoded
    • getSignature

      public @Nullable String getSignature()
      Returns:
      A signature from Mojang for signed properties
    • isSigned

      public boolean isSigned()
      Returns:
      If this property has a signature or not
    • equals

      public boolean equals(@Nullable Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object