Class TextLine
java.lang.Object
org.sgrewritten.stargate.api.network.portal.formatting.AbstractSignLine
org.sgrewritten.stargate.api.network.portal.formatting.TextLine
- All Implemented Interfaces:
SignLine
A line which does not relate to any stargate object, it is pure text
-
Constructor Summary
ConstructorDescriptionTextLine()
TextLine
(String text, SignLineType type) TextLine
(List<Holder<StargateComponent>> components) TextLine
(List<Holder<StargateComponent>> components, SignLineType type) TextLine
(HighlightingStyle style, String text, net.md_5.bungee.api.ChatColor textColor, net.md_5.bungee.api.ChatColor pointerColor, SignLineType type) Initialize an error line the default way -
Method Summary
Methods inherited from class org.sgrewritten.stargate.api.network.portal.formatting.AbstractSignLine
getComponents, toString
-
Constructor Details
-
TextLine
-
TextLine
public TextLine(HighlightingStyle style, String text, net.md_5.bungee.api.ChatColor textColor, net.md_5.bungee.api.ChatColor pointerColor, SignLineType type) Initialize an error line the default way- Parameters:
style
-text
-textColor
-pointerColor
-
-
TextLine
-
TextLine
-
TextLine
-
TextLine
public TextLine()
-
-
Method Details
-
getType
- Returns:
The type of line that is being displayed
-