Class ChatParser

java.lang.Object
net.minestom.server.chat.ChatParser

public final class ChatParser
extends java.lang.Object
Class used to convert JSON string to proper chat message representation.
  • Field Summary

    Fields 
    Modifier and Type Field Description
    static char COLOR_CHAR  
  • Constructor Summary

    Constructors 
    Constructor Description
    ChatParser()  
  • Method Summary

    Modifier and Type Method Description
    static ColoredText toColoredText​(java.lang.String json)
    Converts a simple colored message json (text/color) to a ColoredText.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait