Appearance
Compiling EaglerForge with a custom NoReflect config
Prerequisites
- EaglerForge repository clones locally
- Working EaglerForge-Workspace folder.
Compiling
- Open a web browser. Any modern browser should work fine.
- On a new tab, press
CTRL
+O
- Navigate to the EaglerForge repo, and open NoReflect/index.html
- On the page that opens, click
Choose File
- Select the
EaglerForge-Workspace/src/main/java
folder, and press Upload. - You should see around 2000 files uploaded.
- Press
Generate
- The site will download a patch zip file for
EaglerForge-Workspace/src/main/java
, containing a modified NoReflect source that exposes the specified classes to ModAPI.
Changing the Config
The NoReflect Generator config lets you change the generated output:
targetFiles
: The target classes to expose to javascript. By default it isItemStack
andMinecraft
imports
: The classes to forcefully include as an import for the exposer class.managerFile
: The name of the exposer class.includeReadFiles
: Whether or not the patch zip file should include the target files. False by default to speed up generation.attemptAutoImport
: Should the compiler attempt to automatically import required classes based on context clues.