public class SuggestionProviders
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
SuggestionProviders.Wrapper |
Modifier and Type | Field and Description |
---|---|
static com.mojang.brigadier.suggestion.SuggestionProvider<CommandSource> |
ALL_RECIPES |
static com.mojang.brigadier.suggestion.SuggestionProvider<ISuggestionProvider> |
ASK_SERVER |
private static ResourceLocation |
ASK_SERVER_ID |
static com.mojang.brigadier.suggestion.SuggestionProvider<CommandSource> |
AVAILABLE_SOUNDS |
private static java.util.Map<ResourceLocation,com.mojang.brigadier.suggestion.SuggestionProvider<ISuggestionProvider>> |
REGISTRY |
static com.mojang.brigadier.suggestion.SuggestionProvider<CommandSource> |
SUMMONABLE_ENTITIES |
Constructor and Description |
---|
SuggestionProviders() |
Modifier and Type | Method and Description |
---|---|
static com.mojang.brigadier.suggestion.SuggestionProvider<ISuggestionProvider> |
ensureKnown(com.mojang.brigadier.suggestion.SuggestionProvider<ISuggestionProvider> provider) |
static com.mojang.brigadier.suggestion.SuggestionProvider<ISuggestionProvider> |
get(ResourceLocation id) |
static ResourceLocation |
getId(com.mojang.brigadier.suggestion.SuggestionProvider<ISuggestionProvider> provider) |
static <S extends ISuggestionProvider> |
register(ResourceLocation id,
com.mojang.brigadier.suggestion.SuggestionProvider<ISuggestionProvider> provider) |
private static final java.util.Map<ResourceLocation,com.mojang.brigadier.suggestion.SuggestionProvider<ISuggestionProvider>> REGISTRY
private static final ResourceLocation ASK_SERVER_ID
public static final com.mojang.brigadier.suggestion.SuggestionProvider<ISuggestionProvider> ASK_SERVER
public static final com.mojang.brigadier.suggestion.SuggestionProvider<CommandSource> ALL_RECIPES
public static final com.mojang.brigadier.suggestion.SuggestionProvider<CommandSource> AVAILABLE_SOUNDS
public static final com.mojang.brigadier.suggestion.SuggestionProvider<CommandSource> SUMMONABLE_ENTITIES
public static <S extends ISuggestionProvider> com.mojang.brigadier.suggestion.SuggestionProvider<S> register(ResourceLocation id, com.mojang.brigadier.suggestion.SuggestionProvider<ISuggestionProvider> provider)
public static com.mojang.brigadier.suggestion.SuggestionProvider<ISuggestionProvider> get(ResourceLocation id)
public static ResourceLocation getId(com.mojang.brigadier.suggestion.SuggestionProvider<ISuggestionProvider> provider)
public static com.mojang.brigadier.suggestion.SuggestionProvider<ISuggestionProvider> ensureKnown(com.mojang.brigadier.suggestion.SuggestionProvider<ISuggestionProvider> provider)