Search in sources :

Example 1 with CreativeTabBetterStorage

use of net.mcft.copy.betterstorage.misc.CreativeTabBetterStorage in project BetterStorage by copygirl.

the class BetterStorage method preInit.

@EventHandler
public void preInit(FMLPreInitializationEvent event) {
    networkChannel = new ChannelHandler();
    log = event.getModLog();
    creativeTab = new CreativeTabBetterStorage();
    Addon.initialize();
    globalConfig = new GlobalConfig(event.getSuggestedConfigurationFile());
    Addon.setupConfigsAll();
    globalConfig.load();
    globalConfig.save();
    BetterStorageTiles.initialize();
    BetterStorageItems.initialize();
    EnchantmentBetterStorage.initialize();
    BetterStorageTileEntities.register();
    BetterStorageEntities.register();
    DungeonLoot.add();
}
Also used : GlobalConfig(net.mcft.copy.betterstorage.config.GlobalConfig) CreativeTabBetterStorage(net.mcft.copy.betterstorage.misc.CreativeTabBetterStorage) ChannelHandler(net.mcft.copy.betterstorage.network.ChannelHandler) EventHandler(cpw.mods.fml.common.Mod.EventHandler)

Aggregations

EventHandler (cpw.mods.fml.common.Mod.EventHandler)1 GlobalConfig (net.mcft.copy.betterstorage.config.GlobalConfig)1 CreativeTabBetterStorage (net.mcft.copy.betterstorage.misc.CreativeTabBetterStorage)1 ChannelHandler (net.mcft.copy.betterstorage.network.ChannelHandler)1