Uses of Class
net.minecraft.commands.CommandFunction
Package
Description
-
Uses of CommandFunction in net.minecraft.commands
Modifier and TypeFieldDescriptionprivate final it.unimi.dsi.fastutil.objects.Object2ObjectLinkedOpenHashMap<List<String>,
CommandFunction> CommandFunction.CommandMacro.cache
private 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_) CommandFunction.CommandMacro.instantiate
(CompoundTag p_300836_, com.mojang.brigadier.CommandDispatcher<CommandSourceStack> p_297591_, CommandSourceStack p_298828_) CommandFunction.instantiate
(CompoundTag p_300636_, com.mojang.brigadier.CommandDispatcher<CommandSourceStack> p_300698_, CommandSourceStack p_298553_) private CommandFunction
CommandFunction.CommandMacro.substituteAndParse
(List<String> p_300530_, com.mojang.brigadier.CommandDispatcher<CommandSourceStack> p_299533_, CommandSourceStack p_301159_) 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, Collection<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, Collection<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 Collection<CommandFunction>
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, Collection<CommandFunction>>> FunctionArgument.Result.unwrap
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_120956_) com.mojang.datafixers.util.Pair<ResourceLocation,
com.mojang.datafixers.util.Either<CommandFunction, Collection<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 Map<ResourceLocation,
Collection<CommandFunction>> ServerFunctionLibrary.tags
private final 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_214328_) ServerFunctionManager.getTag
(ResourceLocation p_214332_) 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_, CompoundTag p_300204_) (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 TypeMethodDescriptionFunctionCommand.runFunction
(CommandSourceStack p_300581_, CommandFunction p_300106_, CompoundTag p_300895_) Modifier and TypeMethodDescriptionprivate static int
FunctionCommand.runFunction
(CommandSourceStack p_137724_, Collection<CommandFunction> p_137725_, CompoundTag p_298676_) private static int
ScheduleCommand.schedule
(CommandSourceStack p_138429_, com.mojang.datafixers.util.Pair<ResourceLocation, com.mojang.datafixers.util.Either<CommandFunction, Collection<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, Collection<CommandFunction>>> p_138430_, int p_138431_, boolean p_138432_) private static int
DebugCommand.traceFunction
(CommandSourceStack p_180066_, Collection<CommandFunction> p_180067_)