use of com.teamwizardry.wizardry.common.module.effects.ModuleEffectLeap in project Wizardry by TeamWizardry.
the class CommonProxy method preInit.
public void preInit(FMLPreInitializationEvent event) {
directory = new File(event.getModConfigurationDirectory(), Wizardry.MODID);
if (!directory.exists())
if (!directory.mkdirs())
Wizardry.logger.fatal(" > SOMETHING WENT WRONG! Could not create config folder!!");
MinecraftForge.EVENT_BUS.register(BaublesSupport.class);
NemezEventHandler.register();
new ModTab();
ModBlocks.init();
ModItems.init();
ModSounds.init();
ModPotions.init();
ModEntities.init();
ModCapabilities.preInit();
NetworkRegistry.INSTANCE.registerGuiHandler(Wizardry.instance, new GuiHandler());
Wizardry.underWorld = DimensionType.register("underworld", "_dim", ConfigValues.underworldID, WorldProviderUnderWorld.class, false);
DimensionManager.registerDimension(ConfigValues.underworldID, Wizardry.underWorld);
MinecraftForge.EVENT_BUS.register(ArenaManager.INSTANCE);
MinecraftForge.EVENT_BUS.register(new WorldProviderUnderWorld());
MinecraftForge.EVENT_BUS.register(new EventHandler());
MinecraftForge.EVENT_BUS.register(new AchievementEvents());
MinecraftForge.EVENT_BUS.register(new ModCapabilities());
MinecraftForge.EVENT_BUS.register(new ModuleEffectTimeSlow());
MinecraftForge.EVENT_BUS.register(new ModuleEffectLeap());
MinecraftForge.EVENT_BUS.register(ModBiomes.BIOME_UNDERWORLD);
MinecraftForge.EVENT_BUS.register(this);
MinecraftForge.EVENT_BUS.register(SpellTicker.class);
PacketHandler.register(PacketSendSpellToBook.class, Side.SERVER);
PacketHandler.register(PacketSyncCape.class, Side.SERVER);
PacketHandler.register(PacketRenderSpell.class, Side.CLIENT);
PacketHandler.register(PacketExplode.class, Side.CLIENT);
PacketHandler.register(PacketSyncModules.class, Side.CLIENT);
PacketHandler.register(PacketFreezePlayer.class, Side.CLIENT);
PacketHandler.register(PacketRenderLightningBolt.class, Side.CLIENT);
PacketHandler.register(PacketSyncCooldown.class, Side.CLIENT);
PacketHandler.register(PacketVanishPotion.class, Side.CLIENT);
PacketHandler.register(PacketDevilDustFizzle.class, Side.CLIENT);
}
Aggregations