Class LegacyFormat
java.lang.Object
net.kyori.adventure.text.serializer.legacy.LegacyFormat
A legacy format.
- Since:
- 4.0.0
-
Method Summary
Modifier and TypeMethodDescription@Nullable TextColorcolor()Gets the color.@Nullable TextDecorationGets the decoration.booleaninthashCode()booleanreset()Gets if this format is a reset.
-
Method Details
-
color
Gets the color.- Returns:
- the color
- Since:
- 4.0.0
-
decoration
Gets the decoration.- Returns:
- the decoration
- Since:
- 4.0.0
-
reset
public boolean reset()Gets if this format is a reset.- Returns:
trueif a reset,falseotherwise- Since:
- 4.0.0
-
equals
-
hashCode
public int hashCode()
-