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

public class ResolvableProfile extends Object
  • Constructor Details

    • ResolvableProfile

      public ResolvableProfile(GameProfile profile)
    • ResolvableProfile

      public ResolvableProfile(GameProfile profile, @Nullable @Nullable net.kyori.adventure.key.Key body, @Nullable @Nullable net.kyori.adventure.key.Key cape, @Nullable @Nullable net.kyori.adventure.key.Key elytra, @Nullable @Nullable TextureModel model, boolean dynamic)
  • Method Details

    • getProfile

      public GameProfile getProfile()
    • getBody

      @Nullable public @Nullable net.kyori.adventure.key.Key getBody()
    • getCape

      @Nullable public @Nullable net.kyori.adventure.key.Key getCape()
    • getElytra

      @Nullable public @Nullable net.kyori.adventure.key.Key getElytra()
    • getModel

      @Nullable public @Nullable TextureModel getModel()
    • 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).
    • withBody

      public @NonNull ResolvableProfile withBody(@Nullable @Nullable net.kyori.adventure.key.Key body)
      Returns:
      a clone of this object, except with this updated property (returns this if an identical value is passed).
    • withCape

      public @NonNull ResolvableProfile withCape(@Nullable @Nullable net.kyori.adventure.key.Key cape)
      Returns:
      a clone of this object, except with this updated property (returns this if an identical value is passed).
    • withElytra

      public @NonNull ResolvableProfile withElytra(@Nullable @Nullable net.kyori.adventure.key.Key elytra)
      Returns:
      a clone of this object, except with this updated property (returns this if an identical value is passed).
    • withModel

      public @NonNull ResolvableProfile withModel(@Nullable @Nullable TextureModel model)
      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).