Java 类cpw.mods.fml.common.registry.ObjectHolderRegistry 实例源码

项目:TRHS_Club_Mod_2016    文件:Loader.java   
public void preinitializeMods()
{
    if (!modController.isInState(LoaderState.PREINITIALIZATION))
    {
        FMLLog.warning("There were errors previously. Not beginning mod initialization phase");
        return;
    }
    ObjectHolderRegistry.INSTANCE.findObjectHolders(discoverer.getASMTable());
    ItemStackHolderInjector.INSTANCE.findHolders(discoverer.getASMTable());
    modController.distributeStateMessage(LoaderState.PREINITIALIZATION, discoverer.getASMTable(), canonicalConfigDir);
    ObjectHolderRegistry.INSTANCE.applyObjectHolders();
    ItemStackHolderInjector.INSTANCE.inject();
    modController.transition(LoaderState.INITIALIZATION, false);
    progressBar.step("Initializing Minecraft Engine");
}
项目:CauldronGit    文件:Loader.java   
public void preinitializeMods()
{
    if (!modController.isInState(LoaderState.PREINITIALIZATION))
    {
        FMLLog.warning("There were errors previously. Not beginning mod initialization phase");
        return;
    }
    ObjectHolderRegistry.INSTANCE.findObjectHolders(discoverer.getASMTable());
    modController.distributeStateMessage(LoaderState.PREINITIALIZATION, discoverer.getASMTable(), canonicalConfigDir);
    ObjectHolderRegistry.INSTANCE.applyObjectHolders();
    modController.transition(LoaderState.INITIALIZATION, false);
}
项目:Cauldron    文件:Loader.java   
public void preinitializeMods()
{
    if (!modController.isInState(LoaderState.PREINITIALIZATION))
    {
        FMLLog.warning("There were errors previously. Not beginning mod initialization phase");
        return;
    }
    ObjectHolderRegistry.INSTANCE.findObjectHolders(discoverer.getASMTable());
    modController.distributeStateMessage(LoaderState.PREINITIALIZATION, discoverer.getASMTable(), canonicalConfigDir);
    ObjectHolderRegistry.INSTANCE.applyObjectHolders();
    modController.transition(LoaderState.INITIALIZATION, false);
}
项目:Cauldron    文件:Loader.java   
public void preinitializeMods()
{
    if (!modController.isInState(LoaderState.PREINITIALIZATION))
    {
        FMLLog.warning("There were errors previously. Not beginning mod initialization phase");
        return;
    }
    ObjectHolderRegistry.INSTANCE.findObjectHolders(discoverer.getASMTable());
    modController.distributeStateMessage(LoaderState.PREINITIALIZATION, discoverer.getASMTable(), canonicalConfigDir);
    ObjectHolderRegistry.INSTANCE.applyObjectHolders();
    modController.transition(LoaderState.INITIALIZATION, false);
}
项目:Cauldron    文件:Loader.java   
public void preinitializeMods()
{
    if (!modController.isInState(LoaderState.PREINITIALIZATION))
    {
        FMLLog.warning("There were errors previously. Not beginning mod initialization phase");
        return;
    }
    ObjectHolderRegistry.INSTANCE.findObjectHolders(discoverer.getASMTable());
    modController.distributeStateMessage(LoaderState.PREINITIALIZATION, discoverer.getASMTable(), canonicalConfigDir);
    ObjectHolderRegistry.INSTANCE.applyObjectHolders();
    modController.transition(LoaderState.INITIALIZATION, false);
}