VitalPlayerHologram
class VitalPlayerHologram(id: UUID, lines: List<Function<SpigotPlayer, VitalHologram.Line>>, location: Location, armorStandUniqueId: UUID, lineArmorStandUniqueIds: List<UUID>, var playerUniqueId: UUID) : VitalHologram
Global hologram used to display player-specific data on a hologram for the given player. Only the specified player will be able to see the created hologram when you create it using VitalHologramService.createPlayerHologram.
This hologram should be used if you want to display a hologram with unique content for each player. Use this hologram if you also want to display language specific text.
If you want to create a hologram that is always the same for each player (no language specifics), use VitalHologram.
Constructors
Link copied to clipboard
constructor(id: UUID, lines: List<Function<SpigotPlayer, VitalHologram.Line>>, location: Location, armorStandUniqueId: UUID, lineArmorStandUniqueIds: List<UUID>, playerUniqueId: UUID)