本文整理汇总了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();
}
示例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.");
}
示例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));
}
示例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));
}
示例5: complete
import net.minecraftforge.fml.common.event.FMLLoadCompleteEvent; //导入依赖的package包/类
@Mod.EventHandler
public void complete(FMLLoadCompleteEvent e)
{
CategoryRegistry.sortCategories();
}
示例6: loadComplete
import net.minecraftforge.fml.common.event.FMLLoadCompleteEvent; //导入依赖的package包/类
@Mod.EventHandler
public void loadComplete(FMLLoadCompleteEvent event) {
RegistryManager.finalizeRegistries();
checkEarlyExit();
}
示例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);
}
示例8: loadComplete
import net.minecraftforge.fml.common.event.FMLLoadCompleteEvent; //导入依赖的package包/类
@Mod.EventHandler
public void loadComplete(FMLLoadCompleteEvent event) {
proxy.loadComplete(event);
}
示例9: loadComplete
import net.minecraftforge.fml.common.event.FMLLoadCompleteEvent; //导入依赖的package包/类
public void loadComplete(FMLLoadCompleteEvent event) {
Proxy.INSTANCE.invoke(event, LoaderState.AVAILABLE, Side.SERVER);
}
示例10: loadComplete
import net.minecraftforge.fml.common.event.FMLLoadCompleteEvent; //导入依赖的package包/类
@Override
public void loadComplete(FMLLoadCompleteEvent event) {
super.loadComplete(event);
GrassColours.init();
}
示例11: loadComplete
import net.minecraftforge.fml.common.event.FMLLoadCompleteEvent; //导入依赖的package包/类
public void loadComplete(FMLLoadCompleteEvent e) {
ExampleMod.modCompat.processIMC(FMLInterModComms.fetchRuntimeMessages(this));
ExampleMod.modCompat.registerBuiltInModules();
}
示例12: loadCompleted
import net.minecraftforge.fml.common.event.FMLLoadCompleteEvent; //导入依赖的package包/类
@EventHandler
public void loadCompleted(@Nonnull final FMLLoadCompleteEvent event) {
proxy.loadCompleted(event);
}
示例13: loadCompleted
import net.minecraftforge.fml.common.event.FMLLoadCompleteEvent; //导入依赖的package包/类
public void loadCompleted(@Nonnull final FMLLoadCompleteEvent event) {
}
示例14: loadComplete
import net.minecraftforge.fml.common.event.FMLLoadCompleteEvent; //导入依赖的package包/类
@Override
public void loadComplete(FMLLoadCompleteEvent event) {
NEIInitialization.bootNEI();
}
示例15: loadComplete
import net.minecraftforge.fml.common.event.FMLLoadCompleteEvent; //导入依赖的package包/类
@Mod.EventHandler
public void loadComplete(FMLLoadCompleteEvent event)
{
LogHelper.info("Load complete");
}