Interface BukkitEntitySkin
- All Known Subinterfaces:
ArmorStandHologramSkin
,LivingEntityHologramSkin
,NPCHologramSkin
public interface BukkitEntitySkin
Represents a hologram skin that allows to make use of Bukkit's entity API.
-
Method Summary
Modifier and TypeMethodDescriptionGet the entity from Bukkit's API that is being used under the hood.void
Update the metadata of the Bukkit's entity.
-
Method Details
-
getBukkitEntity
Entity getBukkitEntity()Get the entity from Bukkit's API that is being used under the hood.The entity still doesn't actually exist in the world! Changes won't be reflected in the world. You may want to make use of
updateBukkitMetadata()
.- Returns:
- The entity that is being used under the hood
-
updateBukkitMetadata
void updateBukkitMetadata()Update the metadata of the Bukkit's entity.By this, the entity's metadata are being sent to the players that see the hologram.
- See Also:
-