跳到正文

Version Lib

作者:Cafou

VersionLib is a datapack that can detect which version of the game the player is on.

收藏

介绍

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

VersionLib is a datapack library that adds the ability to check which version of the game is currently running.

How to use:
To obtain the game version, one only has to check the following storage: ‘verlib:data Version’ This will give you a string like so, “1.21”

You can also obtain the version in the form of an integer by checking the following storage: ‘verlib:data IntVer’ This will give you an integer like so, 121

Warnings:
While this datapack supports all versions from 1.18 to 26.1, the version given by the datapack may not be perfectly accurate. This is due to the method of checking, which can only aproximate the version. So, if you try it on 1.21.1, you’ll get 1.21. Same for 1.21.10 which will give you 1.21.9

常见问题

Version Lib 支持哪些 Minecraft 版本?

Version Lib 支持 Minecraft Java 版 1.18–26.1.1,共 29 个版本。下载时注意选择和你游戏版本一致的文件。

Version Lib 怎么安装?

新建世界时在「数据包」里把下载的 .zip 拖进去;已有的存档,把文件放进存档目录下的 datapacks 文件夹,进游戏输入 /reload 即可生效。服务器同样放在世界目录的 datapacks 里。

评论

登录后评论和评分

Cafou 的其他作品

查看全部 →