Package dev.sergiferry.playernpc.api
Class NPC.Skin
java.lang.Object
dev.sergiferry.playernpc.api.NPC.Skin
- Enclosing class:
- NPC
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classstatic classstatic class -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidvoidapplyNPCs(Collection<NPC> npcs)voidapplyNPCs(Collection<NPC> npcs, boolean forceUpdate)booleanbooleanstatic NPC.SkincreateCustomTextureSkin(String texture, String value)voiddelete()static voidfetchSkinAsync(String playerName, boolean forceDownload, Consumer<NPC.Skin> action)Deprecated.static voidfetchSkinAsync(String playerName, Consumer<NPC.Skin> action)Deprecated.static voidfetchSkinAsync(org.bukkit.entity.Player player, Consumer<NPC.Skin> action)Deprecated.static voidfetchSkinAsync(org.bukkit.plugin.Plugin plugin, String playerName, boolean forceDownload, Consumer<NPC.Skin> action)static voidfetchSkinAsync(org.bukkit.plugin.Plugin plugin, String playerName, Consumer<NPC.Skin> action)static voidfetchSkinAsync(org.bukkit.plugin.Plugin plugin, org.bukkit.entity.Player player, Consumer<NPC.Skin> action)static NPC.Skinnet.md_5.bungee.api.ChatColor[][]net.md_5.bungee.api.ChatColorstatic NPC.SkinString[]getType()boolean
-
Method Details
-
applyNPC
-
applyNPC
-
applyNPCs
-
applyNPCs
-
getTexture
-
getSignature
-
getPlayerName
-
getPlayerUUID
-
getObtainedFrom
-
getLastUpdate
-
canBeDeleted
public boolean canBeDeleted() -
canBeUpdated
public boolean canBeUpdated() -
isMinecraftOriginal
public boolean isMinecraftOriginal() -
getType
-
getMostCommonColor
public net.md_5.bungee.api.ChatColor getMostCommonColor() -
getAvatar
public net.md_5.bungee.api.ChatColor[][] getAvatar() -
getTextureData
-
getTextureID
-
createCustomTextureSkin
-
fetchSkinAsync
@Deprecated public static void fetchSkinAsync(org.bukkit.entity.Player player, Consumer<NPC.Skin> action)Deprecated. -
fetchSkinAsync
Deprecated. -
fetchSkinAsync
@Deprecated public static void fetchSkinAsync(String playerName, boolean forceDownload, Consumer<NPC.Skin> action)Deprecated. -
fetchSkinAsync
-
fetchSkinAsync
-
fetchSkinAsync
-
delete
public void delete() -
getSuggestedSkinNames
-
getSteveSkin
-
getAlexSkin
-