Schnittstelle IHologramProvider


public interface IHologramProvider
  • Methodenübersicht

    Modifizierer und Typ
    Methode
    Beschreibung
    create(String key, List<net.kyori.adventure.text.Component> text, org.bukkit.Location location)
    Create new holograms.
    create(String key, net.kyori.adventure.text.Component text, org.bukkit.Location location)
    Create a new hologram.
    Get a hologram by its key.
    Get all cached holograms.
  • Methodendetails

    • create

      IHologram create(String key, net.kyori.adventure.text.Component text, org.bukkit.Location location)
      Create a new hologram.
      Parameter:
      key - the key of the hologram
      text - the text of the hologram
      location - the location of the hologram
      Gibt zurück:
      the created IHologram
    • create

      IHologram create(String key, List<net.kyori.adventure.text.Component> text, org.bukkit.Location location)
      Create new holograms.
      Parameter:
      key - the key of the hologram
      text - the text of the holograms
      location - the location of the holograms
      Gibt zurück:
      a list of the created IHolograms
    • hologram

      IHologram hologram(String key)
      Get a hologram by its key.
      Parameter:
      key - the key of the hologram
      Gibt zurück:
      the IHologram or null if not found
    • holograms

      List<IHologram> holograms()
      Get all cached holograms.
      Gibt zurück:
      a list of all cached holograms