package boilerplate.common.compathandler;

import net.minecraft.block.Block;
import net.minecraft.item.ItemStack;
import cpw.mods.fml.common.event.FMLInterModComms;

/**
 * @author tterrag1098
 * 
 */
public class FMPCompatHandler
{
	public static void registerFMP(Block block)
	{
		registerFMP(block, 0, 15);
	}

	public static void registerFMP(Block block, int minMeta, int maxMeta)
	{
		for (int c = minMeta; c <= maxMeta; c++)
		{
			registerFMP(block, c);
		}
	}

	public static void registerFMP(Block block, int meta)
	{
		FMLInterModComms.sendMessage("ForgeMicroblock", "microMaterial", new ItemStack(block, 1, meta));
	}
}

Add a copy of tterrag's FMP handler to Boilerplate