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 TypeMethodDescriptionprivate static CommandFunctionCommandFunctionArgumentType.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,Tag<CommandFunction>>>CommandFunctionArgumentType.FunctionArgument.getFunctionOrTag(com.mojang.brigadier.context.CommandContext<ServerCommandSource> commandContext)com.mojang.datafixers.util.Pair<Identifier,com.mojang.datafixers.util.Either<CommandFunction,Tag<CommandFunction>>>CommandFunctionArgumentType.FunctionArgument.getFunctionOrTag(com.mojang.brigadier.context.CommandContext<ServerCommandSource> commandContext)static com.mojang.datafixers.util.Pair<Identifier,com.mojang.datafixers.util.Either<CommandFunction,Tag<CommandFunction>>>CommandFunctionArgumentType.getFunctionOrTag(com.mojang.brigadier.context.CommandContext<ServerCommandSource> commandContext, String string)static com.mojang.datafixers.util.Pair<Identifier,com.mojang.datafixers.util.Either<CommandFunction,Tag<CommandFunction>>>CommandFunctionArgumentType.getFunctionOrTag(com.mojang.brigadier.context.CommandContext<ServerCommandSource> commandContext, String string)CommandFunctionArgumentType.FunctionArgument.getFunctions(com.mojang.brigadier.context.CommandContext<ServerCommandSource> commandContext)static Collection<CommandFunction>CommandFunctionArgumentType.getFunctions(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name)private static Tag<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 intFunctionCommand.execute(ServerCommandSource source, Collection<CommandFunction> functions)private static intScheduleCommand.execute(ServerCommandSource source, com.mojang.datafixers.util.Pair<Identifier,com.mojang.datafixers.util.Either<CommandFunction,Tag<CommandFunction>>> function, int time, boolean replace)private static intScheduleCommand.execute(ServerCommandSource source, com.mojang.datafixers.util.Pair<Identifier,com.mojang.datafixers.util.Either<CommandFunction,Tag<CommandFunction>>> function, int time, boolean replace)private static intDebugCommand.method_36354(ServerCommandSource serverCommandSource, Collection<CommandFunction> collection) -
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.functionprivate Map<Identifier,CommandFunction>FunctionLoader.functionsprivate TagGroupLoader<CommandFunction>FunctionLoader.tagLoaderprivate TagGroup<CommandFunction>FunctionLoader.tagsprivate List<CommandFunction>CommandFunctionManager.tickFunctionsMethods in net.minecraft.server.function that return CommandFunctionModifier and TypeMethodDescriptionstatic CommandFunctionCommandFunction.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()FunctionLoader.getOrCreateTag(Identifier id)CommandFunctionManager.getTaggedFunctions(Identifier tag)FunctionLoader.getTags()Methods in net.minecraft.server.function with parameters of type CommandFunctionModifier and TypeMethodDescriptionintCommandFunctionManager.execute(CommandFunction function, ServerCommandSource source)intCommandFunctionManager.method_36341(CommandFunction commandFunction, ServerCommandSource serverCommandSource, @Nullable CommandFunctionManager.class_6346 class_6346)private voidCommandFunctionManager.class_6345.method_36343(CommandFunction commandFunction, ServerCommandSource serverCommandSource)private intCommandFunctionManager.class_6345.method_36346(CommandFunction commandFunction, ServerCommandSource serverCommandSource)Method parameters in net.minecraft.server.function with type arguments of type CommandFunctionModifier and TypeMethodDescriptionprivate voidCommandFunctionManager.executeAll(Collection<CommandFunction> functions, Identifier label)Constructors in net.minecraft.server.function with parameters of type CommandFunctionModifierConstructorDescriptionFunctionElement(CommandFunction function)LazyContainer(CommandFunction function)