Uses of Class
com.mojang.brigadier.CommandDispatcher
Packages that use CommandDispatcher
Package
Description
Events fired only on the client-side, chiefly related to rendering and user interfaces (screens and input).
-
Uses of CommandDispatcher in com.mojang.brigadier.context
Fields in com.mojang.brigadier.context declared as CommandDispatcherModifier and TypeFieldDescriptionprivate final CommandDispatcher<S> CommandContextBuilder.dispatcherMethods in com.mojang.brigadier.context that return CommandDispatcherConstructors in com.mojang.brigadier.context with parameters of type CommandDispatcherModifierConstructorDescriptionCommandContextBuilder(CommandDispatcher<S> dispatcher, S source, CommandNode<S> rootNode, int start) -
Uses of CommandDispatcher in net.minecraft.client.multiplayer
Fields in net.minecraft.client.multiplayer declared as CommandDispatcherMethods in net.minecraft.client.multiplayer that return CommandDispatcher -
Uses of CommandDispatcher in net.minecraft.commands
Fields in net.minecraft.commands declared as CommandDispatcherModifier and TypeFieldDescriptionprivate final CommandDispatcher<CommandSourceStack> Commands.dispatcherMethods in net.minecraft.commands that return CommandDispatcherModifier and TypeMethodDescriptionCommandSourceStack.dispatcher()ExecutionCommandSource.dispatcher()Commands.getDispatcher() -
Uses of CommandDispatcher in net.minecraft.commands.functions
Methods in net.minecraft.commands.functions with parameters of type CommandDispatcherModifier and TypeMethodDescriptionstatic <T extends ExecutionCommandSource<T>>
CommandFunction<T> CommandFunction.fromLines(Identifier id, CommandDispatcher<T> dispatcher, T compilationContext, List<String> lines) CommandFunction.instantiate(@Nullable CompoundTag arguments, CommandDispatcher<T> dispatcher) MacroFunction.Entry.instantiate(List<String> substitutions, CommandDispatcher<T> dispatcher, Identifier funtionId) MacroFunction.instantiate(@Nullable CompoundTag arguments, CommandDispatcher<T> dispatcher) MacroFunction.MacroEntry.instantiate(List<String> substitutions, CommandDispatcher<T> dispatcher, Identifier functionId) MacroFunction.PlainTextEntry.instantiate(List<String> substitutions, CommandDispatcher<T> dispatcher, Identifier functionId) PlainTextFunction.instantiate(@Nullable CompoundTag arguments, CommandDispatcher<T> dispatcher) static <T extends ExecutionCommandSource<T>>
UnboundEntryAction<T> CommandFunction.parseCommand(CommandDispatcher<T> dispatcher, T compilationContext, StringReader input) private InstantiatedFunction<T> MacroFunction.substituteAndParse(List<String> keys, List<String> values, CommandDispatcher<T> dispatcher) -
Uses of CommandDispatcher in net.minecraft.commands.synchronization
Methods in net.minecraft.commands.synchronization with parameters of type CommandDispatcherModifier and TypeMethodDescriptionstatic <S> com.google.gson.JsonObjectArgumentUtils.serializeNodeToJson(CommandDispatcher<S> dispatcher, CommandNode<S> node) -
Uses of CommandDispatcher in net.minecraft.gametest.framework
Methods in net.minecraft.gametest.framework with parameters of type CommandDispatcherModifier and TypeMethodDescriptionstatic voidTestCommand.register(CommandDispatcher<CommandSourceStack> dispatcher, CommandBuildContext context) -
Uses of CommandDispatcher in net.minecraft.server
Fields in net.minecraft.server declared as CommandDispatcherModifier and TypeFieldDescriptionprivate final CommandDispatcher<CommandSourceStack> ServerFunctionLibrary.dispatcherMethods in net.minecraft.server that return CommandDispatcherConstructors in net.minecraft.server with parameters of type CommandDispatcherModifierConstructorDescriptionServerFunctionLibrary(PermissionSet functionCompilationPermissions, CommandDispatcher<CommandSourceStack> dispatcher) -
Uses of CommandDispatcher in net.minecraft.server.commands
Methods in net.minecraft.server.commands with parameters of type CommandDispatcherModifier and TypeMethodDescriptionprivate static <T extends ExecutionCommandSource<T>>
voidFunctionCommand.instantiateAndQueueFunctions(@Nullable CompoundTag arguments, ExecutionControl<T> output, CommandDispatcher<T> dispatcher, T noCallbackSource, CommandFunction<T> function, Identifier id, CommandResultCallback functionResultCollector, boolean returnParentFrame) static voidAdvancementCommands.register(CommandDispatcher<CommandSourceStack> dispatcher) static voidAttributeCommand.register(CommandDispatcher<CommandSourceStack> dispatcher, CommandBuildContext context) static voidBanIpCommands.register(CommandDispatcher<CommandSourceStack> dispatcher) static voidBanListCommands.register(CommandDispatcher<CommandSourceStack> dispatcher) static voidBanPlayerCommands.register(CommandDispatcher<CommandSourceStack> dispatcher) static voidBossBarCommands.register(CommandDispatcher<CommandSourceStack> dispatcher, CommandBuildContext context) static voidChaseCommand.register(CommandDispatcher<CommandSourceStack> dispatcher) static voidClearInventoryCommands.register(CommandDispatcher<CommandSourceStack> dispatcher, CommandBuildContext context) static voidCloneCommands.register(CommandDispatcher<CommandSourceStack> dispatcher, CommandBuildContext context) static voidDamageCommand.register(CommandDispatcher<CommandSourceStack> dispatcher, CommandBuildContext context) static voidDataPackCommand.register(CommandDispatcher<CommandSourceStack> dispatcher, CommandBuildContext context) static voidDebugCommand.register(CommandDispatcher<CommandSourceStack> dispatcher) static voidDebugConfigCommand.register(CommandDispatcher<CommandSourceStack> dispatcher, CommandBuildContext context) static voidDebugMobSpawningCommand.register(CommandDispatcher<CommandSourceStack> dispatcher) static voidDebugPathCommand.register(CommandDispatcher<CommandSourceStack> dispatcher) static voidDefaultGameModeCommands.register(CommandDispatcher<CommandSourceStack> dispatcher) static voidDeOpCommands.register(CommandDispatcher<CommandSourceStack> dispatcher) static voidDialogCommand.register(CommandDispatcher<CommandSourceStack> dispatcher, CommandBuildContext context) static voidDifficultyCommand.register(CommandDispatcher<CommandSourceStack> dispatcher) static voidEffectCommands.register(CommandDispatcher<CommandSourceStack> dispatcher, CommandBuildContext context) static voidEmoteCommands.register(CommandDispatcher<CommandSourceStack> dispatcher) static voidEnchantCommand.register(CommandDispatcher<CommandSourceStack> dispatcher, CommandBuildContext context) static voidExecuteCommand.register(CommandDispatcher<CommandSourceStack> dispatcher, CommandBuildContext context) static voidExperienceCommand.register(CommandDispatcher<CommandSourceStack> dispatcher) static voidFetchProfileCommand.register(CommandDispatcher<CommandSourceStack> dispatcher) static voidFillBiomeCommand.register(CommandDispatcher<CommandSourceStack> dispatcher, CommandBuildContext context) static voidFillCommand.register(CommandDispatcher<CommandSourceStack> dispatcher, CommandBuildContext context) static voidForceLoadCommand.register(CommandDispatcher<CommandSourceStack> dispatcher) static voidFunctionCommand.register(CommandDispatcher<CommandSourceStack> dispatcher) static voidGameModeCommand.register(CommandDispatcher<CommandSourceStack> dispatcher) static voidGameRuleCommand.register(CommandDispatcher<CommandSourceStack> dispatcher, CommandBuildContext context) static voidGiveCommand.register(CommandDispatcher<CommandSourceStack> dispatcher, CommandBuildContext context) static voidHelpCommand.register(CommandDispatcher<CommandSourceStack> dispatcher) static voidItemCommands.register(CommandDispatcher<CommandSourceStack> dispatcher, CommandBuildContext context) static voidJfrCommand.register(CommandDispatcher<CommandSourceStack> dispatcher) static voidKickCommand.register(CommandDispatcher<CommandSourceStack> dispatcher) static voidKillCommand.register(CommandDispatcher<CommandSourceStack> dispatcher) static voidListPlayersCommand.register(CommandDispatcher<CommandSourceStack> dispatcher) static voidLocateCommand.register(CommandDispatcher<CommandSourceStack> dispatcher, CommandBuildContext context) static voidLootCommand.register(CommandDispatcher<CommandSourceStack> dispatcher, CommandBuildContext context) static voidMsgCommand.register(CommandDispatcher<CommandSourceStack> dispatcher) static voidOpCommand.register(CommandDispatcher<CommandSourceStack> dispatcher) static voidPardonCommand.register(CommandDispatcher<CommandSourceStack> dispatcher) static voidPardonIpCommand.register(CommandDispatcher<CommandSourceStack> dispatcher) static voidParticleCommand.register(CommandDispatcher<CommandSourceStack> dispatcher, CommandBuildContext context) static voidPerfCommand.register(CommandDispatcher<CommandSourceStack> dispatcher) static voidPlaceCommand.register(CommandDispatcher<CommandSourceStack> dispatcher) static voidPlaySoundCommand.register(CommandDispatcher<CommandSourceStack> dispatcher) static voidPublishCommand.register(CommandDispatcher<CommandSourceStack> dispatcher) static voidRaidCommand.register(CommandDispatcher<CommandSourceStack> dispatcher, CommandBuildContext context) static voidRandomCommand.register(CommandDispatcher<CommandSourceStack> dispatcher) static voidRecipeCommand.register(CommandDispatcher<CommandSourceStack> dispatcher) static voidReloadCommand.register(CommandDispatcher<CommandSourceStack> dispatcher) static <T extends ExecutionCommandSource<T>>
voidReturnCommand.register(CommandDispatcher<T> dispatcher) static voidRideCommand.register(CommandDispatcher<CommandSourceStack> dispatcher) static voidRotateCommand.register(CommandDispatcher<CommandSourceStack> dispatcher) static voidSaveAllCommand.register(CommandDispatcher<CommandSourceStack> dispatcher) static voidSaveOffCommand.register(CommandDispatcher<CommandSourceStack> dispatcher) static voidSaveOnCommand.register(CommandDispatcher<CommandSourceStack> dispatcher) static voidSayCommand.register(CommandDispatcher<CommandSourceStack> dispatcher) static voidScheduleCommand.register(CommandDispatcher<CommandSourceStack> dispatcher) static voidScoreboardCommand.register(CommandDispatcher<CommandSourceStack> dispatcher, CommandBuildContext context) static voidSeedCommand.register(CommandDispatcher<CommandSourceStack> dispatcher, boolean checkPermissions) static voidServerPackCommand.register(CommandDispatcher<CommandSourceStack> dispatcher) static voidSetBlockCommand.register(CommandDispatcher<CommandSourceStack> dispatcher, CommandBuildContext context) static voidSetPlayerIdleTimeoutCommand.register(CommandDispatcher<CommandSourceStack> dispatcher) static voidSetSpawnCommand.register(CommandDispatcher<CommandSourceStack> dispatcher) static voidSetWorldSpawnCommand.register(CommandDispatcher<CommandSourceStack> dispatcher) static voidSpawnArmorTrimsCommand.register(CommandDispatcher<CommandSourceStack> dispatcher) static voidSpectateCommand.register(CommandDispatcher<CommandSourceStack> dispatcher) static voidSpreadPlayersCommand.register(CommandDispatcher<CommandSourceStack> dispatcher) static voidStopCommand.register(CommandDispatcher<CommandSourceStack> dispatcher) static voidStopSoundCommand.register(CommandDispatcher<CommandSourceStack> dispatcher) static voidStopwatchCommand.register(CommandDispatcher<CommandSourceStack> dispatcher) static voidSummonCommand.register(CommandDispatcher<CommandSourceStack> dispatcher, CommandBuildContext context) static voidSwingCommand.register(CommandDispatcher<CommandSourceStack> dispatcher) static voidTagCommand.register(CommandDispatcher<CommandSourceStack> dispatcher) static voidTeamCommand.register(CommandDispatcher<CommandSourceStack> dispatcher, CommandBuildContext context) static voidTeamMsgCommand.register(CommandDispatcher<CommandSourceStack> dispatcher) static voidTeleportCommand.register(CommandDispatcher<CommandSourceStack> dispatcher) static voidTellRawCommand.register(CommandDispatcher<CommandSourceStack> dispatcher, CommandBuildContext context) static voidTickCommand.register(CommandDispatcher<CommandSourceStack> dispatcher) static voidTimeCommand.register(CommandDispatcher<CommandSourceStack> dispatcher, CommandBuildContext context) static voidTitleCommand.register(CommandDispatcher<CommandSourceStack> dispatcher, CommandBuildContext context) static voidTransferCommand.register(CommandDispatcher<CommandSourceStack> dispatcher) static voidTriggerCommand.register(CommandDispatcher<CommandSourceStack> dispatcher) static voidVersionCommand.register(CommandDispatcher<CommandSourceStack> dispatcher, boolean checkPermissions) static voidWardenSpawnTrackerCommand.register(CommandDispatcher<CommandSourceStack> dispatcher) static voidWaypointCommand.register(CommandDispatcher<CommandSourceStack> dispatcher, CommandBuildContext context) static voidWeatherCommand.register(CommandDispatcher<CommandSourceStack> dispatcher) static voidWhitelistCommand.register(CommandDispatcher<CommandSourceStack> dispatcher) static voidWorldBorderCommand.register(CommandDispatcher<CommandSourceStack> dispatcher) -
Uses of CommandDispatcher in net.minecraft.server.commands.data
Methods in net.minecraft.server.commands.data with parameters of type CommandDispatcherModifier and TypeMethodDescriptionstatic voidDataCommands.register(CommandDispatcher<CommandSourceStack> dispatcher) -
Uses of CommandDispatcher in net.neoforged.neoforge.client
Fields in net.neoforged.neoforge.client declared as CommandDispatcherModifier and TypeFieldDescriptionprivate static CommandDispatcher<CommandSourceStack> ClientCommandHandler.commandsMethods in net.neoforged.neoforge.client that return CommandDispatcherModifier and TypeMethodDescriptionstatic CommandDispatcher<CommandSourceStack> ClientCommandHandler.getDispatcher()ClientCommandHandler.mergeServerCommands(CommandDispatcher<ClientSuggestionProvider> serverCommands, CommandBuildContext buildContext) Methods in net.neoforged.neoforge.client with parameters of type CommandDispatcherModifier and TypeMethodDescriptionClientCommandHandler.mergeServerCommands(CommandDispatcher<ClientSuggestionProvider> serverCommands, CommandBuildContext buildContext) -
Uses of CommandDispatcher in net.neoforged.neoforge.client.command
Methods in net.neoforged.neoforge.client.command with parameters of type CommandDispatcherModifier and TypeMethodDescriptionstatic voidClientConfigCommand.register(CommandDispatcher<CommandSourceStack> dispatcher) -
Uses of CommandDispatcher in net.neoforged.neoforge.client.event
Fields in net.neoforged.neoforge.client.event declared as CommandDispatcherModifier and TypeFieldDescriptionprivate final CommandDispatcher<CommandSourceStack> RegisterClientCommandsEvent.dispatcherMethods in net.neoforged.neoforge.client.event that return CommandDispatcherModifier and TypeMethodDescriptionRegisterClientCommandsEvent.getDispatcher()Returns the command dispatcher for registering commands to be executed on the client.Constructors in net.neoforged.neoforge.client.event with parameters of type CommandDispatcherModifierConstructorDescriptionRegisterClientCommandsEvent(CommandDispatcher<CommandSourceStack> dispatcher, CommandBuildContext context) -
Uses of CommandDispatcher in net.neoforged.neoforge.event
Fields in net.neoforged.neoforge.event declared as CommandDispatcherModifier and TypeFieldDescriptionprivate final CommandDispatcher<CommandSourceStack> RegisterCommandsEvent.dispatcherMethods in net.neoforged.neoforge.event that return CommandDispatcherModifier and TypeMethodDescriptionRegisterCommandsEvent.getDispatcher()Returns the command dispatcher for registering commands to be executed on the client.Methods in net.neoforged.neoforge.event with parameters of type CommandDispatcherModifier and TypeMethodDescriptionstatic voidEventHooks.onCommandRegister(CommandDispatcher<CommandSourceStack> dispatcher, Commands.CommandSelection environment, CommandBuildContext context) Constructors in net.neoforged.neoforge.event with parameters of type CommandDispatcherModifierConstructorDescriptionRegisterCommandsEvent(CommandDispatcher<CommandSourceStack> dispatcher, Commands.CommandSelection environment, CommandBuildContext context) -
Uses of CommandDispatcher in net.neoforged.neoforge.server.command
Methods in net.neoforged.neoforge.server.command with parameters of type CommandDispatcherModifier and TypeMethodDescriptionstatic voidConfigCommand.register(CommandDispatcher<CommandSourceStack> dispatcher) static voidNeoForgeCommand.register(CommandDispatcher<CommandSourceStack> dispatcher)