/**
 * This class was created by BrassGoggledCoders modding team. 
 * This class is available as part of the Steamcraft 2 Mod for Minecraft.
 *
 * Steamcraft 2 is open-source and is distributed under the MMPL v1.0 License.
 * (http://www.mod-buildcraft.com/MMPL-1.0.txt)
 *
 * Steamcraft 2 is based on the original Steamcraft Mod created by Proloe.
 * Steamcraft (c) Proloe 2011
 * (http://www.minecraftforum.net/topic/251532-181-steamcraft-source-code-releasedmlv054wip/)
 * 
 */
package boilerplate.common.compathandler;

import java.util.ArrayList;

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

/**
 * @author tterrag1098
 * 
 */
public class FMPCompatHandler
{
	static ArrayList<Block> blocksToRegister = new ArrayList();

	public static void registerFMP(Block block)
	{
		blocksToRegister.add(block);
	}

	public static void doRegister()
	{
		for (Block block : blocksToRegister)
		{
			for (int meta = 0; meta < 15; meta++)
			{
				FMLInterModComms.sendMessage("ForgeMicroblock", "microMaterial", new ItemStack(block, 1, meta));
			}
		}
	}
}

@@ -58,17 +58,16 @@
 ng team.
- 
 %0A * This
@@ -467,17 +467,16 @@
 wip/)%0A *
- 
 %0A */%0Apac
@@ -611,24 +611,25 @@
 .ItemStack;%0A
+%0A
 import cpw.m
@@ -795,16 +795,81 @@
 yList();
+%0A%09static ArrayList%3CBlock%3E metaBlocksToRegister = new ArrayList();
 %0A%0A%09publi
@@ -969,46 +969,279 @@
 oid 
-doRegister()%0A%09%7B%0A%09%09for (Block block : b
+registerMetaFMP(Block block)%0A%09%7B%0A%09%09metaBlocksToRegister.add(block);%0A%09%7D%0A%0A%09public static void doRegister()%0A%09%7B%0A%09%09for (Block block : blocksToRegister)%0A%09%09%7B%0A%09%09%09FMLInterModComms.sendMessage(%22ForgeMicroblock%22, %22microMaterial%22, new ItemStack(block));%0A%09%09%7D%0A%09%09for (Block block : metaB
 lock

Handle non-meta FMP registration better