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 MojangResponseSkinsApi. getOriginalSkinResponse(@NotNull org.bukkit.entity.Player player)Gets the player's skin, which is set on the premium account of this player.@NotNull MojangResponseSkinsApi. getSetSkinResponse(@NotNull org.bukkit.entity.Player player)Gets the player's server set skin.@NotNull MojangResponseSkinsApi. getSkin(@NotNull String username)Gets the skin of the specified username by fetchingUUIDand skin from theDataProviderset.@Nullable MojangResponseSkinsApi. 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 MojangResponseDataProvider. 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 SkullItemBuilderSkullItemBuilder. setOwner(@NotNull MojangResponse owner)Sets the owner of the skullbooleanSkinsApi. setSkin(@NotNull org.bukkit.entity.Player player, @NotNull MojangResponse skin)Sets the skin of the specified player.
-