Java 类net.minecraftforge.fml.common.event.FMLModIdMappingEvent 实例源码

项目:CustomWorldGen    文件:Loader.java   
public void fireRemapEvent(Map<ResourceLocation, Integer[]> remapBlocks, Map<ResourceLocation, Integer[]> remapItems, boolean isFreezing)
{
    if (modController!=null)
    {
        modController.propogateStateMessage(new FMLModIdMappingEvent(remapBlocks, remapItems, isFreezing));
    }
}
项目:CustomWorldGen    文件:ForgeModContainer.java   
@Subscribe
public void mappingChanged(FMLModIdMappingEvent evt)
{
    OreDictionary.rebakeMap();
    StatList.reinit();
}
项目:Factorization    文件:TileEntityParaSieve.java   
@Override
public void mappingsChanged(FMLModIdMappingEvent event) {
    classifyItems();
}
项目:ExNihiloAdscensio    文件:ExNihiloAdscensio.java   
@EventHandler
public static void modMapping(FMLModIdMappingEvent event) {

}
项目:Factorization    文件:TileEntityCommon.java   
public void mappingsChanged(FMLModIdMappingEvent event) { }