Class JSONMessage
java.lang.Object
eu.endercentral.crazy_advancements.JSONMessage
Represents a Message in JSON Format
- Author:
- Axel
-
Constructor Summary
ConstructorDescriptionJSONMessage
(net.md_5.bungee.api.chat.BaseComponent json) Constructor for creating a JSON Message -
Method Summary
-
Constructor Details
-
JSONMessage
public JSONMessage(net.md_5.bungee.api.chat.BaseComponent json) Constructor for creating a JSON Message- Parameters:
json
- A JSON representation of an ingame Message Read More
-
-
Method Details
-
getJson
public net.md_5.bungee.api.chat.BaseComponent getJson()Gets the Message as a BaseComponent- Returns:
- the BaseComponent of an ingame Message
-
getBaseComponent
public net.minecraft.network.chat.IChatBaseComponent getBaseComponent()Gets an NMS representation of an ingame Message- Returns:
- An
IChatBaseComponent
representation of an ingame Message
-
toString
-