Created
September 9, 2012 14:12
-
-
Save cpw/3684576 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package demo; | |
import java.util.Map; | |
import com.google.common.collect.Maps; | |
import cpw.mods.fml.common.Mod.Instance; | |
import buildcraft.BuildCraftCore; | |
public class BuildCraftProxy { | |
@Instance("BuildCraft|Core") | |
public static BuildCraftCore bcCore; | |
static | |
{ | |
Registry.proxies.put("BuildCraft", new BuildCraftProxy()); | |
} | |
} | |
class Registry | |
{ | |
public static Map<String,Object> proxies = Maps.newHashMap(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment