public enum SearchProvider extends java.lang.Enum<SearchProvider>
Enum Constant and Description |
---|
SOUNDCLOUD |
YOUTUBE |
Modifier and Type | Method and Description |
---|---|
net.minecraft.util.ResourceLocation |
getLogo() |
java.lang.String |
getPrefix() |
static SearchProvider |
toggle(SearchProvider provider) |
static SearchProvider |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SearchProvider[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SearchProvider YOUTUBE
public static final SearchProvider SOUNDCLOUD
public static SearchProvider[] values()
for (SearchProvider c : SearchProvider.values()) System.out.println(c);
public static SearchProvider valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String getPrefix()
public net.minecraft.util.ResourceLocation getLogo()
public static SearchProvider toggle(SearchProvider provider)