java.lang.Object
org.sgrewritten.stargate.api.network.portal.formatting.data.TextLineData
All Implemented Interfaces:
LineData

public class TextLineData extends Object implements LineData
  • Constructor Details

  • Method Details

    • getType

      @NotNull public @NotNull SignLineType getType()
      Specified by:
      getType in interface LineData
      Returns:

      The line type of this line data

    • getText

      @NotNull public @NotNull String getText()
      Specified by:
      getText in interface LineData
      Returns:

      The unformatted text for this line data

    • getHighlightingStyle

      @Nullable public @Nullable HighlightingStyle getHighlightingStyle()
    • toString

      public String toString()
      Overrides:
      toString in class Object