package mezz.jei;

import javax.annotation.Nonnull;
import java.util.Set;

import net.minecraftforge.fml.common.Mod;
import net.minecraftforge.fml.common.SidedProxy;
import net.minecraftforge.fml.common.discovery.ASMDataTable;
import net.minecraftforge.fml.common.event.FMLInitializationEvent;
import net.minecraftforge.fml.common.event.FMLModIdMappingEvent;
import net.minecraftforge.fml.common.event.FMLPreInitializationEvent;

import mezz.jei.api.JEIManager;
import mezz.jei.config.Constants;
import mezz.jei.gui.GuiHelper;
import mezz.jei.network.PacketHandler;

@Mod(modid = Constants.MOD_ID,
		name = Constants.NAME,
		version = Constants.VERSION,
		guiFactory = "mezz.jei.config.JEIModGuiFactory",
		dependencies = "required-after:Forge@[11.14.0.1269,);")
public class JustEnoughItems {

	@SidedProxy(clientSide = "mezz.jei.ProxyCommonClient", serverSide = "mezz.jei.ProxyCommon")
	public static ProxyCommon common;

	@Mod.Instance(Constants.MOD_ID)
	public static JustEnoughItems instance;

	public static PacketHandler packetHandler;

	private Set<ASMDataTable.ASMData> modPlugins;

	@Mod.EventHandler
	public void preInit(@Nonnull FMLPreInitializationEvent event) {
		modPlugins = event.getAsmData().getAll("mezz.jei.api.JEIPlugin");

		packetHandler = new PacketHandler();
		JEIManager.guiHelper = new GuiHelper();
		JEIManager.itemBlacklist = new ItemBlacklist();
		common.preInit(event);
	}

	@Mod.EventHandler
	public void init(@Nonnull FMLInitializationEvent event) {
		common.init(event);
	}

	@Mod.EventHandler
	public void startJEI(@Nonnull FMLModIdMappingEvent event) {
		common.startJEI(modPlugins);
	}
}

@@ -464,24 +464,56 @@
 EIManager;%0D%0A
+import mezz.jei.api.JEIPlugin;%0D%0A
 import mezz.
@@ -1282,36 +1282,44 @@
 All(
-%22mezz.jei.api.JEIPlugin%22);%0D%0A
+JEIPlugin.class.getCanonicalName());
 %0D%0A%09%09

Use getCanonicalName instead of magic string