MetalRender
MetalRender 是一款 Minecraft 模组,它使用 Apple 的 Metal 图形 API 在 macOS 上渲染游戏。它添加了一个现代化的渲染后端,旨在帮助 Minecraft 在 Apple 设备上运行得更快、更流畅。
我要感谢 Ikea 对 MetalRender 测试提供的帮助,我的 Mac 靠一个里面装有冰块的 Ikea 密封袋维持着生命 :>
MetalRender 受到 Nvidium 的启发,这是 Cortex 为 NVIDIA GPU 开发的一款优化模组。
请在 GitHub Issues 页面 报告错误和问题。
免责声明
MetalRender 与 Apple Inc. 无关、未获得其认可或与其有关联。“Metal”指的是 Apple 的 Metal 图形 API。MetalRender 的标志是一个受“Metal”一词启发的原创设计,并不旨在模仿或暗示与 Apple 品牌的关联。
本模组中的代码并非由 AI* 编写(v2.0.1 及以上版本)。
要求
在运行 MetalRender 之前请安装以下内容:
安装
MetalRender 目前仅支持 Fabric Loader。
- 使用官方安装器安装 Fabric Loader。
- 安装 Fabric API。
- 将 Fabric API 和 MetalRender 放入你的 Minecraft
mods 文件夹中。
- 使用 Fabric 配置文件启动 Minecraft。
常见问题解答 (FAQs)
-
为什么这个版本与 Modrinth 上的版本不同?
它们之所以不同,是因为我不可能为每个错误修复、性能提升或库编辑都发布一个新版本。这样做效率低下,因此我只会在每次稳定发布和重大错误清理(我修复的一组错误)或新功能等情况下为 Modrinth 发布新版本。我不能每隔 5 天左右就在 Modrinth 页面上发布 20 个新版本来刷屏。
-
何时会添加对其他加载器(如 Forge、NeoForge 等)的支持?
我可能不会在未来支持其他加载器,但目前仅支持 Fabric,因为它是最轻量级且最受欢迎的。
-
我可以在没有 Metal 4 支持的 Apple Silicon 硬件或固件上运行 MetalRender 吗?
不行。你以为这是个什么模组呢。
-
我在哪里可以提交建议?
现在 Issues 标签页上有一个 Suggestion 标签!请分享你对 MetalRender 的建议,我对所有建议持开放态度,并感谢你的帮助使 MetalRender 对所有人变得更好!
-
它崩溃了,但我整合包里没有冲突的模组!
请联系 Discord 服务器或 Issues 标签页,我们很乐意协助你解决!
硬件兼容性
MetalRender 专为 Apple Silicon Mac 设计。支持的 Mac 芯片为 M1 或更新型号,包括 M1、M2、M3、M4 和 M5。MetalRender 需要 macOS 27.x;不支持旧版 macOS。
要检查你的 Mac 芯片,请点击屏幕左上角的 Apple 菜单,然后选择关于本机。如果窗口列出了类似 Apple M1 的 Chip,则你的 Mac 拥有 Apple Silicon。如果它列出的是 Processor,则你的 Mac 拥有 Intel 处理器,不受支持。
如果你的设备符合这些要求但 MetalRender 无法工作,请在 GitHub 上报告该问题。如果你的设备不受支持,MetalRender 将显示错误并自行禁用。
错误与建议
如果你遇到错误或有任何建议,请在 GitHub Issues 页面 上创建一个 Issue。在报告错误之前,请确保你已安装 Java 21 或更高版本、Fabric API,并且未安装 Sodium。
已知问题
- 长时间运行后出现卡顿: 你的电脑运行两天或更久后,Minecraft 可能会出现卡顿。这似乎与 macOS 有关。
- 兼容性: 当与 Sodium、Distant Horizons (DH)、Voxy、Iris、C2ME 或其他渲染模组一起使用时,MetalRender 将会崩溃。如果你遇到特定的兼容性问题(非上述模组),请在 GitHub 上报告。
面向开发者
在 v0.1 版本中,源代码包含在 JAR 文件中。此源代码已过时且不会更新。
对于 v0.1.2 及更高版本,源代码和构建说明可在 GitHub 仓库 获取。
命令行
命令行功能在 v0.1.6 及更高版本中可用。早期版本不包含这些命令。请参阅 GitHub 仓库 获取完整指南。
常用命令
/metalrender status — 显示当前 MetalRender 状态。
/metalrender help — 列出可用命令。
/metalrender cache clear — 清除缓存并重启渲染器。
/metalrender reload — 重载世界渲染器。
/metalrender restart — 重启 MetalRender。
*在本模组的编码过程中,AI 并未以被视为主要贡献的方式被使用,但命名和日志消息是由 AI 创建的。本模组的创建得到了 AI 的辅助,但仅用于规划、错误分析以及重新生成 Minecraft 的 Manifest_v2.json(因为学校 Wi-Fi 屏蔽了 Minecraft 访问)。
MetalRender
MetalRender is a Minecraft mod that uses Apple’s Metal graphics API to render the game on macOS. It adds a modern rendering backend designed to help Minecraft run faster and more smoothly on Apple devices.
I would like to thank Ikea for helping with the testing of MetalRender, my mac is being kept alive using a Ikea zip lock bag with ice inside under my mac :>
MetalRender is inspired by Nvidium, an optimization mod for NVIDIA GPUs by Cortex.
Please report bugs and issues on the GitHub Issues page.
Disclaimer
MetalRender is not affiliated with, endorsed by, or associated with Apple Inc. “Metal” refers to Apple’s Metal graphics API. The MetalRender logo is an original design inspired by the term “Metal” and is not intended to resemble or imply an association with Apple branding.
The code in this mod was not written by AI* (v2.0.1 and above).
Requirements
Install these before running MetalRender:
Installation
MetalRender currently supports Fabric Loader only.
- Install Fabric Loader using the official installer.
- Install Fabric API.
- Put Fabric API and MetalRender in your Minecraft
mods folder.
- Start Minecraft using the Fabric profile.
FAQs
-
Why is this version diffrent from the Modrinth version?
It is diffrent because I can't make a new version for every bug fix, performance buff or Library edit. It is inefficent so I would make a new version for Modrinth
every stable release and major bug clearance (a group of bugs that I fixed) or a new feature etc etc. I cannot flood the Modrinth page with 20 new releases every 5
days or so.
-
When will other mod loaders(e.g. Forge, NeoForge, etc) be added?
I probably won't make support for other loaders in the future but for now, only Fabric is supported because its the most lightweight and popular.
-
Can I run MetalRender on non-Apple Silicon hardware or firmware that has no Metal 4 support?
no. what did you think this is a metal mod.
-
Where can I put suggestions?
There is a Suggestion tag on the Issues tab now! Please share your suggestions for MetalRender, I'm open to all suggestions and thanks for your help making
MetalRender better for everyone!
-
It crashes, but I dont have any conflicting mods in the pack!
Reach out in the Discord server or Issues tab, we are glad to assist you!
Hardware compatibility
MetalRender is designed for Apple Silicon Macs. Supported Mac chips are M1 or newer, including M1, M2, M3, M4, and M5. MetalRender requires macOS 27.x; older macOS versions are not supported.
To check your Mac’s chip, click the Apple menu in the top-left corner of your screen and select About This Mac. If the window lists a Chip such as Apple M1, your Mac has Apple Silicon. If it lists a Processor, your Mac has an Intel processor and is not supported.
If your device meets these requirements but MetalRender does not work, please report the issue on GitHub. If your device is unsupported, MetalRender will display an error and disable itself.
Bugs and suggestions
If you encounter a bug or have a suggestion, please open an issue on the GitHub Issues page. Before reporting a bug, check that you have Java 21 or newer, Fabric API, and no Sodium installed.
Known issues
- Slowdowns after long uptime: Minecraft may slow down after your computer has been running for two days or more. This appears to be related to macOS.
- Compatibility: MetalRender WILL crash when used with Sodium, Distant Horizons (DH), Voxy, Iris, C2ME, or other rendering mods. If you run into a specific compatibility issue (NOT those mods), please report it on GitHub.
For developers
In version v0.1, the source code is included in the JAR. This source code is outdated and will not be updated.
For v0.1.2 and later, the source code and build instructions are available on the GitHub repository.
Command line
Command-line features are available in v0.1.6 and later. Earlier versions do not include these commands. See the GitHub repository for the full guide.
Common commands
/metalrender status — Show the current MetalRender status.
/metalrender help — List available commands.
/metalrender cache clear — Clear the cache and restart the renderer.
/metalrender reload — Reload the world renderer.
/metalrender restart — Restart MetalRender.
*AI was not used to code this mod in a sense where it would be considered a major contriution, however the naming and logging messages were created by AI. This mod was created with the aid of AI, but only for planning, bug analysis and regenerating minecraft's Manifest_v2.json because school wifi blocks minecraft.
评论 0
登录后参与评分
还没有评论,来抢沙发吧