Package net.citizensnpcs.npc.skin
Interface SkinnableEntity
- All Superinterfaces:
- NPCHolder
Interface for player entities that are skinnable.
- 
Method SummaryModifier and TypeMethodDescriptionGet the bukkit entity.com.mojang.authlib.GameProfileGet entity game profile.Get the name of the player whose skin the NPC uses.Get the entities skin packet tracker.voidsetSkinFlags(byte flags) Set the bit flags that represent the skin layer parts visibility.default voidsetSkinFlags(Set<SkinLayers.Layer> flags) voidsetSkinName(String name) Deprecated.voidsetSkinName(String skinName, boolean forceUpdate) Deprecated.voidsetSkinPersistent(String skinName, String signature, String data) Deprecated.
- 
Method Details- 
getBukkitEntityPlayer getBukkitEntity()Get the bukkit entity.
- 
getProfilecom.mojang.authlib.GameProfile getProfile()Get entity game profile.
- 
getSkinNameString getSkinName()Get the name of the player whose skin the NPC uses.
- 
getSkinTrackerSkinPacketTracker getSkinTracker()Get the entities skin packet tracker.
- 
setSkinFlagsvoid setSkinFlags(byte flags) Set the bit flags that represent the skin layer parts visibility.Setting the skin flags automatically updates the NPC skin. - Parameters:
- flags- The bit flags.
 
- 
setSkinFlags
- 
setSkinNameDeprecated.Set the name of the player whose skin the NPC uses.Setting the skin name automatically updates and respawn the NPC. - Parameters:
- name- The skin name.
- See Also:
 
- 
setSkinNameDeprecated.- See Also:
 
- 
setSkinPersistentDeprecated.- See Also:
 
 
-