0.3.1 1.21–1.21.6 NeoForge
Curse Maven Snippet
What's new
Changelog: Celeris v0.3.1 (1.21 – 26.3)
Native physics now reaches NeoForge on Java 21 without any launch flag: Celeris tries a JNI binding first, then FFM, then plain Java. Nothing that worked in 0.3.0 is taken away.
Key Features & Changes
- Native Physics Over JNI: The physics kernel is now also loaded through JNI, which needs no
--enable-previewand is not blocked by--enable-native-accesson NeoForge. The engine order is JNI, then FFM, then pure Java; if a native library is missing or fails to load, the next one is used and results stay the same, bit for bit. The kernel and its data layout are unchanged. - Nearest3: A new helper (
core.spatial.Nearest3) finds the three nearest points of a small set stored in flat int arrays, without allocating. Tested against a plain reference. - Quieter Logs: The JNI memory access no longer prints Unsafe removal warnings.
Performance
- See
docs/benchmarks.md; the physics backends are compared inPhysicsBackendBenchmarkTest.
This mod has no additional files