public class JSONMessage
extends java.lang.Object
Constructor | Description |
---|---|
JSONMessage(java.lang.String json) |
Modifier and Type | Method | Description |
---|---|---|
net.minecraft.server.v1_16_R3.IChatBaseComponent |
getBaseComponent() |
|
java.lang.String |
getJson() |
|
java.lang.String |
toString() |
public JSONMessage(java.lang.String json)
json
- A JSON representation of an ingame Message {@link Read More}public java.lang.String getJson()
public net.minecraft.server.v1_16_R3.IChatBaseComponent getBaseComponent()
IChatBaseComponent
representation of an ingame Messagepublic java.lang.String toString()
toString
in class java.lang.Object