Package net.citizensnpcs.npc.skin
Interface SkinnableEntity
- All Superinterfaces:
NPCHolder
Interface for player entities that are skinnable.
-
Method Summary
Modifier 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)
-
Method Details
-
getBukkitEntity
Player getBukkitEntity()Get the bukkit entity. -
getProfile
com.mojang.authlib.GameProfile getProfile()Get entity game profile. -
getSkinName
String getSkinName()Get the name of the player whose skin the NPC uses. -
getSkinTracker
SkinPacketTracker getSkinTracker()Get the entities skin packet tracker. -
setSkinFlags
void 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
-