Class LegacyFormat
java.lang.Object
net.kyori.adventure.text.serializer.legacy.LegacyFormat
- All Implemented Interfaces:
net.kyori.examination.Examinable
public final class LegacyFormat extends Object implements net.kyori.examination.Examinable
A legacy format.
- Since:
- 4.0.0
-
Method Summary
Modifier and Type Method Description @Nullable net.kyori.adventure.text.format.TextColor
color()
Gets the color.@Nullable net.kyori.adventure.text.format.TextDecoration
decoration()
Gets the decoration.boolean
equals(@Nullable Object other)
@NonNull Stream<? extends net.kyori.examination.ExaminableProperty>
examinableProperties()
int
hashCode()
boolean
reset()
Gets if this format is a reset.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.kyori.examination.Examinable
examinableName, examine
-
Method Details
-
color
public @Nullable net.kyori.adventure.text.format.TextColor color()Gets the color.- Returns:
- the color
- Since:
- 4.0.0
-
decoration
public @Nullable net.kyori.adventure.text.format.TextDecoration decoration()Gets the decoration.- Returns:
- the decoration
- Since:
- 4.0.0
-
reset
public boolean reset()Gets if this format is a reset.- Returns:
true
if a reset,false
otherwise- Since:
- 4.0.0
-
equals
-
hashCode
public int hashCode() -
examinableProperties
- Specified by:
examinableProperties
in interfacenet.kyori.examination.Examinable
-