java.lang.Object
io.rhythmknights.coreapi.component.utility.Legacy

public final class Legacy extends Object
Utility class for converting between different text formatting styles
  • Field Details

    • SERIALIZER

      public static final Legacy.TextSerializer SERIALIZER
      Creates a single serializer that supports multiple formats: 1. Legacy format (&f and &#FFFFFF) 2. MiniMessage format (<white> and <#FFFFFF>) Usage: - To convert a string with any supported format to a Component: SERIALIZER.deserialize(text) - To convert a Component to a legacy string: SERIALIZER.serialize(component)