public enum ProjectType extends Enum<ProjectType>
| Enum Constant and Description |
|---|
MOD
A mod
|
MODPACK
A modpack
|
RESOURCEPACK
A resourcepack
|
| Modifier and Type | Method and Description |
|---|---|
static ProjectType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ProjectType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
@SerializedName(value="mod") public static final ProjectType MOD
@SerializedName(value="modpack") public static final ProjectType MODPACK
@SerializedName(value="resourcepack") public static final ProjectType RESOURCEPACK
public static ProjectType[] values()
for (ProjectType c : ProjectType.values()) System.out.println(c);
public static ProjectType 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 nullCopyright © 2026. All rights reserved.