Interface SkinProvider


public interface SkinProvider
Returns the skin provider.
WARNING: Every method call may be cached, so it may not return the up to date skin.
Author:
MrIvanPlays
  • Method Details

    • getSkin

      CompletableFuture<Skin> getSkin(String ownerUsername)
      Returns the Skin of the specified ownerUsername. If none, null result would be given in the returned CompletableFuture
      Parameters:
      ownerUsername - the username of the player skin is wanted
      Returns:
      future which may be fulfilled with the skin.
    • getSkin

      CompletableFuture<Skin> getSkin(UUID ownerUuid)
      Returns the Skin of the specified UUID ownerUuid. If none, null result would be given in the returned CompletableFuture
      Parameters:
      ownerUuid - the uuid of the player skin is wanted
      Returns:
      future which may be fulfilled with the skin.