关于:
这是一个简单的模组,允许玩家使用上/下箭头键切换 Iris 光影,并支持通过 /dlshader <url> 命令从 Modrinth 下载光影。
由于这是一个 Iris 的附加组件,要正常运行必须安装正确版本的 Iris 和 Sodium。
本人与此示例中展示的 Iris、任何光影或其创作者均无任何关联。
注意:
由于此模组在用户请求时能够下载光影,因此会影响你的文件系统。如果你想自行验证,可以点击链接区域下方的“查看源代码”按钮获取源码。
光影切换信息示例:

下载光影包的命令:
你可以在链接开头包含 https://、http:// 或不包含任何内容,均可被接受。

光影成功下载

失败情况
光影下载失败主要有两个原因:
- 你尝试下载的光影与已存在的光影同名
- 网络连接错误
以下截图展示了这两种情况。
如果出现连接错误,游戏可能会在连接超时前冻结几秒。默认超时时间为 5 秒,但可以通过 /dlshadertimeout 命令进行修改。该命令接受一个时间参数(以毫秒为单位),表示客户端尝试下载光影的最长时间。

About:
This is a simple mod that adds the option to swap Iris shaders with the up and down arrow keys, and also allows the player to download a shader from modrinth with the /dlshader <url> command.
Since this is an Iris addon, it requires the correct versions of Iris and Sodium to be present to function
I am not affiliated in any way with iris or any of the shaders or their creators shown in these examples.
NOTE:
Since this mod can download shaders if you ask it to, it will affect your file system. The source code is available if you click on the 'view source' button under the links section if you want to verify it yourself.
An example of the shader swapping info:

The command to download a shaderpack:
You can include either https://, http:// or nothing at the start, and it will be accepted.

A shader being downloaded correctly

Failures
There are two main reasons a shader may fail to download:
- The shader you're trying to download has the same name as one already present
- An internet connection error
Both are shown in screenshots below.
If there is a connection error, the game may freeze for a few seconds before the connection attempt times out. This is set to 5 seconds by default but can be changed with the /dlshadertimeout command. This command takes in the time (in milliseconds) that the client should try to download the shader for.

评论 0
登录后参与评分
还没有评论,来抢沙发吧