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<CommandSourceStack>, Collection<CommandFunction<CommandSourceStack>>>> unwrap
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_120956_) com.mojang.datafixers.util.Pair
<ResourceLocation, Collection<CommandFunction<CommandSourceStack>>> unwrapToCollection
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_313207_)
-
Method Details
-
create
Collection<CommandFunction<CommandSourceStack>> 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<CommandSourceStack>, unwrapCollection<CommandFunction<CommandSourceStack>>>> (com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_120956_) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
-
unwrapToCollection
com.mojang.datafixers.util.Pair<ResourceLocation,Collection<CommandFunction<CommandSourceStack>>> unwrapToCollection(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_313207_) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
-