2731
This commit is contained in:
parent
fa9cd98b5a
commit
abb9b5102f
65 changed files with 0 additions and 0 deletions
34
ToAddBack/compat/waila/CompatModuleWaila.java
Normal file
34
ToAddBack/compat/waila/CompatModuleWaila.java
Normal file
|
@ -0,0 +1,34 @@
|
|||
package techreborn.compat.waila;
|
||||
|
||||
import net.minecraftforge.fml.common.event.*;
|
||||
import mcp.mobius.waila.api.IWailaRegistrar;
|
||||
import techreborn.compat.ICompatModule;
|
||||
import techreborn.tiles.TileMachineBase;
|
||||
|
||||
public class CompatModuleWaila implements ICompatModule {
|
||||
|
||||
@Override
|
||||
public void preInit(FMLPreInitializationEvent event) {
|
||||
|
||||
}
|
||||
|
||||
public void init(FMLInitializationEvent event) {
|
||||
FMLInterModComms.sendMessage("Waila", "register", getClass().getName()
|
||||
+ ".callbackRegister");
|
||||
}
|
||||
|
||||
@Override
|
||||
public void postInit(FMLPostInitializationEvent event) {
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public void serverStarting(FMLServerStartingEvent event) {
|
||||
|
||||
}
|
||||
|
||||
public static void callbackRegister(IWailaRegistrar registrar) {
|
||||
registrar.registerBodyProvider(new WailaProviderMachines(),
|
||||
TileMachineBase.class);
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue