Uses of Class
net.minecraft.server.function.CommandFunction
Packages that use CommandFunction
Package
Description
-
Uses of CommandFunction in net.minecraft.command.argument
Methods in net.minecraft.command.argument that return CommandFunctionModifier and TypeMethodDescription(package private) static CommandFunction
CommandFunctionArgumentType.getFunction
(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, Identifier id) Methods in net.minecraft.command.argument that return types with arguments of type CommandFunctionModifier and TypeMethodDescriptioncom.mojang.datafixers.util.Pair<Identifier,
com.mojang.datafixers.util.Either<CommandFunction, Collection<CommandFunction>>> CommandFunctionArgumentType.FunctionArgument.getFunctionOrTag
(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context) com.mojang.datafixers.util.Pair<Identifier,
com.mojang.datafixers.util.Either<CommandFunction, Collection<CommandFunction>>> CommandFunctionArgumentType.FunctionArgument.getFunctionOrTag
(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context) static com.mojang.datafixers.util.Pair<Identifier,
com.mojang.datafixers.util.Either<CommandFunction, Collection<CommandFunction>>> CommandFunctionArgumentType.getFunctionOrTag
(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name) static com.mojang.datafixers.util.Pair<Identifier,
com.mojang.datafixers.util.Either<CommandFunction, Collection<CommandFunction>>> CommandFunctionArgumentType.getFunctionOrTag
(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name) CommandFunctionArgumentType.FunctionArgument.getFunctions
(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context) static Collection<CommandFunction>
CommandFunctionArgumentType.getFunctions
(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name) (package private) static Collection<CommandFunction>
CommandFunctionArgumentType.getFunctionTag
(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, Identifier id) -
Uses of CommandFunction in net.minecraft.server.command
Method parameters in net.minecraft.server.command with type arguments of type CommandFunctionModifier and TypeMethodDescriptionprivate static int
FunctionCommand.execute
(ServerCommandSource source, Collection<CommandFunction> functions) private static int
ScheduleCommand.execute
(ServerCommandSource source, com.mojang.datafixers.util.Pair<Identifier, com.mojang.datafixers.util.Either<CommandFunction, Collection<CommandFunction>>> function, int time, boolean replace) private static int
ScheduleCommand.execute
(ServerCommandSource source, com.mojang.datafixers.util.Pair<Identifier, com.mojang.datafixers.util.Either<CommandFunction, Collection<CommandFunction>>> function, int time, boolean replace) private static int
DebugCommand.executeFunction
(ServerCommandSource source, Collection<CommandFunction> functions) -
Uses of CommandFunction in net.minecraft.server.function
Fields in net.minecraft.server.function with type parameters of type CommandFunctionModifier and TypeFieldDescriptionprivate Optional<CommandFunction>
CommandFunction.LazyContainer.function
private Map<Identifier,
CommandFunction> FunctionLoader.functions
private final TagGroupLoader<CommandFunction>
FunctionLoader.tagLoader
private Map<Identifier,
Collection<CommandFunction>> FunctionLoader.tags
private List<CommandFunction>
CommandFunctionManager.tickFunctions
A list ofminecraft:tick
tag functions to run on every tick.Methods in net.minecraft.server.function that return CommandFunctionModifier and TypeMethodDescriptionstatic CommandFunction
CommandFunction.create
(Identifier id, com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher, ServerCommandSource source, List<String> lines) Parses a function in the context ofsource
.Methods in net.minecraft.server.function that return types with arguments of type CommandFunctionModifier and TypeMethodDescriptionCommandFunction.LazyContainer.get
(CommandFunctionManager manager) FunctionLoader.get
(Identifier id) CommandFunctionManager.getFunction
(Identifier id) FunctionLoader.getFunctions()
CommandFunctionManager.getTag
(Identifier id) FunctionLoader.getTagOrEmpty
(Identifier id) Methods in net.minecraft.server.function with parameters of type CommandFunctionModifier and TypeMethodDescriptionint
CommandFunctionManager.execute
(CommandFunction function, ServerCommandSource source) Executes a function.int
CommandFunctionManager.execute
(CommandFunction function, ServerCommandSource source, @Nullable CommandFunctionManager.Tracer tracer) Executes a function.(package private) void
CommandFunctionManager.Execution.recursiveRun
(CommandFunction function, ServerCommandSource source) Handles a recursive case inCommandFunctionManager.execute(CommandFunction, ServerCommandSource, CommandFunctionManager.Tracer)
.(package private) int
CommandFunctionManager.Execution.run
(CommandFunction function, ServerCommandSource source) Method parameters in net.minecraft.server.function with type arguments of type CommandFunctionModifier and TypeMethodDescriptionprivate void
CommandFunctionManager.executeAll
(Collection<CommandFunction> functions, Identifier label) Constructors in net.minecraft.server.function with parameters of type CommandFunctionModifierConstructorDescriptionFunctionElement
(CommandFunction function) LazyContainer
(CommandFunction function)