package gory_moon.moarsigns.integration.nei; import codechicken.nei.api.API; import codechicken.nei.api.IConfigureNEI; import gory_moon.moarsigns.MoarSigns; import gory_moon.moarsigns.items.ModItems; import net.minecraft.item.ItemStack; import java.util.ArrayList; public class NEIMoarSignConfig implements IConfigureNEI { public static ArrayList<ItemStack> moarSigns = new ArrayList<ItemStack>(); @Override public void loadConfig() { API.hideItem(new ItemStack(ModItems.DEBUG)); NEIShapedMoarSignHandler shapedMoarSignHandler = new NEIShapedMoarSignHandler(); NEIShapelessMoarSignHandler shapelessMoarSignHandler = new NEIShapelessMoarSignHandler(); API.registerRecipeHandler(shapedMoarSignHandler); API.registerUsageHandler(shapedMoarSignHandler); API.registerRecipeHandler(shapelessMoarSignHandler); API.registerUsageHandler(shapelessMoarSignHandler); API.registerUsageHandler(new NEIExchangeUsageHandler()); MoarSigns.logger.info("Loaded NEI Integration"); } @Override public String getName() { return "MoarSigns NEI"; } @Override public String getVersion() { return "1.0"; } }