Interface FunctionArgument.Result
- Enclosing class:
- FunctionArgument
public static interface FunctionArgument.Result
-
Method Summary
Modifier and TypeMethodDescriptioncreate(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_120955_)
com.mojang.datafixers.util.Pair<ResourceLocation,com.mojang.datafixers.util.Either<CommandFunction,Tag<CommandFunction>>>
unwrap(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_120956_)
-
Method Details
-
create
Collection<CommandFunction> create(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_120955_) throws com.mojang.brigadier.exceptions.CommandSyntaxException- Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
-
unwrap
com.mojang.datafixers.util.Pair<ResourceLocation,com.mojang.datafixers.util.Either<CommandFunction,Tag<CommandFunction>>> unwrap(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_120956_) throws com.mojang.brigadier.exceptions.CommandSyntaxException- Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
-