This commit is contained in:
Leijurv 2018-08-01 11:52:58 -04:00
parent cb4dac63c5
commit 379055f926
No known key found for this signature in database
GPG Key ID: 0936202430AE187C
50 changed files with 65 additions and 0 deletions

45
.gitignore vendored Normal file
View File

@ -0,0 +1,45 @@
.DS_Store
/CHANGELOG
/LICENSE.txt
/bin/
build.xml
/build/
/cleanup.bat
/cleanup.sh
/conf/
/decompile.bat
/decompile.sh
/dist/
/docs/
/eclipse/
/getchangedsrc.bat
/getchangedsrc.sh
/jars/
/logs/
/mappingviewer/
nbproject/
/r
/recompile.bat
/recompile.sh
/reformat.bat
/reformat.sh
/reobfuscate.bat
/reobfuscate.sh
/reobfuscate_srg.bat
/reobfuscate_srg.sh
/runtime/
/startclient.bat
/startclient.sh
/startserver.bat
/startserver.sh
/temp/
/updateids.bat
/updateids.sh
/updatemcp.bat
/updatemcp.sh
/updatemd5.bat
/updatemd5.sh
/updatenames.bat
/updatenames.sh
/src/minecraft/net
/src/minecraft/mcp

20
src/minecraft/Start.java Normal file
View File

@ -0,0 +1,20 @@
import java.io.File;
import java.lang.reflect.Field;
import java.util.Arrays;
import net.minecraft.client.main.Main;
public class Start
{
public static void main(String[] args)
{
Main.main(concat(new String[] {"--version", "mcp", "--accessToken", "0", "--assetsDir", "assets", "--assetIndex", "1.12", "--userProperties", "{}"}, args));
}
public static <T> T[] concat(T[] first, T[] second)
{
T[] result = Arrays.copyOf(first, first.length + second.length);
System.arraycopy(second, 0, result, first.length, second.length);
return result;
}
}