Package net.minecraft.command.arguments
Class SuggestionProviders
- java.lang.Object
-
- net.minecraft.command.arguments.SuggestionProviders
-
public class SuggestionProviders extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SuggestionProviders.Wrapper
-
Field Summary
Fields Modifier and Type Field Description static com.mojang.brigadier.suggestion.SuggestionProvider<CommandSource>
ALL_RECIPES
static com.mojang.brigadier.suggestion.SuggestionProvider<ISuggestionProvider>
ASK_SERVER
static com.mojang.brigadier.suggestion.SuggestionProvider<CommandSource>
AVAILABLE_BIOMES
static com.mojang.brigadier.suggestion.SuggestionProvider<CommandSource>
AVAILABLE_SOUNDS
private static ResourceLocation
DEFAULT_NAME
private static java.util.Map<ResourceLocation,com.mojang.brigadier.suggestion.SuggestionProvider<ISuggestionProvider>>
PROVIDERS_BY_NAME
static com.mojang.brigadier.suggestion.SuggestionProvider<CommandSource>
SUMMONABLE_ENTITIES
-
Constructor Summary
Constructors Constructor Description SuggestionProviders()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static 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 Detail
-
PROVIDERS_BY_NAME
private static final java.util.Map<ResourceLocation,com.mojang.brigadier.suggestion.SuggestionProvider<ISuggestionProvider>> PROVIDERS_BY_NAME
-
DEFAULT_NAME
private static final ResourceLocation DEFAULT_NAME
-
ASK_SERVER
public static final com.mojang.brigadier.suggestion.SuggestionProvider<ISuggestionProvider> ASK_SERVER
-
ALL_RECIPES
public static final com.mojang.brigadier.suggestion.SuggestionProvider<CommandSource> 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
-
-
Method Detail
-
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_)
-
-