Interface TextDisplay

All Superinterfaces:
Display, Entity, Sound.Emitter, Viewable

public interface TextDisplay extends Display
Represents a text display entity.
  • Method Details

    • getText

      @NotNull @NotNull Component getText()
      Since:
      1.0.0
    • setText

      void setText(@NotNull @NotNull Component text)
      Since:
      1.0.0
    • getLineWidth

      int getLineWidth()
      Since:
      1.0.0
    • setLineWidth

      void setLineWidth(int lineWidth)
      Since:
      1.0.0
    • getBackgroundColor

      int getBackgroundColor()
      Since:
      1.0.0
    • setBackgroundColor

      void setBackgroundColor(int backgroundColor)
      Since:
      1.0.0
    • getTextOpacity

      byte getTextOpacity()
      Since:
      1.0.0
    • setTextOpacity

      void setTextOpacity(byte opacity)
      Since:
      1.0.0
    • hasShadow

      boolean hasShadow()
      Since:
      1.0.0
    • setShadow

      void setShadow(boolean shadow)
      Since:
      1.0.0
    • isSeeThrough

      boolean isSeeThrough()
      Since:
      1.0.0
    • setSeeThrough

      void setSeeThrough(boolean seeThrough)
      Since:
      1.0.0