Package net.citizensnpcs.npc.skin
Interface SkinnableEntity
- All Superinterfaces:
NPCHolder
- All Known Subinterfaces:
SkinnableEntity.ForwardingSkinnableEntity
Interface for player entities that are skinnable.
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionvoidapplyTexture(SkinProperty property) com.mojang.authlib.GameProfileGet entity game profile.default LivingEntityGet the bukkit entity.default StringGet 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
-
applyTexture
-
getBukkitEntity
Get the bukkit entity. -
gameProfile
com.mojang.authlib.GameProfile gameProfile()Get entity game profile. -
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
-