Uses of Class
net.minecraft.commands.CommandFunction
Package
Description
-
Uses of CommandFunction in net.minecraft.commands
Modifier and TypeFieldDescriptionprivate Optional<CommandFunction>
CommandFunction.CacheableFunction.function
Modifier and TypeMethodDescriptionstatic CommandFunction
CommandFunction.fromLines(ResourceLocation p_77985_, com.mojang.brigadier.CommandDispatcher<CommandSourceStack> p_77986_, CommandSourceStack p_77987_, List<String> p_77988_)
Modifier and TypeMethodDescriptionCommandFunction.CacheableFunction.get(ServerFunctionManager p_78003_)
ModifierConstructorDescriptionCacheableFunction(CommandFunction p_77996_)
FunctionEntry(CommandFunction p_78019_)
-
Uses of CommandFunction in net.minecraft.commands.arguments.item
Modifier and TypeMethodDescription(package private) static CommandFunction
FunctionArgument.getFunction(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_120929_, ResourceLocation p_120930_)
Modifier and TypeMethodDescriptionFunctionArgument.Result.create(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_120955_)
static com.mojang.datafixers.util.Pair<ResourceLocation,com.mojang.datafixers.util.Either<CommandFunction,Tag<CommandFunction>>>
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,Tag<CommandFunction>>>
FunctionArgument.getFunctionOrTag(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_120921_, String p_120922_)
static Collection<CommandFunction>
FunctionArgument.getFunctions(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_120911_, String p_120912_)
(package private) static Tag<CommandFunction>
FunctionArgument.getFunctionTag(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_120932_, ResourceLocation p_120933_)
com.mojang.datafixers.util.Pair<ResourceLocation,com.mojang.datafixers.util.Either<CommandFunction,Tag<CommandFunction>>>
FunctionArgument.Result.unwrap(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_120956_)
com.mojang.datafixers.util.Pair<ResourceLocation,com.mojang.datafixers.util.Either<CommandFunction,Tag<CommandFunction>>>
FunctionArgument.Result.unwrap(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_120956_)
-
Uses of CommandFunction in net.minecraft.server
Modifier and TypeFieldDescriptionprivate Map<ResourceLocation,CommandFunction>
ServerFunctionLibrary.functions
private TagCollection<CommandFunction>
ServerFunctionLibrary.tags
private TagLoader<CommandFunction>
ServerFunctionLibrary.tagsLoader
private List<CommandFunction>
ServerFunctionManager.ticking
Modifier and TypeMethodDescriptionServerFunctionManager.get(ResourceLocation p_136119_)
ServerFunctionLibrary.getFunction(ResourceLocation p_136090_)
ServerFunctionLibrary.getFunctions()
ServerFunctionLibrary.getTag(ResourceLocation p_136098_)
ServerFunctionManager.getTag(ResourceLocation p_136124_)
ServerFunctionLibrary.getTags()
Modifier and TypeMethodDescription(package private) void
ServerFunctionManager.ExecutionContext.delayFunctionCall(CommandFunction p_179973_, CommandSourceStack p_179974_)
int
ServerFunctionManager.execute(CommandFunction p_136113_, CommandSourceStack p_136114_)
int
ServerFunctionManager.execute(CommandFunction p_179961_, CommandSourceStack p_179962_, ServerFunctionManager.TraceCallbacks p_179963_)
(package private) int
ServerFunctionManager.ExecutionContext.runTopCommand(CommandFunction p_179978_, CommandSourceStack p_179979_)
Modifier and TypeMethodDescriptionprivate void
ServerFunctionManager.executeTagFunctions(Collection<CommandFunction> p_136116_, ResourceLocation p_136117_)
-
Uses of CommandFunction in net.minecraft.server.commands
Modifier and TypeMethodDescriptionprivate static int
FunctionCommand.runFunction(CommandSourceStack p_137724_, Collection<CommandFunction> p_137725_)
private static int
ScheduleCommand.schedule(CommandSourceStack p_138429_, com.mojang.datafixers.util.Pair<ResourceLocation,com.mojang.datafixers.util.Either<CommandFunction,Tag<CommandFunction>>> p_138430_, int p_138431_, boolean p_138432_)
private static int
ScheduleCommand.schedule(CommandSourceStack p_138429_, com.mojang.datafixers.util.Pair<ResourceLocation,com.mojang.datafixers.util.Either<CommandFunction,Tag<CommandFunction>>> p_138430_, int p_138431_, boolean p_138432_)
private static int
DebugCommand.traceFunction(CommandSourceStack p_180066_, Collection<CommandFunction> p_180067_)