Class LegacyFormat

java.lang.Object
net.kyori.adventure.text.serializer.legacy.LegacyFormat

public final class LegacyFormat extends Object
A legacy format.
Since:
4.0.0
  • Method Details

    • color

      public @Nullable TextColor color()
      Gets the color.
      Returns:
      the color
      Since:
      4.0.0
    • decoration

      public @Nullable 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

      public boolean equals(@Nullable Object other)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object