当前位置: 首页>>代码示例>>Java>>正文


Java FMLLoadCompleteEvent类代码示例

本文整理汇总了Java中net.minecraftforge.fml.common.event.FMLLoadCompleteEvent的典型用法代码示例。如果您正苦于以下问题:Java FMLLoadCompleteEvent类的具体用法?Java FMLLoadCompleteEvent怎么用?Java FMLLoadCompleteEvent使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。


FMLLoadCompleteEvent类属于net.minecraftforge.fml.common.event包,在下文中一共展示了FMLLoadCompleteEvent类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。

示例1: onAvailable

import net.minecraftforge.fml.common.event.FMLLoadCompleteEvent; //导入依赖的package包/类
@Subscribe
public void onAvailable(FMLLoadCompleteEvent evt)
{
    if (shouldSortRecipies)
    {
        RecipeSorter.sortCraftManager();
    }
    FluidRegistry.validateFluidRegistry();
}
 
开发者ID:F1r3w477,项目名称:CustomWorldGen,代码行数:10,代码来源:ForgeModContainer.java

示例2: loadComplete

import net.minecraftforge.fml.common.event.FMLLoadCompleteEvent; //导入依赖的package包/类
@EventHandler
public void loadComplete(FMLLoadCompleteEvent event) {

    CONFIG.cleanUp(false, true);
    CONFIG_CLIENT.cleanUp(false, true);

    LOG.info(MOD_NAME + ": Load Complete.");
}
 
开发者ID:ImbaKnugel,项目名称:Whoosh,代码行数:9,代码来源:Whoosh.java

示例3: onFMLLoadComplete

import net.minecraftforge.fml.common.event.FMLLoadCompleteEvent; //导入依赖的package包/类
@EventHandler
@SideOnly(Side.CLIENT)
public void onFMLLoadComplete(FMLLoadCompleteEvent event) {
	TextureManager textureManager = Minecraft.getMinecraft().getTextureManager();
	textureManager.loadTexture(GuiWardrobe.BACKGROUND_TEXTURES, new SimpleTexture(GuiWardrobe.BACKGROUND_TEXTURES));
	textureManager.loadTexture(GuiWardrobe.BUTTON_TEXTURES, new SimpleTexture(GuiWardrobe.BUTTON_TEXTURES));
}
 
开发者ID:NekoCaffeine,项目名称:Alchemy,代码行数:8,代码来源:SkinCore.java

示例4: loadComplete

import net.minecraftforge.fml.common.event.FMLLoadCompleteEvent; //导入依赖的package包/类
@EventHandler
public void loadComplete(FMLLoadCompleteEvent e) {
    logger.info("Starting LoadComplete");
    long time = System.currentTimeMillis();
    time = (System.currentTimeMillis() - time);
    totalTime += time;
    logger.info(String.format("Completed LoadComplete in: %d ms", time));
    logger.info(String.format("Loaded In: %d ms", totalTime));
}
 
开发者ID:The-Acronym-Coders,项目名称:T.E.C.H,代码行数:10,代码来源:Base.java

示例5: complete

import net.minecraftforge.fml.common.event.FMLLoadCompleteEvent; //导入依赖的package包/类
@Mod.EventHandler
public void complete(FMLLoadCompleteEvent e)
{
	CategoryRegistry.sortCategories();
}
 
开发者ID:raphydaphy,项目名称:ArcaneMagic,代码行数:6,代码来源:ArcaneMagic.java

示例6: loadComplete

import net.minecraftforge.fml.common.event.FMLLoadCompleteEvent; //导入依赖的package包/类
@Mod.EventHandler
public void loadComplete(FMLLoadCompleteEvent event) {
    RegistryManager.finalizeRegistries();
    checkEarlyExit();
}
 
开发者ID:ichttt,项目名称:FirstAid,代码行数:6,代码来源:FirstAid.java

示例7: loadComplete

import net.minecraftforge.fml.common.event.FMLLoadCompleteEvent; //导入依赖的package包/类
@Override
public void loadComplete(FMLLoadCompleteEvent event) {
    super.loadComplete(event);
    Proxy.INSTANCE.invoke(event, LoaderState.AVAILABLE,Side.CLIENT);
}
 
开发者ID:MinecraftPangu,项目名称:Pangu,代码行数:6,代码来源:ClientProxy.java

示例8: loadComplete

import net.minecraftforge.fml.common.event.FMLLoadCompleteEvent; //导入依赖的package包/类
@Mod.EventHandler
public void loadComplete(FMLLoadCompleteEvent event) {
    proxy.loadComplete(event);
}
 
开发者ID:MinecraftPangu,项目名称:Pangu,代码行数:5,代码来源:PanguCore.java

示例9: loadComplete

import net.minecraftforge.fml.common.event.FMLLoadCompleteEvent; //导入依赖的package包/类
public void loadComplete(FMLLoadCompleteEvent event) {
    Proxy.INSTANCE.invoke(event, LoaderState.AVAILABLE, Side.SERVER);
}
 
开发者ID:MinecraftPangu,项目名称:Pangu,代码行数:4,代码来源:CommonProxy.java

示例10: loadComplete

import net.minecraftforge.fml.common.event.FMLLoadCompleteEvent; //导入依赖的package包/类
@Override
public void loadComplete(FMLLoadCompleteEvent event) {
    super.loadComplete(event);
    GrassColours.init();
}
 
开发者ID:stuebz88,项目名称:modName,代码行数:6,代码来源:ClientProxy.java

示例11: loadComplete

import net.minecraftforge.fml.common.event.FMLLoadCompleteEvent; //导入依赖的package包/类
public void loadComplete(FMLLoadCompleteEvent e) {
	ExampleMod.modCompat.processIMC(FMLInterModComms.fetchRuntimeMessages(this));
	ExampleMod.modCompat.registerBuiltInModules();
}
 
开发者ID:stuebz88,项目名称:modName,代码行数:5,代码来源:CommonProxy.java

示例12: loadCompleted

import net.minecraftforge.fml.common.event.FMLLoadCompleteEvent; //导入依赖的package包/类
@EventHandler
public void loadCompleted(@Nonnull final FMLLoadCompleteEvent event) {
	proxy.loadCompleted(event);
}
 
开发者ID:OreCruncher,项目名称:DynamicSurroundings,代码行数:5,代码来源:DSurround.java

示例13: loadCompleted

import net.minecraftforge.fml.common.event.FMLLoadCompleteEvent; //导入依赖的package包/类
public void loadCompleted(@Nonnull final FMLLoadCompleteEvent event) {
}
 
开发者ID:OreCruncher,项目名称:DynamicSurroundings,代码行数:3,代码来源:Proxy.java

示例14: loadComplete

import net.minecraftforge.fml.common.event.FMLLoadCompleteEvent; //导入依赖的package包/类
@Override
public void loadComplete(FMLLoadCompleteEvent event) {
    NEIInitialization.bootNEI();
}
 
开发者ID:TheCBProject,项目名称:NotEnoughItems,代码行数:5,代码来源:ProxyClient.java

示例15: loadComplete

import net.minecraftforge.fml.common.event.FMLLoadCompleteEvent; //导入依赖的package包/类
@Mod.EventHandler
public void loadComplete(FMLLoadCompleteEvent event)
{
	LogHelper.info("Load complete");
}
 
开发者ID:TheMuso,项目名称:MobsOnYourTerms,代码行数:6,代码来源:MobsOnYourTerms.java


注:本文中的net.minecraftforge.fml.common.event.FMLLoadCompleteEvent类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。