Uses of Interface
net.minecraft.command.CommandSource
Packages that use CommandSource
Package
Description
-
Uses of CommandSource in net.minecraft.client.gui.screen
Fields in net.minecraft.client.gui.screen with type parameters of type CommandSourceModifier and TypeFieldDescriptionprivate @Nullable com.mojang.brigadier.ParseResults<CommandSource>
CommandSuggestor.parse
Methods in net.minecraft.client.gui.screen that return types with arguments of type CommandSourceModifier and TypeMethodDescription@Nullable com.mojang.brigadier.tree.CommandNode<CommandSource>
CommandSuggestor.getNodeAt
(int cursor) Returns the command node atcursor
.Method parameters in net.minecraft.client.gui.screen with type arguments of type CommandSourceModifier and TypeMethodDescriptionprivate static OrderedText
CommandSuggestor.highlight
(com.mojang.brigadier.ParseResults<CommandSource> parse, String original, int firstCharacterIndex) -
Uses of CommandSource in net.minecraft.client.network
Classes in net.minecraft.client.network that implement CommandSourceFields in net.minecraft.client.network with type parameters of type CommandSourceModifier and TypeFieldDescriptionprivate com.mojang.brigadier.CommandDispatcher<CommandSource>
ClientPlayNetworkHandler.commandDispatcher
Methods in net.minecraft.client.network that return types with arguments of type CommandSourceModifier and TypeMethodDescriptioncom.mojang.brigadier.CommandDispatcher<CommandSource>
ClientPlayNetworkHandler.getCommandDispatcher()
Method parameters in net.minecraft.client.network with type arguments of type CommandSourceModifier and TypeMethodDescriptionprivate ArgumentSignatureDataMap
ClientPlayerEntity.signArguments
(ChatMessageSigner signer, com.mojang.brigadier.ParseResults<CommandSource> parseResults, @Nullable Text preview) Signs the command arguments. -
Uses of CommandSource in net.minecraft.command.suggestion
Fields in net.minecraft.command.suggestion with type parameters of type CommandSourceModifier 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
Methods in net.minecraft.command.suggestion with type parameters of type CommandSourceModifier and TypeMethodDescriptionstatic <S extends CommandSource>
com.mojang.brigadier.suggestion.SuggestionProvider<S>SuggestionProviders.register
(Identifier id, com.mojang.brigadier.suggestion.SuggestionProvider<CommandSource> provider) Methods in net.minecraft.command.suggestion that return types with arguments of type CommandSourceModifier 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) Method parameters in net.minecraft.command.suggestion with type arguments of type CommandSourceModifier 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) Constructor parameters in net.minecraft.command.suggestion with type arguments of type CommandSourceModifierConstructorDescriptionLocalProvider
(Identifier id, com.mojang.brigadier.suggestion.SuggestionProvider<CommandSource> provider) -
Uses of CommandSource in net.minecraft.network.packet.s2c.play
Fields in net.minecraft.network.packet.s2c.play with type parameters of type CommandSourceModifier and TypeFieldDescriptionprivate final List<com.mojang.brigadier.tree.CommandNode<CommandSource>>
CommandTreeS2CPacket.CommandTree.nodes
Methods in net.minecraft.network.packet.s2c.play that return types with arguments of type CommandSourceModifier 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) Method parameters in net.minecraft.network.packet.s2c.play with type arguments of type CommandSourceModifier 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) Constructor parameters in net.minecraft.network.packet.s2c.play with type arguments of type CommandSourceModifierConstructorDescriptionArgumentNode
(com.mojang.brigadier.tree.ArgumentCommandNode<CommandSource, ?> node) CommandTreeS2CPacket
(com.mojang.brigadier.tree.RootCommandNode<CommandSource> rootNode) -
Uses of CommandSource in net.minecraft.server.command
Classes in net.minecraft.server.command that implement CommandSourceModifier and TypeClassDescriptionclass
Represents a command source used on server side.Method parameters in net.minecraft.server.command with type arguments of type CommandSourceModifier 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)