java.lang.Object
com.gamersafer.minecraft.auth.paper.hologram.Hologram

public class Hologram extends Object
Represents pieces of floating text ingame.
  • Field Details

    • lines

      protected final List<String> lines
    • location

      protected final org.bukkit.Location location
  • Constructor Details

    • Hologram

      public Hologram(@NonNull List<String> lines, @NonNull org.bukkit.Location location)
      Constructs Hologram.
      Parameters:
      lines - the lines in the hologram
      location - the location of the hologram
  • Method Details

    • lines

      public @NonNull List<String> lines()
      Returns the list of lines that composes this hologram.
      Returns:
      a list
    • location

      public @NonNull org.bukkit.Location location()
      Returns the location of this hologram.
      Returns:
      the location