跳到正文

[BE]Beryllium

作者:Paojiao134

A mod that rewrites Minecraft computational code in Rust

收藏

介绍

中文介绍正在准备中,下面暂时显示原文。

Beryllium

Beryllium is an Architectury-based multi-loader performance mod for Minecraft, targeting Fabric and NeoForge.
It offloads batch coordinate distance calculations to a Rust native backend and automatically falls back to the Java reference implementation when the native library is unavailable, aiming to improve performance during large-scale entity queries while preserving vanilla behavior.

Key Features

  • Rust-accelerated batch distance calculations
  • Nearest player / nearest entity query optimization
  • Parallel computation for range filtering and sorting
  • TargetingConditions-related query optimization
  • AABB range check optimization
  • Automatic native library loading with automatic fallback to Java on failure

Commands

  • /beryllium native: View the native backend loading status
  • /beryllium distance: Run a batch distance calculation example

Compatibility

  • Minecraft 1.21.1
  • Java 21
  • Fabric
  • NeoForge

Notes

Beryllium adopts a “shared core + thin platform adapter layers” architecture. Business logic, commands, and fallback code reside in the shared module, while platform-specific entry points are adapted separately for Fabric and NeoForge.
If the native library fails to load, the mod can still run normally through the Java reference implementation.

常见问题

[BE]Beryllium 支持哪些 Minecraft 版本?

[BE]Beryllium 支持 Minecraft Java 版 1.21.1,可用的加载器:Fabric / NeoForge。下载时注意选择和你游戏版本一致的文件。

[BE]Beryllium 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric / NeoForge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。

评论

登录后评论和评分

Paojiao134 的其他作品

查看全部 →