Interface LivingEntityHologramSkin
- All Superinterfaces:
BukkitEntitySkin, DamageableSkin, EquippableSkin, HologramSkin
public interface LivingEntityHologramSkin
extends HologramSkin, DamageableSkin, EquippableSkin, BukkitEntitySkin
Represents an Entity that implements LivingEntity.
The actual EntityType is dynamic with this skin.
-
Method Summary
Modifier and TypeMethodDescriptionGet the current EntityType that is being used for this skinvoidsetEntityType(EntityType type) Change the EntityType to something elseMethods inherited from interface BukkitEntitySkin
getBukkitEntity, updateBukkitMetadataMethods inherited from interface DamageableSkin
attack, getDamageSound, getDeathSound, getHealth, setHealthMethods inherited from interface EquippableSkin
getEquipmentMethods inherited from interface HologramSkin
getEntityId, getHologram, getNMSEntity, getType
-
Method Details
-
setEntityType
Change the EntityType to something else- Parameters:
type- The new EntityType- Throws:
IllegalArgumentException- When the class of the type does not implement LivingEntity
-
getEntityType
EntityType getEntityType()Get the current EntityType that is being used for this skin- Specified by:
getEntityTypein interfaceHologramSkin- Returns:
- The current EntityType
-