Fabric Client Command Source
Extensions to CommandSource for client-sided commands.
Functions
forEachMatching
Link copied to clipboard
getBlockPositionSuggestions
Link copied to clipboard
getCompletions
Link copied to clipboard
abstract CompletableFuture<Suggestions> getCompletions(CommandContext<CommandSource> context, SuggestionsBuilder builder)
Content copied to clipboard
getEntitySuggestions
Link copied to clipboard
getPlayerNames
Link copied to clipboard
getPositionSuggestions
Link copied to clipboard
getRecipeIds
Link copied to clipboard
getRegistryManager
Link copied to clipboard
getSoundIds
Link copied to clipboard
getTeamNames
Link copied to clipboard
getWorldKeys
Link copied to clipboard
hasPermissionLevel
Link copied to clipboard
abstract boolean hasPermissionLevel(int level)
Content copied to clipboard
method_27136
Link copied to clipboard
method_35510
Link copied to clipboard
static CompletableFuture<Suggestions> method_35510<T>(Iterable<T> iterable, SuggestionsBuilder suggestionsBuilder, Function<T, String> function, Function<T, Message> function2)
Content copied to clipboard
sendFeedback
Link copied to clipboard
suggestColumnPositions
Link copied to clipboard
static CompletableFuture<Suggestions> suggestColumnPositions(String string, Collection<CommandSource.RelativePosition> collection, SuggestionsBuilder suggestionsBuilder, Predicate<String> predicate)
Content copied to clipboard
suggestFromIdentifier
Link copied to clipboard
static CompletableFuture<Suggestions> suggestFromIdentifier<T>(Iterable<T> candidates, SuggestionsBuilder builder, Function<T, Identifier> identifier, Function<T, Message> tooltip)
Content copied to clipboard
suggestIdentifiers
Link copied to clipboard
static CompletableFuture<Suggestions> suggestIdentifiers(Iterable<Identifier> candidates, SuggestionsBuilder builder, String string)
Content copied to clipboard
suggestMatching
Link copied to clipboard
static CompletableFuture<Suggestions> suggestMatching(Iterable<String> iterable, SuggestionsBuilder suggestionsBuilder)
Content copied to clipboard
suggestPositions
Link copied to clipboard
static CompletableFuture<Suggestions> suggestPositions(String string, Collection<CommandSource.RelativePosition> candidates, SuggestionsBuilder builder, Predicate<String> predicate)
Content copied to clipboard
Sources
jvm source
Link copied to clipboard