public enum SuggestionType extends Enum<SuggestionType>
| Enum Constant and Description |
|---|
ALL_RECIPES |
ASK_SERVER |
AVAILABLE_SOUNDS |
SUMMONABLE_ENTITIES |
| Modifier and Type | Method and Description |
|---|---|
static @NotNull SuggestionType |
from(String resourceLocation) |
String |
getResourceLocation() |
static SuggestionType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SuggestionType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SuggestionType ASK_SERVER
public static final SuggestionType ALL_RECIPES
public static final SuggestionType AVAILABLE_SOUNDS
public static final SuggestionType SUMMONABLE_ENTITIES
public static SuggestionType[] values()
for (SuggestionType c : SuggestionType.values()) System.out.println(c);
public static SuggestionType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String getResourceLocation()
@NotNull public static @NotNull SuggestionType from(String resourceLocation)
Copyright © 2023. All rights reserved.