java.lang.Object
org.geysermc.mcprotocollib.protocol.data.game.entity.player.ResolvableProfile

public class ResolvableProfile extends Object
  • Constructor Details

    • ResolvableProfile

      public ResolvableProfile(GameProfile profile, boolean dynamic)
  • Method Details

    • getProfile

      public GameProfile getProfile()
    • isDynamic

      public boolean isDynamic()
    • equals

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

      protected boolean canEqual(@Nullable Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public @NonNull String toString()
      Overrides:
      toString in class Object
    • withProfile

      public @NonNull ResolvableProfile withProfile(GameProfile profile)
      Returns:
      a clone of this object, except with this updated property (returns this if an identical value is passed).
    • withDynamic

      public @NonNull ResolvableProfile withDynamic(boolean dynamic)
      Returns:
      a clone of this object, except with this updated property (returns this if an identical value is passed).