阻止卸载我的资源包
当发生与光影相关的错误时,防止游戏禁用所有资源包。相反,错误将在游戏内显示,可以配置为在聊天栏、左上角的框中或两者同时显示错误信息。
此模组还为开发光影添加了一些便捷功能,请阅读下文了解更多详情。
此模组可防止以下情况导致资源包被禁用
原版游戏中以下行为会强制禁用所有资源包,安装此模组后,这些情况将使用回退方案,并在游戏内和输出日志中显示任何错误:
- 着色器程序编译错误
- 缺失的着色器程序
- 着色器链接错误
- 无效或缺失的
post_effectJSON 文件 - 引用了无效目标的
post_effects
对于 Minecraft 内置的光影,如果发生错误,模组将尝试加载默认光影作为回退。对于来自模组的自定义光影,将使用一个虚拟光影作为回退,这会导致使用该光影的任何对象变为不可见。
额外功能
- 光影热重载按键绑定(F3 + R),仅重新加载光影,比完整重新加载资源包要快得多
- 不仅在进入世界时有效,在主标题界面也能使用!
- 为某些情况提供更清晰的错误提示。例如,当导入不存在的 include 着色器时,游戏将生成明确的错误信息,而不是抛出空指针异常
- 添加了禁用着色器链接信息日志的选项
- 默认关闭,但如果日志刷屏过于严重(在我的机器上就是这样),可以启用它
许可证
Stop Unloading My Resourcepacks by ioblackshaw (a.k.a. Enchanted_Games) is licensed under CC BY-NC 4.0
Stop Unloading My Resourcepacks
Prevents the game from disabling all resourcepacks if a shader-related error occurs. Instead, errors will be displayed in-game, can be configured to show errors in chat, a box in the top left, or both
This mod also adds a few QOL features for developing shaders, read more below
Things this mod prevents from disabling resourcepacks
The following things in vanilla will forcibly disable all resourcepacks, with this mod installed these will use a fallback and show any errors in-game and the output log:
- Shader program compilation errors
- Missing shader programs
- Shader linking errors
- Invalid or missing post_effect jsons
- post_effects that reference invalid targets
For minecrafts builtin shaders, the mod will attempt to load the default ones as a fallback if an error occurs. For modded shaders, a dummy shader will be used as a fallback which will make any objects using that shader invisible
Additional features
- Shader hot-reload keybind (F3 + R) which just reloads shaders, much quicker than a full resource reload
- Works in the title screen, not just when in a world!
- Adds better errors for some things. For example, when importing a non-existent include shader the gane will produce a proper error rather than throwing a null pointer exception
- Added an option to disable shader linker info logs
- Off by default but can be enabled if it causes a ton of log spam (like it does on my machine)
License
Stop Unloading My Resourcepacks by ioblackshaw (a.k.a. Enchanted_Games) is licensed under CC BY-NC 4.0
下载 Stop Unloading My Resourcepacks [SUMR]
下载 Stop Unloading My Resourcepacks [SUMR]
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Stop Unloading My Resourcepacks [SUMR]
下载 Stop Unloading My Resourcepacks [SUMR]
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Stop Unloading My Resourcepacks [SUMR]
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Stop Unloading My Resourcepacks [SUMR]
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Stop Unloading My Resourcepacks [SUMR]
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Stop Unloading My Resourcepacks [SUMR]
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Stop Unloading My Resourcepacks [SUMR]
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Stop Unloading My Resourcepacks [SUMR]
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
1.6.0
- 移植至 26.3
- 内部发生了许多变化,因此与之前的版本相比,某些错误信息的显示方式有所不同:
- 后处理效果相关的错误现在以警告形式显示,并且通常包含比之前更多的信息
- 光影编译错误现在按管线(pipeline)记录,而不是按光影类型(shader type)记录(实际上这意味着即使片段着色器和顶点着色器都编译失败,你也只会看到 1 条错误信息)
- 在 OpenGL 上,某些特定情况仍可能导致资源包被卸载。目前看来这不容易修复
- 移除了“隐藏链接器日志”配置选项
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
模组
在游戏画面角落显示附近世界地形、玩家、生物和实体的地图。可创建路径点,帮助你找到标记过的位置。
模组
查看物品与配方
模组
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!
模组
AE2:一款流行的自动化与存储模组
模组
那是什么?一个 Waila/Hwyla 的分支。
评论 0
登录后参与评分
还没有评论,来抢沙发吧