Class SuggestionProviders
java.lang.Object
net.minecraft.commands.synchronization.SuggestionProviders
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionstatic com.mojang.brigadier.suggestion.SuggestionProvider<CommandSourceStack>
static com.mojang.brigadier.suggestion.SuggestionProvider<SharedSuggestionProvider>
static com.mojang.brigadier.suggestion.SuggestionProvider<CommandSourceStack>
static com.mojang.brigadier.suggestion.SuggestionProvider<CommandSourceStack>
private static ResourceLocation
private static Map<ResourceLocation,com.mojang.brigadier.suggestion.SuggestionProvider<SharedSuggestionProvider>>
static com.mojang.brigadier.suggestion.SuggestionProvider<CommandSourceStack>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic ResourceLocation
getName(com.mojang.brigadier.suggestion.SuggestionProvider<SharedSuggestionProvider> p_121655_)
static com.mojang.brigadier.suggestion.SuggestionProvider<SharedSuggestionProvider>
getProvider(ResourceLocation p_121657_)
static <S extends SharedSuggestionProvider>
com.mojang.brigadier.suggestion.SuggestionProvider<S>register(ResourceLocation p_121659_, com.mojang.brigadier.suggestion.SuggestionProvider<SharedSuggestionProvider> p_121660_)
static com.mojang.brigadier.suggestion.SuggestionProvider<SharedSuggestionProvider>
safelySwap(com.mojang.brigadier.suggestion.SuggestionProvider<SharedSuggestionProvider> p_121665_)
-
Field Details
-
PROVIDERS_BY_NAME
private static final Map<ResourceLocation,com.mojang.brigadier.suggestion.SuggestionProvider<SharedSuggestionProvider>> PROVIDERS_BY_NAME -
DEFAULT_NAME
-
ASK_SERVER
public static final com.mojang.brigadier.suggestion.SuggestionProvider<SharedSuggestionProvider> ASK_SERVER -
ALL_RECIPES
public static final com.mojang.brigadier.suggestion.SuggestionProvider<CommandSourceStack> ALL_RECIPES -
AVAILABLE_SOUNDS
public static final com.mojang.brigadier.suggestion.SuggestionProvider<CommandSourceStack> AVAILABLE_SOUNDS -
AVAILABLE_BIOMES
public static final com.mojang.brigadier.suggestion.SuggestionProvider<CommandSourceStack> AVAILABLE_BIOMES -
SUMMONABLE_ENTITIES
public static final com.mojang.brigadier.suggestion.SuggestionProvider<CommandSourceStack> SUMMONABLE_ENTITIES
-
-
Constructor Details
-
SuggestionProviders
public SuggestionProviders()
-
-
Method Details
-
register
public static <S extends SharedSuggestionProvider> com.mojang.brigadier.suggestion.SuggestionProvider<S> register(ResourceLocation p_121659_, com.mojang.brigadier.suggestion.SuggestionProvider<SharedSuggestionProvider> p_121660_) -
getProvider
public static com.mojang.brigadier.suggestion.SuggestionProvider<SharedSuggestionProvider> getProvider(ResourceLocation p_121657_) -
getName
public static ResourceLocation getName(com.mojang.brigadier.suggestion.SuggestionProvider<SharedSuggestionProvider> p_121655_) -
safelySwap
public static com.mojang.brigadier.suggestion.SuggestionProvider<SharedSuggestionProvider> safelySwap(com.mojang.brigadier.suggestion.SuggestionProvider<SharedSuggestionProvider> p_121665_)
-