Initial commit

This commit is contained in:
2024-12-03 17:26:58 +00:00
parent 0f39261c8f
commit b09e1bbe7a
82 changed files with 376156 additions and 0 deletions

Binary file not shown.

View File

@@ -0,0 +1,26 @@
package mcp.client;
import java.util.Arrays;
import net.minecraft.client.main.Main;
public class Start
{
public static void main(String[] args)
{
/*
* start minecraft game application
* --version is just used as 'launched version' in snoop data and is required
* Working directory is used as gameDir if not provided
*/
String assets = System.getenv().containsKey("assetDirectory") ? System.getenv("assetDirectory") : "assets";
Main.main(concat(new String[]{"--version", "mcp", "--accessToken", "0", "--assetsDir", assets, "--assetIndex", "1.18", "--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;
}
}

View File

@@ -0,0 +1,9 @@
Manifest-Version: 1.0
Specification-Title: playerstats
Specification-Vendor: examplemodsareus
Specification-Version: 1
Implementation-Title: minecraft_mod_player_statistics
Implementation-Version: 1.0
Implementation-Vendor: examplemodsareus
Implementation-Timestamp: 2024-12-03T16:06:41+0000