Modifier and Type | Method and Description |
---|---|
Player |
getBukkitEntity()
Get the bukkit entity.
|
com.mojang.authlib.GameProfile |
getProfile()
Get entity game profile.
|
String |
getSkinName()
Get the name of the player whose skin the NPC uses.
|
SkinPacketTracker |
getSkinTracker()
Get the entities skin packet tracker.
|
void |
setSkinFlags(byte flags)
Set the bit flags that represent the skin layer parts visibility.
|
void |
setSkinName(String name)
Set the name of the player whose skin the NPC uses.
|
void |
setSkinName(String skinName,
boolean forceUpdate) |
void |
setSkinPersistent(String skinName,
String signature,
String data) |
Player getBukkitEntity()
com.mojang.authlib.GameProfile getProfile()
String getSkinName()
SkinPacketTracker getSkinTracker()
void setSkinFlags(byte flags)
Setting the skin flags automatically updates the NPC skin.
flags
- The bit flags.void setSkinName(String name)
Setting the skin name automatically updates and respawn the NPC.
name
- The skin name.void setSkinName(String skinName, boolean forceUpdate)
Copyright © 2019. All rights reserved.