Klasse TextHologramData

Alle implementierten Schnittstellen:
YamlData

public class TextHologramData extends DisplayHologramData
  • Felddetails

    • DEFAULT_TEXT_ALIGNMENT

      public static final org.bukkit.entity.TextDisplay.TextAlignment DEFAULT_TEXT_ALIGNMENT
    • DEFAULT_TEXT_SHADOW_STATE

      public static final boolean DEFAULT_TEXT_SHADOW_STATE
      Siehe auch:
    • DEFAULT_SEE_THROUGH

      public static final boolean DEFAULT_SEE_THROUGH
      Siehe auch:
    • DEFAULT_TEXT_UPDATE_INTERVAL

      public static final int DEFAULT_TEXT_UPDATE_INTERVAL
      Siehe auch:
  • Konstruktordetails

    • TextHologramData

      public TextHologramData(String name, org.bukkit.Location location)
      Parameter:
      name - Name of hologram
      location - Location of hologram Default values are already set
  • Methodendetails

    • getText

      public List<String> getText()
    • setText

      public TextHologramData setText(List<String> text)
    • addLine

      public void addLine(String line)
    • removeLine

      public void removeLine(int index)
    • getBackground

      public org.bukkit.Color getBackground()
    • setBackground

      public TextHologramData setBackground(org.bukkit.Color background)
    • getTextAlignment

      public org.bukkit.entity.TextDisplay.TextAlignment getTextAlignment()
    • setTextAlignment

      public TextHologramData setTextAlignment(org.bukkit.entity.TextDisplay.TextAlignment textAlignment)
    • hasTextShadow

      public boolean hasTextShadow()
    • setTextShadow

      public TextHologramData setTextShadow(boolean textShadow)
    • isSeeThrough

      public boolean isSeeThrough()
    • setSeeThrough

      public TextHologramData setSeeThrough(boolean seeThrough)
    • getTextUpdateInterval

      public int getTextUpdateInterval()
    • setTextUpdateInterval

      public TextHologramData setTextUpdateInterval(int textUpdateInterval)
    • read

      public boolean read(org.bukkit.configuration.ConfigurationSection section, String name)
      Beschreibung aus Schnittstelle kopiert: YamlData
      Reads the data from the given configuration section.
      Angegeben von:
      read in Schnittstelle YamlData
      Setzt außer Kraft:
      read in Klasse DisplayHologramData
      Gibt zurück:
      Whether the data was read successfully.
    • write

      public boolean write(org.bukkit.configuration.ConfigurationSection section, String name)
      Beschreibung aus Schnittstelle kopiert: YamlData
      Writes the data to the given configuration section.
      Angegeben von:
      write in Schnittstelle YamlData
      Setzt außer Kraft:
      write in Klasse DisplayHologramData
      Gibt zurück:
      Whether the data was written successfully.
    • copy

      public TextHologramData copy(String name)
      Setzt außer Kraft:
      copy in Klasse DisplayHologramData