Commit Graph
5 Commits
Author SHA1 Message Date
xiaozhou233 c3dab97779 Feat: Add cross-version TTF font rendering
- 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
2026-11-05 20:31:32 +08:00
xiaozhou233 6c19985e52 Feat: Add tick hooks and Fabric 26.2 support
- 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/
2026-11-05 14:27:31 +08:00
xiaozhou233 0f2d9614e5 Fix: Convert mapping class names to binary names
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.
2026-11-04 22:37:57 +08:00
xiaozhou233 13c9bb622c Refactor: Add version provider registry to wrapper
- 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
2026-11-04 22:21:55 +08:00
xiaozhou233 8b9dbce0f7 Refactor: Make runtime detection extensible and Java 8 compatible
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
2026-11-04 01:04:50 +08:00