Interface NPCHologramSkin
- All Superinterfaces:
- BukkitEntitySkin,- DamageableSkin,- EquippableSkin,- HologramSkin
public interface NPCHologramSkin
extends HologramSkin, DamageableSkin, EquippableSkin, BukkitEntitySkin
Represents an "NPC"
- 
Method SummaryModifier and TypeMethodDescription@Nullable StringReturns the skin signature that has been passed usingsetSkin(String, String).@Nullable StringReturns the skin texture that has been passed usingsetSkin(String, String).booleanhasSkin()Returns whether the skin has a skin (whether he looks like Alex or Steve)booleanReturns whether the NPC is sneaking or not.voidRemoves the current skin of the NPC and causes it by that to look like Alex/StevevoidApplies a skin to the NPCvoidsetSneaking(boolean sneaking) Sets whether the NPC is sneaking or not.Methods inherited from interface de.marcely.bedwars.api.world.hologram.skin.BukkitEntitySkingetBukkitEntity, updateBukkitMetadataMethods inherited from interface de.marcely.bedwars.api.world.hologram.skin.DamageableSkinattack, getDamageSound, getDeathSound, getHealth, setHealthMethods inherited from interface de.marcely.bedwars.api.world.hologram.skin.EquippableSkingetEquipmentMethods inherited from interface de.marcely.bedwars.api.world.hologram.HologramSkingetEntityId, getEntityType, getHologram, getNMSEntity, getType
- 
Method Details- 
setSkinApplies a skin to the NPC- Parameters:
- texture- The base64 texture data
- signature- The base64 signature data
 
- 
resetSkinvoid resetSkin()Removes the current skin of the NPC and causes it by that to look like Alex/Steve
- 
hasSkinboolean hasSkin()Returns whether the skin has a skin (whether he looks like Alex or Steve)- Returns:
- truewhen a skin has been applied using- setSkin(String, String)
 
- 
getSkinTextureReturns the skin texture that has been passed usingsetSkin(String, String).Might be nullwhen no skin has been set.- Returns:
- The skin texture in base64. Possibly null
 
- 
getSkinSignatureReturns the skin signature that has been passed usingsetSkin(String, String).Might be nullwhen no skin has been set.- Returns:
- The skin signature in base64. Possibly null
 
- 
setSneakingvoid setSneaking(boolean sneaking) Sets whether the NPC is sneaking or not.- Parameters:
- sneaking-- truewhen the NPC should be sneaking
 
- 
isSneakingboolean isSneaking()Returns whether the NPC is sneaking or not.- Returns:
- truewhen the NPC is sneaking
 
 
-