Package net.minecraft.command.argument
Interface FunctionArgumentType.FunctionArgument
- Enclosing class:
- FunctionArgumentType
public static interface FunctionArgumentType.FunctionArgument
-
Method Summary
Modifier and Type Method Description com.mojang.datafixers.util.Pair<Identifier,com.mojang.datafixers.util.Either<CommandFunction,Tag<CommandFunction>>>getFunctionOrTag(com.mojang.brigadier.context.CommandContext<ServerCommandSource> commandContext)Collection<CommandFunction>getFunctions(com.mojang.brigadier.context.CommandContext<ServerCommandSource> commandContext)
-
Method Details
-
getFunctions
Collection<CommandFunction> getFunctions(com.mojang.brigadier.context.CommandContext<ServerCommandSource> commandContext) -
getFunctionOrTag
com.mojang.datafixers.util.Pair<Identifier,com.mojang.datafixers.util.Either<CommandFunction,Tag<CommandFunction>>> getFunctionOrTag(com.mojang.brigadier.context.CommandContext<ServerCommandSource> commandContext)
-