Created
June 24, 2015 05:35
-
-
Save mattmess1221/33407ad0868ad19bb0aa to your computer and use it in GitHub Desktop.
This file contains hidden or 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 test; | |
import java.io.File; | |
import java.util.List; | |
import net.minecraft.launchwrapper.ITweaker; | |
import net.minecraft.launchwrapper.LaunchClassLoader; | |
public class TestTweaker implements ITweaker { | |
@Override | |
public void acceptOptions(List<String> args, File gameDir, File assetsDir, String profile) {} | |
@Override | |
public void injectIntoClassLoader(LaunchClassLoader classLoader) { | |
System.out.println("Hello World."); | |
} | |
@Override | |
public String[] getLaunchArguments() { | |
return new String[0]; | |
} | |
@Override | |
public String getLaunchTarget() { | |
return "net.minecraft.client.main.Main"; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment