3 Commits
Author SHA1 Message Date
xiaozhou233 4effbc36f5 Docs: Add development guides for modules and wrappers
- Add docs/README.md with the documentation index, reading order and
  layer responsibilities
- Add adding-modules.md covering module registration, lifecycle, events,
  Value settings, config persistence and the NoJumpDelay example
- Add reflection-and-mappings.md covering MCP/SRG names, MappingResolver,
  ReflectionSupport and the common reflection pitfalls
- Add adding-wrapper-capabilities.md walking through a new Player wrapper
  from API to module usage, with NoJumpDelay as the worked example
- Update adding-wrapper-versions.md to match the real createPlayer
  signature, the current directory layout and the provider checklist
- Link the development docs from README.md
2026-11-10 22:00:15 +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