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 de.marcely.bedwars.api.world.hologram.skin.BukkitEntitySkin
getBukkitEntity, updateBukkitMetadataMethods inherited from interface de.marcely.bedwars.api.world.hologram.skin.DamageableSkin
attack, getDamageSound, getDeathSound, getHealth, setHealthMethods inherited from interface de.marcely.bedwars.api.world.hologram.skin.EquippableSkin
getEquipmentMethods 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:
getEntityTypein interfaceHologramSkin- Returns:
- The current EntityType
-