Celeris

A performance library for NeoForge mods: off-heap memory, lock-free concurrency, SIMD math, compression and graph/network utilities, each with a pure-Java fallback so it runs on any JVM without launch flags.
Back to Files

0.3.1 1.21.11 NeoForge

File nameceleris-0.3.1+1.21.11.jar
Uploader
BichalBichal
Uploaded
Oct 24, 2026
Downloads
4
Size
2.0 MB
Mod Loaders
NeoForge
File ID
9310309
Type
R
Release
Supported game versions
  • 1.21.11

Curse Maven Snippet

NeoForge

implementation "curse.maven:celeris-1722411:9310309"

Learn more about Curse Maven

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-preview and is not blocked by --enable-native-access on 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 in PhysicsBackendBenchmarkTest.

This mod has no additional files