Documentation

Compatibility & support

Supported NeoForge and MTR versions, client-only scope, artifact identity boundaries, binary mismatch behavior, and historical target status.

MTR Memory Saver hooks internal resource loading and model storage classes inside Official MTR 4.1.0-beta.2. Because those internal Mixin targets are sensitive to bytecode layout, every release strictly pins its loader and MTR binary hash.

Active supported target (v0.4.9)

Dimension Supported Configuration
Target Preset official-nf265
Environment Minecraft 1.21.1 Client only
Java Java 21
NeoForge 21.1.265 (exact)
Official MTR 4.1.0-beta.2 (ff2b753d03f2bcc000d053a9014e4250c8ba720daa9b69b6899fe7dc26be1efa)

Why exact binaries are enforced

  1. Client-only: Vehicle mesh tessellation, BBModel/OBJ parsing, and texture display state run on the Minecraft client. Dedicated servers do not benefit from this mod and should not load it.
  2. Exact MTR hash guard: Modified, patched, or wrong-version MTR JARs (including forks or older betas) are intentionally rejected before registration with exit code 1 (MixinInitialisationError). This prevents partial Mixin injection bugs that could break trains silently in-world.
  3. Never double-install: Having two versions of mtr-memory-saver / mtr_memory_sharing in mods/ triggers duplicate Mixin configuration conflicts. Always delete the older JAR when upgrading.

Resource pack & shader compatibility

  • Vehicle resource packs: Resource pack ZIPs remain untouched on disk. Both legacy format packs and MTR 4.1 native-catalogue packs work without editing pack JSONs, models, or textures.
  • Shaders & rendering: CPU vertex coordinates and normal bits are stored bit-for-bit identically (36 bytes per vertex chunked via Deflater.BEST_SPEED), and PartType.DISPLAY transforms remain intact, preserving visual geometry and display screens.

Paused & historical targets

  • official-nf248 (NeoForge 21.1.248): Supported in historical source presets (config/targets.json) and earlier 0.4.x tests, but official-nf265 is the sole official release target from 0.4.8 / 0.4.9 onward.
  • Custom Performance v6 (v6-nf248 / v6-nf265): Excluded from 0.4.9 builds and currently paused.
  • Fabric: No current Fabric build is released for 0.4.9 (Fabric 0.1.1 is a historical implementation outside 0.4.x).

Artifact Identity & Support Scope (SUPPORT.md)

  • v0.4.9 Scoped Release: Ships exclusively for official-nf265 (JAR SHA-256 3d2a1407745085a5646f0765b38f66442fdb56be2d22b7e366b7ab6407e8e34c) with unchanged src/ runtime code from the 20-reload-verified 0.4.8 pre-release (920c1f83...).
  • Pending Acceptance Gates: Controlled 48-JVM whole-client performance, ETW/PresentMon display-frame timing, 2-hour route endurance, and exhaustive full-catalog door/window/boarding checks remain separate pending gates.

See Technical principles for the binary fingerprint gate internals and Stage records & hashes for the full 64-character SHA-256 registry.