Gate EventRender2D on shouldRenderLevel; add cross-version empty input screens toggled with M (1.8.9 generated GuiScreen subclass, 26.2 Screen), ClientInput state and debug overlay; add 26.2 compile stubs; move LWJGL2 jar to libraries.
- Extend Render2D with rect, gradient, outline, rounded rect, line and scissor primitives\n- Add shared 1.8.9 fixed-function render state for shapes and glyphs\n- Render 1.8.9 rounded rects with triangle fans and framebuffer scissor\n- Submit 26.2 shapes through GuiGraphicsExtractor fill/fillGradient/scissor\n- Assemble 26.2 rounded corners from cached quarter-circle textures\n- Add GUI rendering documentation and extend the debug overlay
- Remove one-time hook/texture/glyph debug logs\n- Reuse one legacy glyph drawer instead of allocating it per frame\n- Make the font debug overlay opt-in via -Dorangex.debugFont=true\n- Update font port documentation
Forgot -Dorangex.debugFont on Forge/Vanilla launchers left the Render2D event without subscribers. Keep the overlay on by default during the porting phase; disable with -Dorangex.debugFont=false.
Forge 1.8.9 remaps the HUD override to a name that differs between the universal jar (a), SRG runtime (func_175180_a) and MCP (renderGameOverlay). Find the single instance (F)V method instead of hardcoding renderGameOverlay.
Forge 1.8.9's LaunchClassLoader delegates the javassist package to its parent, so the injected jar's unrelocated javassist classes were never found. Relocate javassist.* to cn.xiaozhou233.orangex.shaded.javassist.* so the hook system is self-contained.
- Port stb_truetype rasterizer and bake TTF glyph atlases\n- Add FontRenderer/Render2D API with section colors, shadows and CJK fallback\n- Add 1.8.9 GL11 backend and 26.2 GuiRenderState backend\n- Hook GuiIngame/GuiIngameForge and Gui#extractRenderState for per-frame 2D\n- Bundle Proxima, Noto and Poppins fonts\n- Add render/font documentation
- Add ClassHook/HookManager pipeline that patches classes through
JuiceAgent retransform
- Fire EventTickPre/EventTickPost around Minecraft.runTick
(1.8.9: runTick()V, 26.2: runTick(Z)V)
- Prepare the javassist ClassPool with OrangeX.jar and imported
packages, avoiding the vanilla 1.8.8 default-package "cn" class
collision on qualified names
- Access the JuiceAgent API through the system ClassLoader so
Fabric's Knot does not load a second copy without native methods
- Document the hook architecture, event bus and troubleshooting
under docs/
- Expose OrangeX.jar through KnotClassDelegate.addCodeSource for Fabric
- Resolve 26.2 mappings by runtime class visibility instead of loader type
- Keep identity mappings for the current Mojang-named Fabric 26.2 runtime
- Implement the 26.2 Minecraft wrapper using the private instance field
- Register the 26.2 provider and use identity mappings for Mojang names
- Fix MappingManager fallthrough for the 26.2 case
- Accept Render thread and resolve the game class loader by class visibility
Mapping files store internal names such as net/minecraft/client/Minecraft, but Class.forName requires binary names. Vanilla worked because its target class name has no slashes; Forge failed with ClassNotFoundException.
- Add WrapperContext, WrapperProvider and WrapperRegistry for version dispatch
- Move the 1.8.9 implementation to internal.v1_8_9 with constructor injection
- Support identity mappings for MCP development environments
- Document the wrapper structure and how to add a Minecraft version
Split the runtime package into small, single-purpose pieces so new loaders and Minecraft versions can be added by registration instead of editing control flow.
- Add LoaderProbe registry for mod loader detection
- Add VersionSignatureRegistry/VersionSignature and move structural version signatures out of VersionDetector
- Add VersionIdSource list for Forge/NeoForge metadata readers
- Extract ModernVersionDetector and CandidateClassLoaders
- Replace MinecraftVersion's mutable static id with RuntimeInfo.versionId
- Target Java 8 with source/target 1.8 and --release 8 on JDK 9+
- Add docs/adding-minecraft-versions.md
Move the full runtime package from Loader to OrangeX (cn.xiaozhou233.orangex.runtime), including loader/version detection, probes and utils.
- OrangeX.start() now detects and stores RuntimeInfo, and prints runtime debug info
- Loader keeps only a self-contained GameClassLoaderResolver for bootstrapping the Minecraft ClassLoader; entry flow is otherwise unchanged
- Move gson dependency to OrangeX with shadow relocation; drop it from Loader
- Add Injector module, built to out/injector.jar
- Add packageAll chain producing out/injection.zip from out/tmp
- Copy resources and natives into out/tmp with a flat layout
- Add runtime detection package for class loader, loader type and version
- Probe vanilla, Forge, NeoForge, Fabric and MCP installations
- Read 26.x versions from version.json and support Forge version lookups
- Unify structural probing in MinecraftProbe and use the game class loader for reflection
- Shade gson into the loader jar under a relocated package
- Restore OrangeX injection using the detected class loader
- Register Minecraft1.8.8 in settings.gradle and .idea/gradle.xml
- Link Minecraft1.8.8 against the 1.8.8 jar, runtime libraries and Loader
- Ignore decompiled src/ and runtime/ directories
- Add start/stop hooks to OrangeX entry point
- Add shared run configurations for packageAll and Start Client
- Drop unused JUnit test blocks from Loader and OrangeX
- Add root packageAll task aggregating Loader and OrangeX shadow jars
- Add cleanOut task so stale artifacts are removed before packaging
- Output fixed-name Loader.jar and OrangeX.jar into out/tmp
- Switch OrangeX Lombok to compileOnly so it is not shaded
Add Loader bootstrap that locates the Minecraft client thread, reuses its ClassLoader, injects OrangeX.jar via JuiceAgent and invokes OrangeX.start().
Also add JuiceAgent-API jar, register the Loader module in settings.gradle and update IDEA project config.
- build.gradle / settings.gradle with base plugin
- Gradle wrapper (8.x) for reproducible builds
- .gitignore for Gradle, IDE and OS artifacts
- IntelliJ IDEA project metadata