Class TextHologramLine
java.lang.Object
io.github.projectunified.unihologram.spigot.line.TextHologramLine
- All Implemented Interfaces:
HologramLine
A hologram line with text
-
Constructor Summary
ConstructorsConstructorDescriptionTextHologramLine(String content) Create a new lineTextHologramLine(String content, Map<String, Object> settings) Create a new line -
Method Summary
Modifier and TypeMethodDescriptionstatic TextHologramLinefromColoredContent(@NotNull String content) Create a new line from the colored contentGet the colored contentGet the content of the lineGet the extra settings of the lineMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.github.projectunified.unihologram.api.HologramLine
getRawContent
-
Constructor Details
-
TextHologramLine
Create a new line- Parameters:
content- the contentsettings- the settings
-
TextHologramLine
Create a new line- Parameters:
content- the content
-
-
Method Details
-
fromColoredContent
Create a new line from the colored content- Parameters:
content- the colored content- Returns:
- the new line
-
getColoredContent
Get the colored content- Returns:
- the colored content
-
getContent
Description copied from interface:HologramLineGet the content of the line- Specified by:
getContentin interfaceHologramLine- Returns:
- the content
-
getSettings
Description copied from interface:HologramLineGet the extra settings of the line- Specified by:
getSettingsin interfaceHologramLine- Returns:
- the extra settings
-