Compatibility
Minecraft: Java Edition
Platforms
Supported environments
75% of ad revenue goes to creators
Support creators and Modrinth ad-free with Modrinth+Creators
Details
Oxidizium - Replace Java with Rust
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.
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
Usage
This mod requires Java 22 or above.
The following JVM arguments are recommended, but not currently required for Java 24 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.