Package io.github.smootheez
Enum Class LoaderType
- All Implemented Interfaces:
Serializable,Comparable<LoaderType>,Constable
Represents the supported mod loader ecosystems used when determining
compatibility for publication on platforms such as Modrinth or CurseForge.
Each value is annotated with SerializedName to ensure correct
JSON mapping when communicating with external APIs.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionstatic LoaderTypeReturns the enum constant of this class with the specified name.static LoaderType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
FABRIC
Indicates compatibility with the Fabric mod loader. Serialized as"fabric". -
QUILT
Indicates compatibility with the Quilt mod loader. Serialized as"quilt". -
FORGE
Indicates compatibility with the Forge mod loader. Serialized as"forge". -
NEOFORGE
Indicates compatibility with the NeoForge mod loader. Serialized as"neoforge".
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-