Package net.minecraft.command.arguments
Interface FunctionArgument.IResult
- Enclosing class:
- FunctionArgument
public static interface FunctionArgument.IResult
-
Method Summary
Modifier and TypeMethodDescriptioncreate
(com.mojang.brigadier.context.CommandContext<CommandSource> p_223252_1_) com.mojang.datafixers.util.Pair<ResourceLocation,
com.mojang.datafixers.util.Either<FunctionObject, ITag<FunctionObject>>> unwrap
(com.mojang.brigadier.context.CommandContext<CommandSource> p_218102_1_)
-
Method Details
-
create
Collection<FunctionObject> create(com.mojang.brigadier.context.CommandContext<CommandSource> p_223252_1_) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
-
unwrap
com.mojang.datafixers.util.Pair<ResourceLocation,com.mojang.datafixers.util.Either<FunctionObject, unwrapITag<FunctionObject>>> (com.mojang.brigadier.context.CommandContext<CommandSource> p_218102_1_) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
-