Uses of Interface
net.minecraft.command.CommandSource
Package
Description
-
Uses of CommandSource in net.minecraft.client.gui.screen
Modifier and TypeFieldDescriptionprivate @Nullable com.mojang.brigadier.ParseResults<CommandSource>
ChatInputSuggestor.parse
Modifier and TypeMethodDescriptionprivate static OrderedText
ChatInputSuggestor.highlight
(com.mojang.brigadier.ParseResults<CommandSource> parse, String original, int firstCharacterIndex) -
Uses of CommandSource in net.minecraft.client.network
Modifier and TypeFieldDescriptionprivate com.mojang.brigadier.CommandDispatcher<CommandSource>
ClientPlayNetworkHandler.commandDispatcher
Modifier and TypeMethodDescriptioncom.mojang.brigadier.CommandDispatcher<CommandSource>
ClientPlayNetworkHandler.getCommandDispatcher()
private com.mojang.brigadier.ParseResults<CommandSource>
-
Uses of CommandSource in net.minecraft.command.suggestion
Modifier and TypeFieldDescriptionstatic final com.mojang.brigadier.suggestion.SuggestionProvider<CommandSource>
SuggestionProviders.ASK_SERVER
private final com.mojang.brigadier.suggestion.SuggestionProvider<CommandSource>
SuggestionProviders.LocalProvider.provider
private static final Map<Identifier,
com.mojang.brigadier.suggestion.SuggestionProvider<CommandSource>> SuggestionProviders.REGISTRY
Modifier and TypeMethodDescriptionstatic <S extends CommandSource>
com.mojang.brigadier.suggestion.SuggestionProvider<S>SuggestionProviders.register
(Identifier id, com.mojang.brigadier.suggestion.SuggestionProvider<CommandSource> provider) Modifier and TypeMethodDescriptionstatic com.mojang.brigadier.suggestion.SuggestionProvider<CommandSource>
SuggestionProviders.byId
(Identifier id) static com.mojang.brigadier.suggestion.SuggestionProvider<CommandSource>
SuggestionProviders.getLocalProvider
(com.mojang.brigadier.suggestion.SuggestionProvider<CommandSource> provider) Modifier and TypeMethodDescriptionstatic Identifier
SuggestionProviders.computeId
(com.mojang.brigadier.suggestion.SuggestionProvider<CommandSource> provider) static com.mojang.brigadier.suggestion.SuggestionProvider<CommandSource>
SuggestionProviders.getLocalProvider
(com.mojang.brigadier.suggestion.SuggestionProvider<CommandSource> provider) CompletableFuture<com.mojang.brigadier.suggestion.Suggestions>
SuggestionProviders.LocalProvider.getSuggestions
(com.mojang.brigadier.context.CommandContext<CommandSource> context, com.mojang.brigadier.suggestion.SuggestionsBuilder builder) static <S extends CommandSource>
com.mojang.brigadier.suggestion.SuggestionProvider<S>SuggestionProviders.register
(Identifier id, com.mojang.brigadier.suggestion.SuggestionProvider<CommandSource> provider) ModifierConstructorDescriptionLocalProvider
(Identifier id, com.mojang.brigadier.suggestion.SuggestionProvider<CommandSource> provider) -
Uses of CommandSource in net.minecraft.network.packet.s2c.play
Modifier and TypeFieldDescriptionprivate final List<com.mojang.brigadier.tree.CommandNode<CommandSource>>
CommandTreeS2CPacket.CommandTree.nodes
Modifier and TypeMethodDescriptioncom.mojang.brigadier.builder.ArgumentBuilder<CommandSource,
?> CommandTreeS2CPacket.ArgumentNode.createArgumentBuilder
(CommandRegistryAccess commandRegistryAccess) com.mojang.brigadier.builder.ArgumentBuilder<CommandSource,
?> CommandTreeS2CPacket.LiteralNode.createArgumentBuilder
(CommandRegistryAccess commandRegistryAccess) com.mojang.brigadier.builder.ArgumentBuilder<CommandSource,
?> CommandTreeS2CPacket.SuggestableNode.createArgumentBuilder
(CommandRegistryAccess commandRegistryAccess) com.mojang.brigadier.tree.RootCommandNode<CommandSource>
CommandTreeS2CPacket.getCommandTree
(CommandRegistryAccess commandRegistryAccess) com.mojang.brigadier.tree.CommandNode<CommandSource>
CommandTreeS2CPacket.CommandTree.getNode
(int index) private static Object2IntMap<com.mojang.brigadier.tree.CommandNode<CommandSource>>
CommandTreeS2CPacket.traverse
(com.mojang.brigadier.tree.RootCommandNode<CommandSource> commandTree) Modifier and TypeMethodDescriptionprivate static List<CommandTreeS2CPacket.CommandNodeData>
CommandTreeS2CPacket.collectNodes
(Object2IntMap<com.mojang.brigadier.tree.CommandNode<CommandSource>> nodes) private static @Nullable Identifier
CommandTreeS2CPacket.ArgumentNode.computeId
(@Nullable com.mojang.brigadier.suggestion.SuggestionProvider<CommandSource> provider) private static CommandTreeS2CPacket.CommandNodeData
CommandTreeS2CPacket.createNodeData
(com.mojang.brigadier.tree.CommandNode<CommandSource> node, Object2IntMap<com.mojang.brigadier.tree.CommandNode<CommandSource>> nodes) private static CommandTreeS2CPacket.CommandNodeData
CommandTreeS2CPacket.createNodeData
(com.mojang.brigadier.tree.CommandNode<CommandSource> node, Object2IntMap<com.mojang.brigadier.tree.CommandNode<CommandSource>> nodes) private static Object2IntMap<com.mojang.brigadier.tree.CommandNode<CommandSource>>
CommandTreeS2CPacket.traverse
(com.mojang.brigadier.tree.RootCommandNode<CommandSource> commandTree) ModifierConstructorDescriptionArgumentNode
(com.mojang.brigadier.tree.ArgumentCommandNode<CommandSource, ?> node) CommandTreeS2CPacket
(com.mojang.brigadier.tree.RootCommandNode<CommandSource> rootNode) -
Uses of CommandSource in net.minecraft.server.command
Modifier and TypeClassDescriptionclass
Represents a command source used on server side.Modifier and TypeMethodDescriptionprivate void
CommandManager.makeTreeForSource
(com.mojang.brigadier.tree.CommandNode<ServerCommandSource> tree, com.mojang.brigadier.tree.CommandNode<CommandSource> result, ServerCommandSource source, Map<com.mojang.brigadier.tree.CommandNode<ServerCommandSource>, com.mojang.brigadier.tree.CommandNode<CommandSource>> resultNodes)