From 176159bc47863bfc70f9938e566ace5296639164 Mon Sep 17 00:00:00 2001 From: ZXMushroom63 Date: Mon, 2 Sep 2024 18:13:35 +0800 Subject: [PATCH] ModAPI.materials and ModAPI.enchantments fixed --- index.html | 291 ++++++++++++++++++++++++++----------------- postinit.injector.js | 4 +- postinit.js | 4 +- 3 files changed, 182 insertions(+), 117 deletions(-) diff --git a/index.html b/index.html index 0ec4644..5458665 100644 --- a/index.html +++ b/index.html @@ -4,96 +4,173 @@ EaglerForge Injector - - + + -
-

EaglerForge Injector

- -
- Adds ModAPI with more functionality (adds hooking into functions, exposes - all classes, etc) to unminified unobfuscated EaglercraftX offline downloads (web support coming soon). -
-
-
- - -

- -
+
+

EaglerForge Injector

+ +
+ Adds ModAPI with more functionality (adds hooking into functions, + exposes all classes, etc) to unminified unobfuscated EaglercraftX + offline downloads (web support coming soon). +
+
+
+ + +

+ +
-


- Info: -
-
- What .html file do I choose? - Once you have a local EaglercraftX workspace setup, in build.gradle, set the obfuscate property to false. - Then, run CompileJS.bat (or .sh if on a unix-based os), and then run MakeOfflineDownload.bat. The outputted offline download will have a much larger file size than other offline builds. This is the file you should select. - (it should have a naming convention similar to EaglercraftX_1.8_Offline_en_US.html) -
-
- How does this tool work? - The injector works by analysing your uploaded file for patterns that appear in TeaVM's compiled JavaScript code. Then, it will replace all functions with proxies to the original code, which it moves into - ModAPI.hooks.methods. It does similar things with static properties and constructors, and then hooks into $rt_metadata to access auxilary information. -
-
- Where documentation??? - https://eaglerforge.github.io/EaglerForgeInjector/docs -
+


+ Info: +
+
+ What .html file do I choose? + Once you have a local EaglercraftX workspace setup, in + build.gradle, set the obfuscate property to + false. Then, run CompileJS.bat (or .sh if on + a unix-based os), and then run MakeOfflineDownload.bat. + The outputted offline download will have a much larger file size than + other offline builds. This is the file you should select. (it should + have a naming convention similar to + EaglercraftX_1.8_Offline_en_US.html) +
+
+ How does this tool work? + The injector works by analysing your uploaded file for patterns that + appear in TeaVM's compiled JavaScript code. Then, it will replace all + functions with proxies to the original code, which it moves into + ModAPI.hooks.methods. It does similar things with static + properties and constructors, and then hooks into + $rt_metadata to access auxilary information. +
+
+ Where documentation??? + https://eaglerforge.github.io/EaglerForgeInjector/docs +
+
-