Enum Type
-
-
Enum Constant Summary
Enum Constants Enum Constant Description RELEASEIndicates that an object is a full release, meaning no snapshot, alpha, or beta.
SNAPSHOTIndicates that an object is a pre-release, so either a snapshot (duh...), alpha, beta etc.
MINECRAFTIndicates this operation concerns Minecraft.
FORGEIndicates this operation concerns Forge.
NEO_FORGEIndicates this operation concerns NeoForge.
FABRICIndicates this operation concerns Fabric.
FABRIC_INSTALLERIndicates this operation concerns Fabric Installer.
QUILTIndicates this operation concerns Quilt.
FABRIC_INTERMEDIARIESIndicates this operation concerns Fabric Intermediaries.
QUILT_INSTALLERIndicates this operation concerns Quilt Installer.
LEGACY_FABRICIndicates this operation concerns Legacy Fabric.
-
Method Summary
Modifier and Type Method Description final static Array<Type>values()Returns an array containing the constants of this enum type, in the order they're declared. final static TypevalueOf(String value)Returns the enum constant of this type with the specified name. final EnumEntries<Type>getEntries()-
-
Method Detail
-
values
final static Array<Type> values()
Returns an array containing the constants of this enum type, in the order they're declared.
This method may be used to iterate over the constants.
The function returns a new instance of the array on every call. The array could be mutated, so working with it may also require defensive copying. Consider using
entriesproperty as a more efficient alternative returning an immutable list of enum entries.
-
valueOf
final static Type valueOf(String value)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
-
getEntries
final EnumEntries<Type> getEntries()
-
-
-
-