001 /* 002 * The FML Forge Mod Loader suite. 003 * Copyright (C) 2012 cpw 004 * 005 * This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free 006 * Software Foundation; either version 2.1 of the License, or any later version. 007 * 008 * This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR 009 * A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. 010 * 011 * You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 51 012 * Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 013 */ 014 015 package cpw.mods.fml.common; 016 017 import java.util.Arrays; 018 019 import com.google.common.eventbus.EventBus; 020 021 /** 022 * @author cpw 023 * 024 */ 025 public class FMLDummyContainer extends DummyModContainer 026 { 027 public FMLDummyContainer() 028 { 029 super(new ModMetadata()); 030 ModMetadata meta = getMetadata(); 031 meta.modId="FML"; 032 meta.name="Forge Mod Loader"; 033 meta.version=Loader.instance().getFMLVersionString(); 034 meta.credits="Made possible with help from many people"; 035 meta.authorList=Arrays.asList("cpw, LexManos"); 036 meta.description="The Forge Mod Loader provides the ability for systems to load mods " + 037 "from the file system. It also provides key capabilities for mods to be able " + 038 "to cooperate and provide a good modding environment. " + 039 "The mod loading system is compatible with ModLoader, all your ModLoader " + 040 "mods should work."; 041 meta.url="https://github.com/cpw/FML/wiki"; 042 meta.updateUrl="https://github.com/cpw/FML/wiki"; 043 meta.screenshots=new String[0]; 044 meta.logoFile=""; 045 } 046 047 @Override 048 public boolean registerBus(EventBus bus, LoadController controller) 049 { 050 return true; 051 } 052 }