Interface MessageArgument

All Superinterfaces:
ArgumentInf, SimpleArgument<Component>

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

    Modifier and Type
    Method
    Description
    void
    resolveMessage(com.mojang.brigadier.context.CommandContext<? extends CommandSourceStack> context, String name, Consumer<PlayerMessage> callback)
    서명된 메시지와 관련된 작업을 수행합니다.

    Methods inherited from interface moe.caramel.daydream.brigadier.argument.ArgumentInf

    get

    Methods inherited from interface moe.caramel.daydream.brigadier.argument.SimpleArgument

    getData
  • 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