Class MessageArgument.Message

  • Enclosing class:
    MessageArgument

    public static class MessageArgument.Message
    extends java.lang.Object
    • Constructor Detail

    • Method Detail

      • toComponent

        public ITextComponent toComponent​(CommandSource p_201312_1_,
                                          boolean p_201312_2_)
                                   throws com.mojang.brigadier.exceptions.CommandSyntaxException
        Throws:
        com.mojang.brigadier.exceptions.CommandSyntaxException
      • parseText

        public static MessageArgument.Message parseText​(com.mojang.brigadier.StringReader p_197113_0_,
                                                        boolean p_197113_1_)
                                                 throws com.mojang.brigadier.exceptions.CommandSyntaxException
        Throws:
        com.mojang.brigadier.exceptions.CommandSyntaxException