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>
CommandSuggestor.parse
Modifier and TypeMethodDescriptionprivate static OrderedText
CommandSuggestor.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()
-
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 name, 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.computeName
(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 name, com.mojang.brigadier.suggestion.SuggestionProvider<CommandSource> provider) ModifierConstructorDescriptionLocalProvider
(Identifier name, com.mojang.brigadier.suggestion.SuggestionProvider<CommandSource> provider) -
Uses of CommandSource in net.minecraft.network.packet.s2c.play
Modifier and TypeFieldDescriptionprivate final @Nullable com.mojang.brigadier.builder.ArgumentBuilder<CommandSource,
?> CommandTreeS2CPacket.CommandNodeData.argumentBuilder
private final com.mojang.brigadier.tree.RootCommandNode<CommandSource>
CommandTreeS2CPacket.commandTree
(package private) @Nullable com.mojang.brigadier.tree.CommandNode<CommandSource>
CommandTreeS2CPacket.CommandNodeData.node
Modifier and TypeMethodDescriptionprivate static List<com.mojang.brigadier.tree.CommandNode<CommandSource>>
CommandTreeS2CPacket.collectNodes
(Object2IntMap<com.mojang.brigadier.tree.CommandNode<CommandSource>> nodes) com.mojang.brigadier.tree.RootCommandNode<CommandSource>
CommandTreeS2CPacket.getCommandTree()
private static @Nullable com.mojang.brigadier.builder.ArgumentBuilder<CommandSource,
?> CommandTreeS2CPacket.readArgumentBuilder
(PacketByteBuf buf, byte byte2) private static Object2IntMap<com.mojang.brigadier.tree.CommandNode<CommandSource>>
CommandTreeS2CPacket.traverse
(com.mojang.brigadier.tree.RootCommandNode<CommandSource> commandTree) Modifier and TypeMethodDescriptionprivate static List<com.mojang.brigadier.tree.CommandNode<CommandSource>>
CommandTreeS2CPacket.collectNodes
(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) private static void
CommandTreeS2CPacket.writeNode
(PacketByteBuf buf, com.mojang.brigadier.tree.CommandNode<CommandSource> node, Map<com.mojang.brigadier.tree.CommandNode<CommandSource>, Integer> nodeToIndex) private static void
CommandTreeS2CPacket.writeNode
(PacketByteBuf buf, com.mojang.brigadier.tree.CommandNode<CommandSource> node, Map<com.mojang.brigadier.tree.CommandNode<CommandSource>, Integer> nodeToIndex) ModifierConstructorDescription(package private)
CommandNodeData
(@Nullable com.mojang.brigadier.builder.ArgumentBuilder<CommandSource, ?> argumentBuilder, byte flags, int redirectNodeIndex, int[] childNodeIndices) CommandTreeS2CPacket
(com.mojang.brigadier.tree.RootCommandNode<CommandSource> commandTree) -
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)