Search in sources :

Example 1 with ModConfiguration

use of betterwithaddons.config.ModConfiguration in project BetterWithAddons by DaedalusGame.

the class BetterWithAddons method preInit.

@EventHandler
public void preInit(FMLPreInitializationEvent event) {
    creativeTab = new BWACreativeTab();
    config = new ModConfiguration();
    logger = event.getModLog();
    config.preInit(event);
    ModBlocks.load(event);
    ModItems.load(event);
    ModTileEntities.register();
    ModEntities.init();
    ModPotions.preInit(event);
    ModInteractions.preInit(event);
    proxy.preInit();
    ModInteractions.preInitEnd(event);
    MinecraftForge.EVENT_BUS.register(this);
    NetworkRegistry.INSTANCE.registerGuiHandler(this, new GuiHandler());
}
Also used : GuiHandler(betterwithaddons.client.GuiHandler) ModConfiguration(betterwithaddons.config.ModConfiguration) EventHandler(net.minecraftforge.fml.common.Mod.EventHandler)

Aggregations

GuiHandler (betterwithaddons.client.GuiHandler)1 ModConfiguration (betterwithaddons.config.ModConfiguration)1 EventHandler (net.minecraftforge.fml.common.Mod.EventHandler)1