Uses of Class
net.minecraft.server.function.CommandFunction
| Package | Description |
|---|---|
| net.minecraft.command.argument | |
| net.minecraft.server.command | |
| net.minecraft.server.function |
-
Uses of CommandFunction in net.minecraft.command.argument
Methods in net.minecraft.command.argument that return CommandFunction Modifier and Type Method Description private 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 CommandFunction Modifier and Type Method Description com.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)Collection<CommandFunction>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 CommandFunction Modifier and Type Method Description private 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) -
Uses of CommandFunction in net.minecraft.server.function
Fields in net.minecraft.server.function with type parameters of type CommandFunction Modifier and Type Field Description private 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 CommandFunction Modifier and Type Method Description static 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 CommandFunction Modifier and Type Method Description Optional<CommandFunction>CommandFunction.LazyContainer. get(CommandFunctionManager manager)Optional<CommandFunction>FunctionLoader. get(Identifier id)Optional<CommandFunction>CommandFunctionManager. getFunction(Identifier id)Map<Identifier,CommandFunction>FunctionLoader. getFunctions()Tag<CommandFunction>FunctionLoader. getOrCreateTag(Identifier id)Tag<CommandFunction>CommandFunctionManager. getTaggedFunctions(Identifier tag)TagGroup<CommandFunction>FunctionLoader. getTags()Methods in net.minecraft.server.function with parameters of type CommandFunction Modifier and Type Method Description intCommandFunctionManager. execute(CommandFunction function, ServerCommandSource source)Method parameters in net.minecraft.server.function with type arguments of type CommandFunction Modifier and Type Method Description private voidCommandFunctionManager. executeAll(Collection<CommandFunction> functions, Identifier label)Constructors in net.minecraft.server.function with parameters of type CommandFunction Constructor Description FunctionElement(CommandFunction function)LazyContainer(CommandFunction function)