diff --git a/README.md b/README.md index 8a688e8..a3a63e2 100644 --- a/README.md +++ b/README.md @@ -4,8 +4,20 @@ This is based off of real Minecraft Alpha v1.2.6, the decompiled source code has ![Screenshot (23)](https://github.com/PeytonPlayz595/Alpha-v1.2.6/assets/106421860/84c133e9-935e-4edf-8ced-66b752bc5800) -### Play the official release (No download required): -### https://peytonplayz595.github.io/Alpha-v1.2.6/js/ +### [Play the official release (No download required)](https://peytonplayz595.github.io/Alpha-v1.2.6/web/) + +### [Download offline HTML file](https://github.com/PeytonPlayz595/Alpha-v1.2.6/blob/main/offline_download/Alpha_Offline_Download.html) + +# Making a client + +### Gradle +After modifying files in `src/main/java` you can compile your changes to the javascript client by running `gradlew generatejavascript`, for linux run `./gradlew generatejavascript`. This will then transpile the Java code into javascript files in `/web/js`. + +### Textures +The textures are compiled into `resources.mc` using [Laxdude](https://github.com/lax1dude)'s EPK Compiler. The resources are located in `/resources`, after modifying the resources you can compile them using `CompileEPK`, and for Linux use `./CompileEPK.sh`. + +### Offline Download +As of right now there is no system to compile an offline download, so you will have to manually copy and paste the javascript from `/web/js/app.js` into the HTML file, for the `resources.mc` just encode the file using [Base64](https://www.base64encode.org/) and paste it into the assets div. # How to decompile older Minecraft versions To decompile older Minecraft versions you can use RetroMCP!