package org.pfaa.geologica.integration;

import org.pfaa.geologica.GeologicaBlocks;
import org.pfaa.geologica.block.GeoBlock;

import codechicken.microblock.BlockMicroMaterial;
import codechicken.microblock.MicroMaterialRegistry;

public class FMPIntegration {
	public static void registerMicroblock(GeoBlock block) {
		for (int m = 0; m < block.getMetaCount(); m++) {
			MicroMaterialRegistry.registerMaterial(new BlockMicroMaterial(block, m), 
					                               block.getUnlocalizedName() + "." + block.getBlockNameSuffix(m));
		}
	}
}

@@ -64,169 +64,22 @@
 ica.
-GeologicaBlocks;%0Aimport org.pfaa.geologica.block.GeoBlock;%0A%0Aimport codechicken.microblock.BlockMicroMaterial;%0Aimport codechicken.microblock.MicroMaterialRegistry
+block.GeoBlock
 ;%0A%0Ap
@@ -215,16 +215,25 @@
  m++) %7B%0A
+%09%09    /*%0A
 %09%09%09Micro
@@ -301,16 +301,16 @@
 k, m), %0A
-
 %09%09%09%09%09   
@@ -402,16 +402,55 @@
 ix(m));%0A
+%09%09%09%09%09                               */%0A
 %09%09%7D%0A%09%7D%0A%7D

disable FMP integration while we are working on Forge