Class NPC.Skin

java.lang.Object
dev.sergiferry.playernpc.api.NPC.Skin
Enclosing class:
NPC

public static class NPC.Skin extends Object
  • Method Details

    • applyNPC

      public void applyNPC(NPC npc)
    • applyNPC

      public void applyNPC(NPC npc, boolean forceUpdate)
    • applyNPCs

      public void applyNPCs(Collection<NPC> npcs)
    • applyNPCs

      public void applyNPCs(Collection<NPC> npcs, boolean forceUpdate)
    • getTexture

      public String getTexture()
    • getSignature

      public String getSignature()
    • getPlayerName

      public String getPlayerName()
    • getPlayerUUID

      public String getPlayerUUID()
    • getObtainedFrom

      public NPC.Skin.ObtainedFrom getObtainedFrom()
    • getLastUpdate

      public String getLastUpdate()
    • canBeDeleted

      public boolean canBeDeleted()
    • canBeUpdated

      public boolean canBeUpdated()
    • isMinecraftOriginal

      public boolean isMinecraftOriginal()
    • getType

      public NPC.Skin.Type getType()
    • getMostCommonColor

      public net.md_5.bungee.api.ChatColor getMostCommonColor()
    • getAvatar

      public net.md_5.bungee.api.ChatColor[][] getAvatar()
    • getTextureData

      public String[] getTextureData()
    • getTextureID

      public String getTextureID()
    • createCustomTextureSkin

      public static NPC.Skin createCustomTextureSkin(String texture, String value)
    • fetchSkinAsync

      @Deprecated public static void fetchSkinAsync(org.bukkit.entity.Player player, Consumer<NPC.Skin> action)
      Deprecated.
    • fetchSkinAsync

      @Deprecated public static void fetchSkinAsync(String playerName, Consumer<NPC.Skin> action)
      Deprecated.
    • fetchSkinAsync

      @Deprecated public static void fetchSkinAsync(String playerName, boolean forceDownload, Consumer<NPC.Skin> action)
      Deprecated.
    • fetchSkinAsync

      public static void fetchSkinAsync(org.bukkit.plugin.Plugin plugin, org.bukkit.entity.Player player, Consumer<NPC.Skin> action)
    • fetchSkinAsync

      public static void fetchSkinAsync(org.bukkit.plugin.Plugin plugin, String playerName, Consumer<NPC.Skin> action)
    • fetchSkinAsync

      public static void fetchSkinAsync(org.bukkit.plugin.Plugin plugin, String playerName, boolean forceDownload, Consumer<NPC.Skin> action)
    • delete

      public void delete()
    • getSuggestedSkinNames

      public static List<String> getSuggestedSkinNames()
    • getSteveSkin

      public static NPC.Skin getSteveSkin()
    • getAlexSkin

      public static NPC.Skin getAlexSkin()