Class MessageArgument.Message

java.lang.Object
net.minecraft.commands.arguments.MessageArgument.Message
Enclosing class:
MessageArgument

public static class MessageArgument.Message extends Object
  • Field Details

  • Constructor Details

  • Method Details

    • getText

      public String getText()
    • getParts

      public MessageArgument.Part[] getParts()
    • toComponent

      public Component toComponent(CommandSourceStack p_96850_, boolean p_96851_) throws com.mojang.brigadier.exceptions.CommandSyntaxException
      Throws:
      com.mojang.brigadier.exceptions.CommandSyntaxException
    • parseText

      public static MessageArgument.Message parseText(com.mojang.brigadier.StringReader p_96847_, boolean p_96848_) throws com.mojang.brigadier.exceptions.CommandSyntaxException
      Throws:
      com.mojang.brigadier.exceptions.CommandSyntaxException