Moved the rest of FMP to Init.

Updated FZ Package Name.
Repairable = false;
This commit is contained in:
AlgorithmX2
2014-02-04 21:17:35 -06:00
parent f8e6a426ce
commit a165d533b6
3 changed files with 28 additions and 19 deletions
+7 -5
View File
@@ -68,11 +68,7 @@ public class FMP implements IIntegrationModule, IPartFactory, IPartConverter, IF
BlockMicroMaterial.createAndRegister( AEApi.instance().blocks().blockQuartz.block() );
BlockMicroMaterial.createAndRegister( AEApi.instance().blocks().blockQuartzPiller.block() );
BlockMicroMaterial.createAndRegister( AEApi.instance().blocks().blockQuartzChiseled.block() );
}
@Override
public void PostInit() throws Throwable
{
PartRegistry reg[] = PartRegistry.values();
String data[] = new String[reg.length];
@@ -81,10 +77,16 @@ public class FMP implements IIntegrationModule, IPartFactory, IPartConverter, IF
MultiPartRegistry.registerConverter( this );
MultiPartRegistry.registerParts( this, data );
MinecraftForge.EVENT_BUS.register( new FMPEvent() );
MultipartGenerator.registerPassThroughInterface( "appeng.helpers.AEMultiTile" );
}
@Override
public void PostInit() throws Throwable
{
MinecraftForge.EVENT_BUS.register( new FMPEvent() );
}
@Override
public IPartHost getOrCreateHost(TileEntity tile)
{