Annotation Interface NamedEnum
Specifies that the annotated enum has a string name parameter which must be prefixed with the mod ID
of the mod adding a given enum constant
-
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionint
Returns the parameter index of the name parameter.
-
Element Details
-
value
int valueReturns the parameter index of the name parameter.- Returns:
- the parameter index of the name parameter
- Default:
0
-