Class MessageFormat

java.lang.Object
com.hypixel.hytale.server.core.util.message.MessageFormat

public final class MessageFormat extends Object
  • Constructor Details

    • MessageFormat

      public MessageFormat()
  • Method Details

    • list

      @Nonnull public static Message list(@Nullable Message header, @Nonnull Collection<Message> values)
      Join together a series of values with a shared context. The formatting of the list may depend on additional translation strings as well as the length of the values.
      Parameters:
      header - List header, or null if none should be used
      values - Values
      Returns:
      The formatted Message instance.