public class SuggestionProviders extends Object
Modifier and Type | Class and Description |
---|---|
static class |
SuggestionProviders.LocalProvider |
Modifier and Type | Field and Description |
---|---|
static com.mojang.brigadier.suggestion.SuggestionProvider<ServerCommandSource> |
ALL_BIOMES |
static com.mojang.brigadier.suggestion.SuggestionProvider<ServerCommandSource> |
ALL_RECIPES |
static com.mojang.brigadier.suggestion.SuggestionProvider<CommandSource> |
ASK_SERVER |
private static Identifier |
ASK_SERVER_NAME |
static com.mojang.brigadier.suggestion.SuggestionProvider<ServerCommandSource> |
AVAILABLE_SOUNDS |
private static Map<Identifier,com.mojang.brigadier.suggestion.SuggestionProvider<CommandSource>> |
REGISTRY |
static com.mojang.brigadier.suggestion.SuggestionProvider<ServerCommandSource> |
SUMMONABLE_ENTITIES |
Constructor and Description |
---|
SuggestionProviders() |
Modifier and Type | Method and Description |
---|---|
static com.mojang.brigadier.suggestion.SuggestionProvider<CommandSource> |
byId(Identifier id) |
static Identifier |
computeName(com.mojang.brigadier.suggestion.SuggestionProvider<CommandSource> provider) |
static com.mojang.brigadier.suggestion.SuggestionProvider<CommandSource> |
getLocalProvider(com.mojang.brigadier.suggestion.SuggestionProvider<CommandSource> provider) |
static <S extends CommandSource> |
register(Identifier name,
com.mojang.brigadier.suggestion.SuggestionProvider<CommandSource> provider) |
private static final Map<Identifier,com.mojang.brigadier.suggestion.SuggestionProvider<CommandSource>> REGISTRY
private static final Identifier ASK_SERVER_NAME
public static final com.mojang.brigadier.suggestion.SuggestionProvider<CommandSource> ASK_SERVER
public static final com.mojang.brigadier.suggestion.SuggestionProvider<ServerCommandSource> ALL_RECIPES
public static final com.mojang.brigadier.suggestion.SuggestionProvider<ServerCommandSource> AVAILABLE_SOUNDS
public static final com.mojang.brigadier.suggestion.SuggestionProvider<ServerCommandSource> ALL_BIOMES
public static final com.mojang.brigadier.suggestion.SuggestionProvider<ServerCommandSource> SUMMONABLE_ENTITIES
public static <S extends CommandSource> com.mojang.brigadier.suggestion.SuggestionProvider<S> register(Identifier name, com.mojang.brigadier.suggestion.SuggestionProvider<CommandSource> provider)
public static com.mojang.brigadier.suggestion.SuggestionProvider<CommandSource> byId(Identifier id)
public static Identifier computeName(com.mojang.brigadier.suggestion.SuggestionProvider<CommandSource> provider)
public static com.mojang.brigadier.suggestion.SuggestionProvider<CommandSource> getLocalProvider(com.mojang.brigadier.suggestion.SuggestionProvider<CommandSource> provider)