Class TellrawGenerator

java.lang.Object
me.wiefferink.interactivemessenger.generators.TellrawGenerator

public class TellrawGenerator extends Object
  • Constructor Details

    • TellrawGenerator

      public TellrawGenerator()
  • Method Details

    • generate

      public static List<String> generate(InteractiveMessage message)
      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)