Interface MessageArgument
- All Superinterfaces:
ArgumentInf
,SimpleArgument<Component>
-
Method Summary
Modifier and TypeMethodDescriptionvoid
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
-