Uses of Interface
net.minecraft.commands.functions.CommandFunction
Packages that use CommandFunction
Package
Description
-
Uses of CommandFunction in net.minecraft.commands
Fields in net.minecraft.commands with type parameters of type CommandFunctionModifier and TypeFieldDescriptionprivate Optional<CommandFunction<CommandSourceStack>> CacheableFunction.functionMethods in net.minecraft.commands that return types with arguments of type CommandFunction -
Uses of CommandFunction in net.minecraft.commands.arguments.item
Methods in net.minecraft.commands.arguments.item that return CommandFunctionModifier and TypeMethodDescriptionprivate static CommandFunction<CommandSourceStack> FunctionArgument.getFunction(com.mojang.brigadier.context.CommandContext<CommandSourceStack> c, Identifier id) Methods in net.minecraft.commands.arguments.item that return types with arguments of type CommandFunctionModifier and TypeMethodDescriptionFunctionArgument.Result.create(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context) static com.mojang.datafixers.util.Pair<Identifier, Collection<CommandFunction<CommandSourceStack>>> FunctionArgument.getFunctionCollection(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, String name) static com.mojang.datafixers.util.Pair<Identifier, com.mojang.datafixers.util.Either<CommandFunction<CommandSourceStack>, Collection<CommandFunction<CommandSourceStack>>>> FunctionArgument.getFunctionOrTag(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, String name) static com.mojang.datafixers.util.Pair<Identifier, com.mojang.datafixers.util.Either<CommandFunction<CommandSourceStack>, Collection<CommandFunction<CommandSourceStack>>>> FunctionArgument.getFunctionOrTag(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, String name) static Collection<CommandFunction<CommandSourceStack>> FunctionArgument.getFunctions(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, String name) private static Collection<CommandFunction<CommandSourceStack>> FunctionArgument.getFunctionTag(com.mojang.brigadier.context.CommandContext<CommandSourceStack> c, Identifier id) com.mojang.datafixers.util.Pair<Identifier, com.mojang.datafixers.util.Either<CommandFunction<CommandSourceStack>, Collection<CommandFunction<CommandSourceStack>>>> FunctionArgument.Result.unwrap(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context) com.mojang.datafixers.util.Pair<Identifier, com.mojang.datafixers.util.Either<CommandFunction<CommandSourceStack>, Collection<CommandFunction<CommandSourceStack>>>> FunctionArgument.Result.unwrap(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context) com.mojang.datafixers.util.Pair<Identifier, Collection<CommandFunction<CommandSourceStack>>> FunctionArgument.Result.unwrapToCollection(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context) -
Uses of CommandFunction in net.minecraft.commands.functions
Classes in net.minecraft.commands.functions that implement CommandFunctionModifier and TypeClassDescriptionclassMacroFunction<T extends ExecutionCommandSource<T>>final recordMethods in net.minecraft.commands.functions that return CommandFunctionModifier and TypeMethodDescriptionFunctionBuilder.build(Identifier id) static <T extends ExecutionCommandSource<T>>
CommandFunction<T> CommandFunction.fromLines(Identifier id, com.mojang.brigadier.CommandDispatcher<T> dispatcher, T compilationContext, List<String> lines) -
Uses of CommandFunction in net.minecraft.server
Fields in net.minecraft.server with type parameters of type CommandFunctionModifier and TypeFieldDescriptionprivate Map<Identifier, CommandFunction<CommandSourceStack>> ServerFunctionLibrary.functionsprivate Map<Identifier, List<CommandFunction<CommandSourceStack>>> ServerFunctionLibrary.tagsprivate final TagLoader<CommandFunction<CommandSourceStack>> ServerFunctionLibrary.tagsLoaderprivate List<CommandFunction<CommandSourceStack>> ServerFunctionManager.tickingstatic final ResourceKey<Registry<CommandFunction<CommandSourceStack>>> ServerFunctionLibrary.TYPE_KEYMethods in net.minecraft.server that return types with arguments of type CommandFunctionModifier and TypeMethodDescriptionServerFunctionManager.get(Identifier id) ServerFunctionLibrary.getFunction(Identifier id) ServerFunctionLibrary.getFunctions()ServerFunctionLibrary.getTag(Identifier tag) ServerFunctionManager.getTag(Identifier id) Methods in net.minecraft.server with parameters of type CommandFunctionModifier and TypeMethodDescriptionvoidServerFunctionManager.execute(CommandFunction<CommandSourceStack> functionIn, CommandSourceStack sender) Method parameters in net.minecraft.server with type arguments of type CommandFunctionModifier and TypeMethodDescriptionprivate voidServerFunctionManager.executeTagFunctions(Collection<CommandFunction<CommandSourceStack>> functions, Identifier loadFunctionTag) -
Uses of CommandFunction in net.minecraft.server.commands
Methods in net.minecraft.server.commands with parameters of type CommandFunctionModifier and TypeMethodDescriptionprivate static <T extends ExecutionCommandSource<T>>
voidFunctionCommand.instantiateAndQueueFunctions(@Nullable CompoundTag arguments, ExecutionControl<T> output, com.mojang.brigadier.CommandDispatcher<T> dispatcher, T noCallbackSource, CommandFunction<T> function, Identifier id, CommandResultCallback functionResultCollector, boolean returnParentFrame) Method parameters in net.minecraft.server.commands with type arguments of type CommandFunctionModifier and TypeMethodDescriptionstatic <T extends ExecutionCommandSource<T>>
voidFunctionCommand.queueFunctions(Collection<CommandFunction<T>> functions, @Nullable CompoundTag arguments, T originalSource, T functionSource, ExecutionControl<T> output, FunctionCommand.Callbacks<T> callbacks, ChainModifiers modifiers) private static <T extends ExecutionCommandSource<T>>
voidFunctionCommand.queueFunctionsAsReturn(Collection<CommandFunction<T>> functions, @Nullable CompoundTag arguments, T originalSource, T functionSource, ExecutionControl<T> output, FunctionCommand.Callbacks<T> callbacks) private static <T extends ExecutionCommandSource<T>>
voidFunctionCommand.queueFunctionsNoReturn(Collection<CommandFunction<T>> functions, @Nullable CompoundTag arguments, T originalSource, T functionSource, ExecutionControl<T> output, FunctionCommand.Callbacks<T> callbacks) private static intScheduleCommand.schedule(CommandSourceStack source, com.mojang.datafixers.util.Pair<Identifier, com.mojang.datafixers.util.Either<CommandFunction<CommandSourceStack>, Collection<CommandFunction<CommandSourceStack>>>> callback, int time, boolean replace) private static intScheduleCommand.schedule(CommandSourceStack source, com.mojang.datafixers.util.Pair<Identifier, com.mojang.datafixers.util.Either<CommandFunction<CommandSourceStack>, Collection<CommandFunction<CommandSourceStack>>>> callback, int time, boolean replace) static <T extends ExecutionCommandSource<T>>
voidExecuteCommand.scheduleFunctionConditionsAndTest(T originalSource, List<T> currentSources, Function<T, T> functionContextModifier, IntPredicate check, com.mojang.brigadier.context.ContextChain<T> currentStep, @Nullable CompoundTag parameters, ExecutionControl<T> output, InCommandFunction<com.mojang.brigadier.context.CommandContext<T>, Collection<CommandFunction<T>>> functionGetter, ChainModifiers modifiers)