Most Java IDEs will allow you to import this repository as a gradle project for compiling it to JavaScript.
Java must be added to your PATH!
To compile the web client:
- Run
CompileEPK
- Run
CompileJS
(or thegenerateJavaScript
gradle task in your IDE) - Check the "javascript" folder
To compile an offline download:
- Run
CompileEPK
- Run
CompileJS
(or thegenerateJavaScript
gradle task in your IDE) - Run
MakeOfflineDownload
- Check the "javascript" folder
To compile the WASM GC client: Consult the README in the wasm_gc_teavm folder
To use the desktop runtime:
- Import the Eclipse project in "desktopRuntime/eclipseProject" into your IDE
- Open one of the .java files from the source folders (workaround for a bug)
- Run/Debug the client with the included "eaglercraftDebugRuntime" configuration
Note: If you are trying to use the desktop runtime on Linux, make sure you add the "desktopRuntime" folder to the LD_LIBRARY_PATH
environment variable of the Java process. This should be done automatically by the Eclipse project's default run configuration, but it might not work properly on every system, or when the Eclipse project is imported into IntelliJ.
See the main 1.8 repository's README for more info
The source codes of EaglercraftXBungee and EaglercraftXVelocity are not included here.