Package net.minecraft.command.arguments
Class SuggestionProviders
java.lang.Object
net.minecraft.command.arguments.SuggestionProviders
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionstatic final com.mojang.brigadier.suggestion.SuggestionProvider<CommandSource>
static final com.mojang.brigadier.suggestion.SuggestionProvider<ISuggestionProvider>
static final com.mojang.brigadier.suggestion.SuggestionProvider<CommandSource>
static final com.mojang.brigadier.suggestion.SuggestionProvider<CommandSource>
private static final ResourceLocation
private static final Map<ResourceLocation,
com.mojang.brigadier.suggestion.SuggestionProvider<ISuggestionProvider>> static final com.mojang.brigadier.suggestion.SuggestionProvider<CommandSource>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic ResourceLocation
getName
(com.mojang.brigadier.suggestion.SuggestionProvider<ISuggestionProvider> p_197497_0_) static com.mojang.brigadier.suggestion.SuggestionProvider<ISuggestionProvider>
getProvider
(ResourceLocation p_197498_0_) static <S extends ISuggestionProvider>
com.mojang.brigadier.suggestion.SuggestionProvider<S>register
(ResourceLocation p_197494_0_, com.mojang.brigadier.suggestion.SuggestionProvider<ISuggestionProvider> p_197494_1_) static com.mojang.brigadier.suggestion.SuggestionProvider<ISuggestionProvider>
safelySwap
(com.mojang.brigadier.suggestion.SuggestionProvider<ISuggestionProvider> p_197496_0_)
-
Field Details
-
PROVIDERS_BY_NAME
private static final Map<ResourceLocation,com.mojang.brigadier.suggestion.SuggestionProvider<ISuggestionProvider>> PROVIDERS_BY_NAME -
DEFAULT_NAME
-
ASK_SERVER
public static final com.mojang.brigadier.suggestion.SuggestionProvider<ISuggestionProvider> ASK_SERVER -
ALL_RECIPES
-
AVAILABLE_SOUNDS
public static final com.mojang.brigadier.suggestion.SuggestionProvider<CommandSource> AVAILABLE_SOUNDS -
AVAILABLE_BIOMES
public static final com.mojang.brigadier.suggestion.SuggestionProvider<CommandSource> AVAILABLE_BIOMES -
SUMMONABLE_ENTITIES
public static final com.mojang.brigadier.suggestion.SuggestionProvider<CommandSource> SUMMONABLE_ENTITIES
-
-
Constructor Details
-
SuggestionProviders
public SuggestionProviders()
-
-
Method Details
-
register
public static <S extends ISuggestionProvider> com.mojang.brigadier.suggestion.SuggestionProvider<S> register(ResourceLocation p_197494_0_, com.mojang.brigadier.suggestion.SuggestionProvider<ISuggestionProvider> p_197494_1_) -
getProvider
public static com.mojang.brigadier.suggestion.SuggestionProvider<ISuggestionProvider> getProvider(ResourceLocation p_197498_0_) -
getName
public static ResourceLocation getName(com.mojang.brigadier.suggestion.SuggestionProvider<ISuggestionProvider> p_197497_0_) -
safelySwap
public static com.mojang.brigadier.suggestion.SuggestionProvider<ISuggestionProvider> safelySwap(com.mojang.brigadier.suggestion.SuggestionProvider<ISuggestionProvider> p_197496_0_)
-