Interface MessageArgument

All Superinterfaces:
ArgumentInf, SimpleArgument<Component>

@NullMarked public interface MessageArgument extends SimpleArgument<Component>
  • Method Details

    • resolveMessage

      void resolveMessage(com.mojang.brigadier.context.CommandContext<? extends CommandSourceStack> context, String name, Consumer<PlayerMessage> callback) throws com.mojang.brigadier.exceptions.CommandSyntaxException
      Throws:
      com.mojang.brigadier.exceptions.CommandSyntaxException