Package pers.neige.neigeitems.ref.chat
Class RefCraftChatMessage
-
- All Implemented Interfaces:
public final class RefCraftChatMessage
-
-
Constructor Summary
Constructors Constructor Description RefCraftChatMessage()
-
Method Summary
Modifier and Type Method Description static StringfromComponent(RefComponent component, RefChatFormatting defaultColor)static StringfromComponent(RefComponent component)static StringfromJSONComponent(String jsonMessage)static StringfromStringToJSON(String message)static StringfromStringToJSON(String message, boolean keepNewlines)static Array<RefComponent>fromString(String message)static StringtoJSON(RefComponent component)static RefComponentfromJSON(String jsonMessage)-
-
Method Detail
-
fromComponent
static String fromComponent(RefComponent component, RefChatFormatting defaultColor)
-
fromComponent
static String fromComponent(RefComponent component)
-
fromJSONComponent
static String fromJSONComponent(String jsonMessage)
-
fromStringToJSON
static String fromStringToJSON(String message)
-
fromStringToJSON
static String fromStringToJSON(String message, boolean keepNewlines)
-
fromString
static Array<RefComponent> fromString(String message)
-
toJSON
static String toJSON(RefComponent component)
-
fromJSON
static RefComponent fromJSON(String jsonMessage)
-
-
-
-