跳到正文

Stellar View Mixin Renderer

作者:lukaskabc

使用 mixin 渲染 Stellar View 的天空,免去对维度特殊效果的依赖

收藏

介绍

介绍由机器翻译自 Modrinth 原页面,仅供参考。

StellarView Mixin 渲染器

GitHub repository
Curseforge

使用 Mixin 渲染 Stellar View 的天空。

这样就可以通过数据包为维度设置自定义的 视点中心。
此外,如果某个模组覆盖了维度类型并实现了自定义的维度特殊效果,则需要使用此模组。

StellarView由 Povstalec 创建

缺点

如果某个模组通过维度特殊效果实现了自己的 Stellar View 兼容方案,并添加了自定义逻辑
(而不只是简单地渲染 Stellar View 的天空),此 Mixin 将覆盖该方案。

覆盖维度特殊效果

部分维度特殊效果可以通过资源包覆盖。

要覆盖某个维度的效果,例如 dimension_namespace>:<dimension_name> minecraft:overworld:
创建资源包条目:

assets/<dimension_namespace>/stellarview_mixin_renderer/dimension_special_effects/<dimension_name>.json
assets/minecraft/stellarview_mixin_renderer/dimension_special_effects/overworld.json

支持的选项如下(括号内为默认值):

"disable_override": false, // when true, the override will not be applied and all other options are ignored
"cloud_height": null, // float
"has_ground": null, // boolean
"sky_type": null, // "NONE", "NORMAL", "END"
"force_bright_lightmap": null, // boolean
"constant_ambient_light": null, // boolean
"has_snow_and_rain": true, // when false, snow/rain rendering will be skipped
"disable_fog": false, // when true, fog rendering will be skipped, and fog_always option will be ignored
"fog_always": false, // when true, fog will be always rendered
"has_sunrise": true, // when false, sunrise color will not be provided and the rendering will be skipped
"has_clouds": true // when false, cloud rendering will be skipped

常见问题

Stellar View Mixin Renderer 支持哪些 Minecraft 版本?

Stellar View Mixin Renderer 支持 Minecraft Java 版 1.21.1,可用的加载器:NeoForge。下载时注意选择和你游戏版本一致的文件。

Stellar View Mixin Renderer 怎么安装?

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

评论

登录后评论和评分

lukaskabc 的其他作品

查看全部 →