Skip to content

Instantly share code, notes, and snippets.

@RobinStamer
Created August 23, 2014 04:31
Show Gist options
  • Select an option

  • Save RobinStamer/0acf69c4e72455dd52b6 to your computer and use it in GitHub Desktop.

Select an option

Save RobinStamer/0acf69c4e72455dd52b6 to your computer and use it in GitHub Desktop.
#!/bin/sh
CP=/home/rstamer/forge/mcp/jars/libraries/org/ow2/asm/asm-debug-all/4.1/asm-debug-all-4.1-sources.jar:/home/rstamer/forge/mcp/jars/libraries/net/sf/jopt-simple/jopt-simple/4.5/jopt-simple-4.5-sources.jar:/home/rstamer/forge/mcp/jars/libraries/net/sourceforge/argo/argo/2.25/argo-2.25-sources.jar:/home/rstamer/forge/mcp/jars/libraries/org/bouncycastle/bcprov-jdk15on/1.47/bcprov-jdk15on-1.47-sources.jar:/home/rstamer/forge/mcp/jars/libraries/com/google/guava/guava/14.0/guava-14.0-sources.jar:/home/rstamer/forge/mcp/jars/libraries/org/apache/commons/commons-lang3/3.1/commons-lang3-3.1-sources.jar:/home/rstamer/forge/mcp/jars/libraries/commons-io/commons-io/2.4/commons-io-2.4-sources.jar:/home/rstamer/forge/mcp/jars/libraries/net/java/jutils/jutils/1.0.0/jutils-1.0.0-sources.jar:/home/rstamer/forge/mcp/jars/libraries/com/google/code/gson/gson/2.2.2/gson-2.2.2-sources.jar:/home/rstamer/forge/mcp/jars/libraries/net/java/jinput/jinput/2.0.5/jinput-2.0.5-sources.jar:/home/rstamer/forge/mcp/jars/libraries/org/lwjgl/lwjgl/lwjgl/2.9.0/lwjgl-2.9.0-sources.jar:/home/rstamer/forge/mcp/jars/libraries/org/lwjgl/lwjgl/lwjgl_util/2.9.0/lwjgl_util-2.9.0-sources.jar:.
javac -cp $CP -d . "$@"
ClientProxy.java:3: error: package net.minecraftforge.client does not exist
import net.minecraftforge.client.MinecraftForgeClient;
^
Generic.java:3: error: package cpw.mods.fml.common does not exist
import cpw.mods.fml.common.Mod;
^
Generic.java:4: error: package cpw.mods.fml.common.Mod does not exist
import cpw.mods.fml.common.Mod.EventHandler; // used in 1.6.2
^
Generic.java:8: error: package cpw.mods.fml.common.Mod does not exist
import cpw.mods.fml.common.Mod.Instance;
^
Generic.java:9: error: package cpw.mods.fml.common does not exist
import cpw.mods.fml.common.SidedProxy;
^
Generic.java:10: error: package cpw.mods.fml.common.event does not exist
import cpw.mods.fml.common.event.FMLInitializationEvent;
^
Generic.java:11: error: package cpw.mods.fml.common.event does not exist
import cpw.mods.fml.common.event.FMLPostInitializationEvent;
^
Generic.java:12: error: package cpw.mods.fml.common.event does not exist
import cpw.mods.fml.common.event.FMLPreInitializationEvent;
^
Generic.java:15: error: cannot find symbol
@Mod(modid="GenericModID", name="Generic", version="0.0.0")
^
symbol: class Mod
Generic.java:29: error: cannot find symbol
public void preInit(FMLPreInitializationEvent event) {
^
symbol: class FMLPreInitializationEvent
location: class Generic
Generic.java:35: error: cannot find symbol
public void load(FMLInitializationEvent event) {
^
symbol: class FMLInitializationEvent
location: class Generic
Generic.java:41: error: cannot find symbol
public void postInit(FMLPostInitializationEvent event) {
^
symbol: class FMLPostInitializationEvent
location: class Generic
Generic.java:20: error: cannot find symbol
@Instance(value = "GenericModID")
^
symbol: class Instance
location: class Generic
Generic.java:24: error: cannot find symbol
@SidedProxy(clientSide="tutorial.generic.client.ClientProxy", serverSide="tutorial.generic.CommonProxy")
^
symbol: class SidedProxy
location: class Generic
Generic.java:27: error: cannot find symbol
@EventHandler // used in 1.6.2
^
symbol: class EventHandler
location: class Generic
Generic.java:33: error: cannot find symbol
@EventHandler // used in 1.6.2
^
symbol: class EventHandler
location: class Generic
Generic.java:39: error: cannot find symbol
@EventHandler // used in 1.6.2
^
symbol: class EventHandler
location: class Generic
17 errors
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment