use of stevekung.mods.moreplanets.client.command.CommandChangeLog in project MorePlanets by SteveKunG.
the class MorePlanetsCore method init.
@EventHandler
public void init(FMLInitializationEvent event) {
MPTileEntities.init();
MPOreDictionary.init();
MPPlanets.register();
GalacticraftCore.packetPipeline.addDiscriminator(ConfigManagerMP.idNetworkHandler, PacketSimpleMP.class);
MorePlanetsCore.BLOCK_TAB.setDisplayItemStack(new ItemStack(MPBlocks.ROCKET_CRUSHER));
MorePlanetsCore.ITEM_TAB.setDisplayItemStack(new ItemStack(MPItems.SPACE_WARPER_CORE));
MorePlanetsCore.PROXY.registerInitRendering();
LootFunctionManager.registerFunction(new SmeltWithDataFunction.Serializer());
for (BiomeGenBaseGC biome : MPBiomes.biomeList) {
biome.registerTypes(biome);
}
if (CommonRegisterHelper.isClient()) {
CommonRegisterHelper.postRegisteredSortBlock();
CommonRegisterHelper.postRegisteredSortItem();
CommonRegisterHelper.registerForgeEvent(new ClientEventHandler());
ClientCommandHandler.instance.registerCommand(new CommandChangeLog());
}
CommonRegisterHelper.registerForgeEvent(new EntityEventHandler());
CommonRegisterHelper.registerForgeEvent(new GeneralEventHandler());
CommonRegisterHelper.registerForgeEvent(new WorldTickEventHandler());
CommonRegisterHelper.registerForgeEvent(new MissingMappingHandler());
}
Aggregations