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 skinvoid
setEntityType
(EntityType type) Change the EntityType to something elseMethods inherited from interface de.marcely.bedwars.api.world.hologram.skin.BukkitEntitySkin
getBukkitEntity, updateBukkitMetadata
Methods inherited from interface de.marcely.bedwars.api.world.hologram.skin.DamageableSkin
attack, getDamageSound, getDeathSound, getHealth, setHealth
Methods inherited from interface de.marcely.bedwars.api.world.hologram.skin.EquippableSkin
getEquipment
Methods inherited from interface de.marcely.bedwars.api.world.hologram.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:
getEntityType
in interfaceHologramSkin
- Returns:
- The current EntityType
-