Uses of Class
com.mrivanplays.skins.api.MojangResponse
-
-
Uses of MojangResponse in com.mrivanplays.skins.api
Methods in com.mrivanplays.skins.api that return MojangResponse Modifier and Type Method Description default @NotNull MojangResponse
SkinsApi. getOriginalSkinResponse(@NotNull org.bukkit.entity.Player player)
Gets the player's skin, which is set on the premium account of this player.@NotNull MojangResponse
SkinsApi. getSetSkinResponse(@NotNull org.bukkit.entity.Player player)
Gets the player's server set skin.@NotNull MojangResponse
SkinsApi. getSkin(@NotNull String username)
Gets the skin of the specified username by fetchingUUID
and skin from theDataProvider
set.@Nullable MojangResponse
SkinsApi. getSkullOwner(@NotNull org.bukkit.inventory.ItemStack item)
Returns the skull owner of the item, if the item is a skull item and was generated by theSkullItemBuilder
.@NotNull MojangResponse
DataProvider. retrieveSkinResponse(@NotNull String name, @NotNull UUID uuid)
Skins calls this method whenever it needs to get a skin directly from the api.Methods in com.mrivanplays.skins.api with parameters of type MojangResponse Modifier and Type Method Description @NotNull SkullItemBuilder
SkullItemBuilder. setOwner(@NotNull MojangResponse owner)
Sets the owner of the skullboolean
SkinsApi. setSkin(@NotNull org.bukkit.entity.Player player, @NotNull MojangResponse skin)
Sets the skin of the specified player.
-