2016-03-07 21:33:08 +01:00
|
|
|
package techreborn.parts.walia;
|
|
|
|
|
2016-03-21 20:45:48 +01:00
|
|
|
import mcmultipart.block.TileMultipartContainer;
|
2016-03-07 21:33:08 +01:00
|
|
|
import mcp.mobius.waila.api.IWailaRegistrar;
|
2016-03-13 16:37:55 +01:00
|
|
|
import net.minecraftforge.fml.common.event.FMLInitializationEvent;
|
|
|
|
import net.minecraftforge.fml.common.event.FMLInterModComms;
|
|
|
|
import net.minecraftforge.fml.common.event.FMLPostInitializationEvent;
|
|
|
|
import net.minecraftforge.fml.common.event.FMLPreInitializationEvent;
|
|
|
|
import net.minecraftforge.fml.common.event.FMLServerStartingEvent;
|
2016-03-07 21:33:08 +01:00
|
|
|
import techreborn.compat.ICompatModule;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Created by modmuss50 on 07/03/2016.
|
|
|
|
*/
|
2016-03-25 10:47:34 +01:00
|
|
|
public class WailaMcMultiPartCompact implements ICompatModule
|
|
|
|
{
|
|
|
|
public static void callbackRegister(IWailaRegistrar registrar)
|
|
|
|
{
|
|
|
|
registrar.registerBodyProvider(new WaliaPartProvider(), TileMultipartContainer.class);
|
|
|
|
}
|
2016-03-07 21:33:08 +01:00
|
|
|
|
2016-03-25 10:47:34 +01:00
|
|
|
@Override
|
|
|
|
public void preInit(FMLPreInitializationEvent event)
|
|
|
|
{
|
2016-03-07 21:33:08 +01:00
|
|
|
|
2016-03-25 10:47:34 +01:00
|
|
|
}
|
2016-03-07 21:33:08 +01:00
|
|
|
|
2016-03-25 10:47:34 +01:00
|
|
|
@Override
|
|
|
|
public void init(FMLInitializationEvent event)
|
|
|
|
{
|
|
|
|
FMLInterModComms.sendMessage("Waila", "register", getClass().getName() + ".callbackRegister");
|
|
|
|
}
|
2016-03-07 21:33:08 +01:00
|
|
|
|
2016-03-25 10:47:34 +01:00
|
|
|
@Override
|
|
|
|
public void postInit(FMLPostInitializationEvent event)
|
|
|
|
{
|
2016-03-07 21:33:08 +01:00
|
|
|
|
2016-03-25 10:47:34 +01:00
|
|
|
}
|
2016-03-07 21:33:08 +01:00
|
|
|
|
2016-03-25 10:47:34 +01:00
|
|
|
@Override
|
|
|
|
public void serverStarting(FMLServerStartingEvent event)
|
|
|
|
{
|
2016-03-07 21:33:08 +01:00
|
|
|
|
2016-03-25 10:47:34 +01:00
|
|
|
}
|
2016-03-07 21:33:08 +01:00
|
|
|
}
|