适配Minecraft 1.21.4
修正了一个严重Bug,同样是由0.3.3的Vec3d → Vec2f引入。
具体表现就是当传送中心被设置为一个实体时,传送中心点的Z轴坐标被错误地设置为给定实体的Y轴(表示高度的那个轴)坐标。
可能是我测试的时候没用到这个格式所以没发现问题?反正现在修了,已经没事了。
更换Text.translatable成Text.translatableWithFallback,确保未安装模组时至少有人类可读文字,而不是翻译键。
补充英语翻译。
ModMenu显示的详细信息中移除掉博客链接。
增加了一大堆的JavaDoc.
This commit is contained in:
2024-12-05 16:00:25 +08:00
parent 7376393f37
commit da6802f605
9 changed files with 78 additions and 31 deletions

View File

@@ -1,6 +1,7 @@
{
"modmenu.nameTranslation.randomteleporter": "RandomTeleporter",
"modmenu.descriptionTranslation.randomteleporter": "Added two commands for random teleportation",
"bilibili": "Bilibili",
"blog": "Blog"
"info.success": "Teleported %s to %d %d %d",
"error.no_target": "There is no teleported target, and the teleported player ID is explicitly specified when executed by a non-player object",
"bilibili": "Bilibili"
}

View File

@@ -2,7 +2,6 @@
"modmenu.nameTranslation.randomteleporter": "随机传送",
"modmenu.descriptionTranslation.randomteleporter": "增加了两个用于随机传送的命令",
"info.success": "已将玩家%s传送到%d %d %d",
"error.not_player": "执行命令的不是玩家",
"bilibili": "TheWhiteDog9487的哔哩哔哩主页",
"blog": "TheWhiteDog9487的博客"
"error.no_target": "不存在被传送目标由非玩家物体执行命令时请显式指定被传送玩家ID",
"bilibili": "TheWhiteDog9487的哔哩哔哩主页"
}

View File

@@ -27,10 +27,10 @@
}
],
"depends": {
"fabricloader": ">=0.16.7",
"minecraft": "1.21.3",
"fabricloader": ">=0.16.9",
"minecraft": "1.21.4",
"java": ">=21",
"fabric-api": "*"
"fabric-api": ">=0.110.5"
},
"suggests": {
"another-mod": "*"
@@ -38,7 +38,6 @@
"custom": {
"modmenu": {
"links": {
"bilibili": "https://space.bilibili.com/401746666",
"blog": "www.thewhitedog9487.xyz"},
"bilibili": "https://space.bilibili.com/401746666"},
"update_checker": true}}
}