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 TypeMethodDescription(package private) static CommandFunction<CommandSourceStack>FunctionArgument.getFunction(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_120929_, ResourceLocation p_120930_) 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> p_120955_) static com.mojang.datafixers.util.Pair<ResourceLocation,Collection<CommandFunction<CommandSourceStack>>> FunctionArgument.getFunctionCollection(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_312555_, String p_311726_) static com.mojang.datafixers.util.Pair<ResourceLocation,com.mojang.datafixers.util.Either<CommandFunction<CommandSourceStack>, Collection<CommandFunction<CommandSourceStack>>>> FunctionArgument.getFunctionOrTag(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_120921_, String p_120922_) static com.mojang.datafixers.util.Pair<ResourceLocation,com.mojang.datafixers.util.Either<CommandFunction<CommandSourceStack>, Collection<CommandFunction<CommandSourceStack>>>> FunctionArgument.getFunctionOrTag(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_120921_, String p_120922_) static Collection<CommandFunction<CommandSourceStack>>FunctionArgument.getFunctions(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_120911_, String p_120912_) (package private) static Collection<CommandFunction<CommandSourceStack>>FunctionArgument.getFunctionTag(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_235274_, ResourceLocation p_235275_) com.mojang.datafixers.util.Pair<ResourceLocation,com.mojang.datafixers.util.Either<CommandFunction<CommandSourceStack>, Collection<CommandFunction<CommandSourceStack>>>> FunctionArgument.Result.unwrap(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_120956_) com.mojang.datafixers.util.Pair<ResourceLocation,com.mojang.datafixers.util.Either<CommandFunction<CommandSourceStack>, Collection<CommandFunction<CommandSourceStack>>>> FunctionArgument.Result.unwrap(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_120956_) com.mojang.datafixers.util.Pair<ResourceLocation,Collection<CommandFunction<CommandSourceStack>>> FunctionArgument.Result.unwrapToCollection(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_313207_) -
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(ResourceLocation p_311383_) static <T extends ExecutionCommandSource<T>>
CommandFunction<T>CommandFunction.fromLines(ResourceLocation p_312869_, com.mojang.brigadier.CommandDispatcher<T> p_310963_, T p_312231_, List<String> p_310814_) -
Uses of CommandFunction in net.minecraft.server
Fields in net.minecraft.server with type parameters of type CommandFunctionModifier and TypeFieldDescriptionprivate Map<ResourceLocation,CommandFunction<CommandSourceStack>> ServerFunctionLibrary.functionsServerFunctionLibrary.tagsprivate final TagLoader<CommandFunction<CommandSourceStack>>ServerFunctionLibrary.tagsLoaderprivate List<CommandFunction<CommandSourceStack>>ServerFunctionManager.tickingMethods in net.minecraft.server that return types with arguments of type CommandFunctionModifier and TypeMethodDescriptionServerFunctionManager.get(ResourceLocation p_136119_) ServerFunctionLibrary.getFunction(ResourceLocation p_136090_) ServerFunctionLibrary.getFunctions()ServerFunctionLibrary.getTag(ResourceLocation p_214328_) ServerFunctionManager.getTag(ResourceLocation p_214332_) Methods in net.minecraft.server with parameters of type CommandFunctionModifier and TypeMethodDescriptionvoidServerFunctionManager.execute(CommandFunction<CommandSourceStack> p_311911_, CommandSourceStack p_136114_) Method parameters in net.minecraft.server with type arguments of type CommandFunctionModifier and TypeMethodDescriptionprivate voidServerFunctionManager.executeTagFunctions(Collection<CommandFunction<CommandSourceStack>> p_136116_, ResourceLocation p_136117_) -
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(CompoundTag p_312138_, ExecutionControl<T> p_309532_, com.mojang.brigadier.CommandDispatcher<T> p_312204_, T p_311370_, CommandFunction<T> p_310160_, ResourceLocation p_311048_, CommandResultCallback p_312950_, boolean p_312453_) Method parameters in net.minecraft.server.commands with type arguments of type CommandFunctionModifier and TypeMethodDescriptionstatic <T extends ExecutionCommandSource<T>>
voidFunctionCommand.queueFunctions(Collection<CommandFunction<T>> p_311080_, CompoundTag p_311435_, T p_310141_, T p_312402_, ExecutionControl<T> p_309669_, FunctionCommand.Callbacks<T> p_312300_, ChainModifiers p_312226_) private static <T extends ExecutionCommandSource<T>>
voidFunctionCommand.queueFunctionsAsReturn(Collection<CommandFunction<T>> p_309905_, CompoundTag p_312616_, T p_312541_, T p_310023_, ExecutionControl<T> p_312344_, FunctionCommand.Callbacks<T> p_309916_) private static <T extends ExecutionCommandSource<T>>
voidFunctionCommand.queueFunctionsNoReturn(Collection<CommandFunction<T>> p_312947_, CompoundTag p_311961_, T p_310755_, T p_312089_, ExecutionControl<T> p_310294_, FunctionCommand.Callbacks<T> p_311742_) private static intScheduleCommand.schedule(CommandSourceStack p_138429_, com.mojang.datafixers.util.Pair<ResourceLocation, com.mojang.datafixers.util.Either<CommandFunction<CommandSourceStack>, Collection<CommandFunction<CommandSourceStack>>>> p_138430_, int p_138431_, boolean p_138432_) private static intScheduleCommand.schedule(CommandSourceStack p_138429_, com.mojang.datafixers.util.Pair<ResourceLocation, com.mojang.datafixers.util.Either<CommandFunction<CommandSourceStack>, Collection<CommandFunction<CommandSourceStack>>>> p_138430_, int p_138431_, boolean p_138432_) static <T extends ExecutionCommandSource<T>>
voidExecuteCommand.scheduleFunctionConditionsAndTest(T p_311643_, List<T> p_313143_, Function<T, T> p_312920_, IntPredicate p_311696_, com.mojang.brigadier.context.ContextChain<T> p_311450_, CompoundTag p_313177_, ExecutionControl<T> p_310605_, ExecuteCommand.CommandGetter<T, Collection<CommandFunction<T>>> p_311694_, ChainModifiers p_312493_)