Package net.neoforged.fml.common.asm.enumextension
package net.neoforged.fml.common.asm.enumextension
-
ClassDescriptionCombined list of parameters used to create a new enum constant and mutable holder of the created enum constantProvides information on whether an enum was extended and how many entries are vanilla vs. moddedTo be implemented on vanilla enums that should be enhanced with ASM to be extensible.Specifies that the annotated enum has an int ID parameter which must match the enum constant's ordinalSpecifies that the annotated enum has a string name parameter which must be prefixed with the mod ID of the mod adding a given enum constantSpecifies that the annotated enum is used in networking and must be checked for mismatches between the client and serverMarks a constructor that is reserved for vanilla enum constants and cannot be used to create additional entries through the enum extension systemTransforms enums implementing
IExtensibleEnum
to add additional entries loaded from files provided by mods