Package net.minecraft.command.suggestion
Class SuggestionProviders
java.lang.Object
net.minecraft.command.suggestion.SuggestionProviders
public class SuggestionProviders extends Object
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SuggestionProviders.LocalProvider
-
Field Summary
Fields Modifier and Type Field 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 Summary
Constructors Constructor Description SuggestionProviders()
-
Method Summary
Modifier and Type Method 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>
com.mojang.brigadier.suggestion.SuggestionProvider<S>register(Identifier name, com.mojang.brigadier.suggestion.SuggestionProvider<CommandSource> provider)
-
Field Details
-
REGISTRY
private static final Map<Identifier,com.mojang.brigadier.suggestion.SuggestionProvider<CommandSource>> REGISTRY -
ASK_SERVER_NAME
-
ASK_SERVER
-
ALL_RECIPES
public static final com.mojang.brigadier.suggestion.SuggestionProvider<ServerCommandSource> ALL_RECIPES -
AVAILABLE_SOUNDS
public static final com.mojang.brigadier.suggestion.SuggestionProvider<ServerCommandSource> AVAILABLE_SOUNDS -
ALL_BIOMES
public static final com.mojang.brigadier.suggestion.SuggestionProvider<ServerCommandSource> ALL_BIOMES -
SUMMONABLE_ENTITIES
public static final com.mojang.brigadier.suggestion.SuggestionProvider<ServerCommandSource> SUMMONABLE_ENTITIES
-
-
Constructor Details
-
SuggestionProviders
public SuggestionProviders()
-
-
Method Details
-
register
public static <S extends CommandSource> com.mojang.brigadier.suggestion.SuggestionProvider<S> register(Identifier name, com.mojang.brigadier.suggestion.SuggestionProvider<CommandSource> provider) -
byId
public static com.mojang.brigadier.suggestion.SuggestionProvider<CommandSource> byId(Identifier id) -
computeName
public static Identifier computeName(com.mojang.brigadier.suggestion.SuggestionProvider<CommandSource> provider) -
getLocalProvider
public static com.mojang.brigadier.suggestion.SuggestionProvider<CommandSource> getLocalProvider(com.mojang.brigadier.suggestion.SuggestionProvider<CommandSource> provider)
-