Uses of Interface
net.minecraft.command.CommandSource
-
Uses of CommandSource in net.minecraft.client.gui.screen
Fields in net.minecraft.client.gui.screen with type parameters of type CommandSource Modifier and Type Field Description private com.mojang.brigadier.ParseResults<CommandSource>CommandSuggestor. parseMethod parameters in net.minecraft.client.gui.screen with type arguments of type CommandSource Modifier and Type Method Description private static OrderedTextCommandSuggestor. 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 CommandSource Modifier and Type Class Description classClientCommandSourceFields in net.minecraft.client.network with type parameters of type CommandSource Modifier and Type Field Description private com.mojang.brigadier.CommandDispatcher<CommandSource>ClientPlayNetworkHandler. commandDispatcherMethods in net.minecraft.client.network that return types with arguments of type CommandSource Modifier and Type Method Description com.mojang.brigadier.CommandDispatcher<CommandSource>ClientPlayNetworkHandler. getCommandDispatcher()Method parameters in net.minecraft.client.network with type arguments of type CommandSource Modifier and Type Method Description CompletableFuture<com.mojang.brigadier.suggestion.Suggestions>ClientCommandSource. getCompletions(com.mojang.brigadier.context.CommandContext<CommandSource> context, com.mojang.brigadier.suggestion.SuggestionsBuilder builder) -
Uses of CommandSource in net.minecraft.command
Method parameters in net.minecraft.command with type arguments of type CommandSource Modifier and Type Method Description CompletableFuture<com.mojang.brigadier.suggestion.Suggestions>CommandSource. getCompletions(com.mojang.brigadier.context.CommandContext<CommandSource> context, com.mojang.brigadier.suggestion.SuggestionsBuilder builder) -
Uses of CommandSource in net.minecraft.command.suggestion
Fields in net.minecraft.command.suggestion with type parameters of type CommandSource Modifier and Type Field Description static com.mojang.brigadier.suggestion.SuggestionProvider<CommandSource>SuggestionProviders. ASK_SERVERprivate com.mojang.brigadier.suggestion.SuggestionProvider<CommandSource>SuggestionProviders.LocalProvider. providerprivate static Map<Identifier,com.mojang.brigadier.suggestion.SuggestionProvider<CommandSource>>SuggestionProviders. REGISTRYMethods in net.minecraft.command.suggestion with type parameters of type CommandSource Modifier and Type Method Description static <S extends CommandSource>
com.mojang.brigadier.suggestion.SuggestionProvider<S>SuggestionProviders. register(Identifier name, com.mojang.brigadier.suggestion.SuggestionProvider<CommandSource> provider)Methods in net.minecraft.command.suggestion that return types with arguments of type CommandSource Modifier and Type Method Description static 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 CommandSource Modifier and Type Method Description static IdentifierSuggestionProviders. 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> commandContext, com.mojang.brigadier.suggestion.SuggestionsBuilder suggestionsBuilder)static <S extends CommandSource>
com.mojang.brigadier.suggestion.SuggestionProvider<S>SuggestionProviders. register(Identifier name, com.mojang.brigadier.suggestion.SuggestionProvider<CommandSource> provider)Constructor parameters in net.minecraft.command.suggestion with type arguments of type CommandSource Constructor Description LocalProvider(Identifier name, com.mojang.brigadier.suggestion.SuggestionProvider<CommandSource> suggestionProvider) -
Uses of CommandSource in net.minecraft.network.packet.s2c.play
Fields in net.minecraft.network.packet.s2c.play with type parameters of type CommandSource Modifier and Type Field Description private @Nullable com.mojang.brigadier.builder.ArgumentBuilder<CommandSource,?>CommandTreeS2CPacket.CommandNodeData. argumentBuilderprivate com.mojang.brigadier.tree.RootCommandNode<CommandSource>CommandTreeS2CPacket. commandTreeprivate @Nullable com.mojang.brigadier.tree.CommandNode<CommandSource>CommandTreeS2CPacket.CommandNodeData. nodeMethods in net.minecraft.network.packet.s2c.play that return types with arguments of type CommandSource Modifier and Type Method Description com.mojang.brigadier.tree.RootCommandNode<CommandSource>CommandTreeS2CPacket. getCommandTree()private static Object2IntMap<com.mojang.brigadier.tree.CommandNode<CommandSource>>CommandTreeS2CPacket. method_30944(com.mojang.brigadier.tree.RootCommandNode<CommandSource> rootCommandNode)private static List<com.mojang.brigadier.tree.CommandNode<CommandSource>>CommandTreeS2CPacket. method_30945(Object2IntMap<com.mojang.brigadier.tree.CommandNode<CommandSource>> object2IntMap)private static @Nullable com.mojang.brigadier.builder.ArgumentBuilder<CommandSource,?>CommandTreeS2CPacket. readArgumentBuilder(PacketByteBuf buf, byte byte2)Method parameters in net.minecraft.network.packet.s2c.play with type arguments of type CommandSource Modifier and Type Method Description private static Object2IntMap<com.mojang.brigadier.tree.CommandNode<CommandSource>>CommandTreeS2CPacket. method_30944(com.mojang.brigadier.tree.RootCommandNode<CommandSource> rootCommandNode)private static List<com.mojang.brigadier.tree.CommandNode<CommandSource>>CommandTreeS2CPacket. method_30945(Object2IntMap<com.mojang.brigadier.tree.CommandNode<CommandSource>> object2IntMap)private static voidCommandTreeS2CPacket. writeNode(PacketByteBuf buf, com.mojang.brigadier.tree.CommandNode<CommandSource> commandNode, Map<com.mojang.brigadier.tree.CommandNode<CommandSource>,Integer> map)private static voidCommandTreeS2CPacket. writeNode(PacketByteBuf buf, com.mojang.brigadier.tree.CommandNode<CommandSource> commandNode, Map<com.mojang.brigadier.tree.CommandNode<CommandSource>,Integer> map)Constructor parameters in net.minecraft.network.packet.s2c.play with type arguments of type CommandSource Constructor Description 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
Classes in net.minecraft.server.command that implement CommandSource Modifier and Type Class Description classServerCommandSourceRepresents a command source used on server side.Method parameters in net.minecraft.server.command with type arguments of type CommandSource Modifier and Type Method Description CompletableFuture<com.mojang.brigadier.suggestion.Suggestions>ServerCommandSource. getCompletions(com.mojang.brigadier.context.CommandContext<CommandSource> context, com.mojang.brigadier.suggestion.SuggestionsBuilder builder)private voidCommandManager. 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)