Schnittstelle IHologram
public interface IHologram
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungvoid
destroy
(ICorePlayer player) Destroy the hologram for a player.key()
Get the key of the hologram.org.bukkit.Location
location()
Get the location of the hologram.void
spawn
(ICorePlayer player) Spawn the hologram for a player.List
<net.kyori.adventure.text.Component> text()
Get the text of the hologram.
-
Methodendetails
-
key
String key()Get the key of the hologram.- Gibt zurück:
- the key of the hologram
-
text
List<net.kyori.adventure.text.Component> text()Get the text of the hologram.- Gibt zurück:
- the text of the hologram
-
spawn
Spawn the hologram for a player.- Parameter:
player
- the player
-
destroy
Destroy the hologram for a player.- Parameter:
player
- the player
-
location
org.bukkit.Location location()Get the location of the hologram.- Gibt zurück:
- the location of the hologram
-