Class TellrawGenerator
java.lang.Object
me.wiefferink.interactivemessenger.generators.TellrawGenerator
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongenerate(InteractiveMessage message)
Parses the given message to a JSON array that can be used with the tellraw command and the like.
-
Constructor Details
-
TellrawGenerator
public TellrawGenerator()
-
-
Method Details
-
generate
Parses the given message to a JSON array that can be used with the tellraw command and the like.- Parameters:
message
- The parsed InteractiveMessage.- Returns:
- JSON string that can be send to a player (multiple means line breaks have been used)
-