跳到正文

Frappé

作者:ColdBrewMC

A wish.com FREX from hell. Frappé is a modular FRAPI extension interface and set of standard extensions.

收藏

截图

介绍

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

Frappé

Khronos-inspired rendering extensions for the Fabric Renderer API.

Why?

Due to Sodium’s omnipresence in the Fabric modding community and in modpacks, many rendering-heavy
mods resort to using Mixin on Indigo and Sodium. Mockingly, Fabric Renderer API (also called FRAPI)
exists for mods like Sodium, but its API is heavily limited and almost exclusively useful for
complicated block models. Thus, Frappé was borne out of the desire for a cohesive, powerful renderer
API.

How?

Enter Frappé extensions.
Frappé extensions are additional, optional APIs that renderers may opt into implementing.
However, other mods may add support for features that renderers do not support (e.g. Sodium-Frappé
Compatibility), and this is the primary advantage Frappé has over traditional renderer
implementations and extensions.

Frappé’s extension system is heavily inspired by Khronos Group’s OpenGL and Vulkan extension APIs.
In other words, “Extension query goes in, extension API comes out.”

PR this into FRAPI!

No, this is far out of scope. The primary concerns are maintainability and use-case, and FRAPI is
already quite difficult to maintain when it breaks. Please do not bother the FRAPI developers.

Will this be added to Sodium? Iris? etc.?

No, absolutely not. Frappé’s API is not in scope for individual renderer mods, and Mocha—Frappé’s
default Indigo and Sodium implementation—is licensed MPL-2.0. Unless an agreement is made on labor
and licensing, Mocha/Frappé will remain a separate mod.

Attribution

glsl-transformer by douira

Licenses

Frappé and Mocha: MPL-2.0

glsl-transformer: AGPL-3.0 and the additional license grant in licenses/glsl-transformer.md

常见问题

Frappé 支持哪些 Minecraft 版本?

Frappé 支持 Minecraft Java 版 26.1–26.1.2,共 3 个版本,可用的加载器:Fabric。下载时注意选择和你游戏版本一致的文件。

Frappé 怎么安装?

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

评论

登录后评论和评分