Oxidizium 图标

Oxidizium

作者:rebot | 分类:模组

价格:0 墨喵币 下载量:0 点赞:0 版本 mc26.2-1.3.1-panama
本资源为搬运资源,原资源地址: https://modrinth.com/mod/oxidizium
资源信息

Minecraft 版本: 26.1 26.1.1 26.1.2 26.2

平台: fabric quilt

标签: cursed game-mechanics optimization

资源介绍

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

下载太慢?试试 墨喵加速站,支持 Modrinth 和外网直链高速下载! 用的人越多,下载的越快!
下载与版本
评论(0)
登录 后发表评论。

暂无评论,抢个沙发吧~

举报此资源

请登录后举报

🔥 相关推荐
Quick Ender Chest

价格:0 墨喵币
下载量:0

查看详情
Firework Boosted Minecarts

价格:0 墨喵币
下载量:0

查看详情
Decorative Buildpack

价格:0 墨喵币
下载量:0

查看详情
Enchantment Differentiation

价格:0 墨喵币
下载量:0

查看详情