Перейти к содержимому
Mineforgian

Oxidizium

Rewrites parts of Minecraft in Rust Lang

Загрузки
11K
Подписчики
86
Обновлён
18 июля 2026 г.
Лицензия
MIT

Опубликован 1 апреля 2025 г.

Oxidizium - Inject Ferris into your server! 🦀


Summary

This Fabric mod replaces certain Minecraft Java Edition methods with native rust equivalents. Every rust function is tested with the in-house testing utility to ensure that it is functionally equal to vanilla Minecraft. This mod is intended to be used server-side, but can be used on the client (with minor rendering bugs).

Currently, this mod replaces the following Java classes with Rust:

  • MathHelper

Many more classes are planned in the future, however mostly low-level classes will be tackled in the beginning.


Compatibility

As of now, Oxidizium is very compatible with the majority of mods, with specific compatibility with Lithium. Feel free to PR any of your own Rust native code!


Backends

Oxidizium comes with 3 backends by default: Panama, Nalim, and Membrane. The backend will be in the jar and mod name. Each backend is slightly different, so read about them below:

Project Panama

Project Panama is a Java 22+ feature that allows for low latency native code execution. This works on any Minecraft version from 1.14.3 to modern MC.

Usage

You must install Java 22 or above to use Project Panama! The following JVM arguments are recommended, but not currently required for Java 25 and below: --enable-preview --enable-native-access=ALL-UNNAMED Using a newer Java version is likely to improve performance more than Java 22. I recommend using GraalVM for the best performance, however be warned that it is possible (though very unlikely) that GraalVM could break mods. Use a distribution such as Temurin if you want to be completely safe.

Nalim

Nalim is a 3rd-party library that enables near-native latency when executing native code. It is roughly 3x faster than Project Panama for leaf (quick) calls and was ~50x faster vs pre-FFM Panama on JDK 19, per the Nalim README.

Nalim historically broke on Java 21+ because Loom JEP 444 made the JVMCI nmethod entry barrier mandatory for every GC. Oxidizium ships a Nalim jar patched by FurryMileon that emits a "no-op" barrier sequence after the tail-call so JVMCI validation passes without any runtime overhead — the barrier bytes are dead code (placed after jmp rax / br x9).

Usage

The following JVM arguments are required to run Nalim: -XX:+UnlockExperimentalVMOptions -XX:+EnableJVMCI

Membrane

Membrane works similar to Nalim, though may not be as affective as Nalim (benchmarks soon). It is an experimental backend and is not recommended to be used in production. Like Nalim, it used to require Java 20 and below, but thanks to an included patched Membrane jar by QPCrummer, it works great in all Minecraft versions using Java 21 and 25!

Usage

The following JVM arguments are required to run Nalim: -XX:+UnlockExperimentalVMOptions -XX:+EnableJVMCI The following JVM argument is recommended, but not required yet: -XX:+EnableDynamicAgentLoading

Ченджлог

mc26.2-1.3.1-panamaРелиз26.1.1, 26.1.2, 26.2 · 18 июля 2026 г.
  • Fixed major issues causing visual corruption and other oddities with Nalim and Membrane
  • Improved the speed of Nalim and Membrane
  • Implemented a custom benchmarking suite with the testMod (still WIP)
  • Revamped the parity checker
  • Fixed a few math functions breaking parity
mc26.2-1.3.1-membraneРелиз26.1.1, 26.1.2, 26.2 · 17 июля 2026 г.
  • Fixed major issues causing visual corruption and other oddities with Nalim and Membrane
  • Improved the speed of Nalim and Membrane
  • Implemented a custom benchmarking suite with the testMod (still WIP)
  • Revamped the parity checker
  • Fixed a few math functions breaking parity
mc26.2-1.3.1-nalimРелиз26.1.1, 26.1.2, 26.2 · 17 июля 2026 г.
  • Fixed major issues causing visual corruption and other oddities with Nalim and Membrane
  • Improved the speed of Nalim and Membrane
  • Implemented a custom benchmarking suite with the testMod (still WIP)
  • Revamped the parity checker
  • Fixed a few math functions breaking parity
1.3.0-nalimБета26.1.1, 26.1.2, 26.2 · 12 июля 2026 г.

This version introduces some graphical regressions, especially with VulkanMod. Use 1.2.x if you encounter issues

  • Fixed Mth.clampedLerp being inconsistent with vanilla
  • Nalim and Membrane are now compatible with Java 21+

I am also beginning work on official JMH benchmarks to identify areas of improvement

1.3.0-membraneБета26.1.1, 26.1.2, 26.2 · 12 июля 2026 г.

This version introduces some graphical regressions, especially with VulkanMod. Use 1.2.x if you encounter issues

  • Fixed Mth.clampedLerp being inconsistent with vanilla
  • Nalim and Membrane are now compatible with Java 21+

I am also beginning work on official JMH benchmarks to identify areas of improvement

1.3.0-panamaБета26.1.1, 26.1.2, 26.2 · 12 июля 2026 г.

This version introduces some graphical regressions, especially with VulkanMod. Use 1.2.x if you encounter issues

  • Fixed Mth.clampedLerp being inconsistent with vanilla
  • Nalim and Membrane are now compatible with Java 21+

I am also beginning work on official JMH benchmarks to identify areas of improvement

1.2.1-panamaРелиз26.1.1, 26.1.2, 26.2 · 17 июня 2026 г.
  • Updated to MC 26.2 (More math optimizations)
1.2.0-membraneРелиз1.20.2, 1.20.3, 1.20.4 · 22 мая 2026 г.

Oxidizium 1.2.0 comes with multiple new options to improve your gameplay:

  • Panama: The default option from the previous versions. Works on the latest version of Minecraft
  • Nalim: A java agent that provides lower latency for accessing Rust functions in Minecraft 1.20.4 and below. View this guide for installation
  • Membrane: Similar to Nalim but more streamlined installation. Also only for Minecraft 1.20.4 and below

Oxidizium-Panama was updated to support Minecraft 26.1.x

Комментарии

Загружаем…