Mods that modify class bytecode at runtime using IClassTransformer registered through IFMLLoadingPlugin are recognized as coremod. Other interfaces like ITweaker applies too. In high versions it's more common to implement such services like ITransformationService as for Forge.