接口的使用
net.minecraft.command.CommandSource
-
-
net.minecraft.client.gui.screen中CommandSource的使用
类型参数类型为CommandSource的net.minecraft.client.gui.screen中的字段 修饰符和类型 字段 说明 private com.mojang.brigadier.ParseResults<CommandSource>CommandSuggestor. parse类型变量类型为CommandSource的net.minecraft.client.gui.screen中的方法参数 修饰符和类型 方法 说明 private static OrderedTextCommandSuggestor. highlight(com.mojang.brigadier.ParseResults<CommandSource> parse, String original, int firstCharacterIndex) -
net.minecraft.client.network中CommandSource的使用
实现CommandSource的net.minecraft.client.network中的类 修饰符和类型 类 说明 classClientCommandSource类型参数类型为CommandSource的net.minecraft.client.network中的字段 修饰符和类型 字段 说明 private com.mojang.brigadier.CommandDispatcher<CommandSource>ClientPlayNetworkHandler. commandDispatcher返回变量类型为CommandSource的类型的net.minecraft.client.network中的方法 修饰符和类型 方法 说明 com.mojang.brigadier.CommandDispatcher<CommandSource>ClientPlayNetworkHandler. getCommandDispatcher()类型变量类型为CommandSource的net.minecraft.client.network中的方法参数 修饰符和类型 方法 说明 CompletableFuture<com.mojang.brigadier.suggestion.Suggestions>ClientCommandSource. getCompletions(com.mojang.brigadier.context.CommandContext<CommandSource> context, com.mojang.brigadier.suggestion.SuggestionsBuilder builder) -
net.minecraft.command中CommandSource的使用
类型变量类型为CommandSource的net.minecraft.command中的方法参数 修饰符和类型 方法 说明 CompletableFuture<com.mojang.brigadier.suggestion.Suggestions>CommandSource. getCompletions(com.mojang.brigadier.context.CommandContext<CommandSource> context, com.mojang.brigadier.suggestion.SuggestionsBuilder builder) -
net.minecraft.command.suggestion中CommandSource的使用
类型参数类型为CommandSource的net.minecraft.command.suggestion中的字段 修饰符和类型 字段 说明 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. REGISTRY类型参数类型为CommandSource的net.minecraft.command.suggestion中的方法 修饰符和类型 方法 说明 static <S extends CommandSource>
com.mojang.brigadier.suggestion.SuggestionProvider<S>SuggestionProviders. register(Identifier name, com.mojang.brigadier.suggestion.SuggestionProvider<CommandSource> provider)返回变量类型为CommandSource的类型的net.minecraft.command.suggestion中的方法 修饰符和类型 方法 说明 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)类型变量类型为CommandSource的net.minecraft.command.suggestion中的方法参数 修饰符和类型 方法 说明 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)类型变量类型为CommandSource的net.minecraft.command.suggestion中的构造器参数 构造器 说明 LocalProvider(Identifier name, com.mojang.brigadier.suggestion.SuggestionProvider<CommandSource> suggestionProvider) -
net.minecraft.network.packet.s2c.play中CommandSource的使用
类型参数类型为CommandSource的net.minecraft.network.packet.s2c.play中的字段 修饰符和类型 字段 说明 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. node返回变量类型为CommandSource的类型的net.minecraft.network.packet.s2c.play中的方法 修饰符和类型 方法 说明 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)类型变量类型为CommandSource的net.minecraft.network.packet.s2c.play中的方法参数 修饰符和类型 方法 说明 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)类型变量类型为CommandSource的net.minecraft.network.packet.s2c.play中的构造器参数 构造器 说明 CommandNodeData(@Nullable com.mojang.brigadier.builder.ArgumentBuilder<CommandSource,?> argumentBuilder, byte flags, int redirectNodeIndex, int[] childNodeIndices)CommandTreeS2CPacket(com.mojang.brigadier.tree.RootCommandNode<CommandSource> commandTree) -
net.minecraft.server.command中CommandSource的使用
实现CommandSource的net.minecraft.server.command中的类 修饰符和类型 类 说明 classServerCommandSourceRepresents a command source used on server side.类型变量类型为CommandSource的net.minecraft.server.command中的方法参数 修饰符和类型 方法 说明 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)
-