本模组为游戏添加了一个屏保功能,在玩家闲置指定时长后会显示。该模组已在 GitHub 上开源。
默认情况下,当玩家闲置 300 秒(即 5 分钟)后将显示屏保。如果用户对默认屏保不满意,可以通过修改模组配置文件中的 timeout 选项来更改持续时间,单位为秒。此外,还可以通过配置文件修改屏保文件的路径。屏保文件仅支持图像格式。每次重新加载资源包时,屏保文件的配置选项将自动重新加载。另外,可以使用命令 /debug-image list 查看所有已加载的图像。
注意:如果修改了图像的元数据但未更改文件路径,重新加载时将不会重新加载屏保文件。在这种情况下,必须先使用命令 /debug-image remove <path> 从已加载的图像中删除文件路径信息,然后使用命令 /debug-image reload 或按下 F3+T 来重新加载屏保文件。
This mod adds a screensaver to the game, which will be displayed after the player has been idle for a specified duration, and it has been open-sourced on GitHub.
By default, the screensaver will be displayed after the player has been idle for 300 seconds, which is 5 minutes. If you are not satisfied with the default screensaver, you can modify the timeout option in the mod's configuration file to change the duration, with the unit being seconds. Additionally, you can modify the path of the screensaver file through the configuration file. The screensaver file only supports image formats. The configuration options for the screensaver file will be automatically reloaded every time the resource pack is reloaded. Moreover, you can use the command /debug-image list to view all loaded images.
Note: If you modify the information of an image but do not change the file path, reloading will not reload the screensaver file. In this case, you must first use the command /debug-image remove <path> to delete the file path information from the loaded images, and then use the command /debug-image reload or press F3+T to reload the screensaver file.
评论 0
登录后参与评分
还没有评论,来抢沙发吧