支持Minecraft 26.1.1
增加回溯到随机传送前的位置的功能
( 愚人节OTA正式版,那相当有操作了
( AI写代码未必靠谱,但是翻译还是很不错的
This commit is contained in:
TheWhiteDog9487
2026-04-04 14:18:40 +08:00
parent 4137a166ae
commit 6dff863d3f
10 changed files with 220 additions and 29 deletions

View File

@@ -2,7 +2,9 @@
"modmenu.nameTranslation.randomteleporter": "RandomTeleporter",
"modmenu.descriptionTranslation.randomteleporter": "Added two commands for random teleportation",
"info.success": "Teleported %s to %d %d %d",
"info.success.back": "Teleported %s back to original position",
"error.no_target": "There is no teleported target, and the teleported player ID is explicitly specified when executed by a non-player object",
"error.no_old_position": "%s has not used random teleport yet, so it cannot be traced back",
"warning.radius_equal_zero": "Warning: Since you set a random radius of 0, selecting the right height will teleport you directly to %d %d",
"warning.radius_equal_zero_no_target": "Warning: Since you set a random radius of 0 and you don't set a random center point coordinates, nothing happens",
"bilibili": "Bilibili",

View File

@@ -2,7 +2,9 @@
"modmenu.nameTranslation.randomteleporter": "随机传送",
"modmenu.descriptionTranslation.randomteleporter": "增加了两个用于随机传送的命令",
"info.success": "已将玩家%s传送到%d %d %d",
"info.success.back": "已将玩家%s传送回原位置",
"error.no_target": "不存在被传送目标由非玩家物体执行命令时请显式指定被传送玩家ID",
"error.no_old_position": "%s还未使用过随机传送因此无法回溯",
"warning.radius_equal_zero": "警告由于你设置的随机半径为0因此在选择出合适高度之后将直接把你传送至%d %d",
"warning.radius_equal_zero_no_target": "警告由于你设置的随机半径为0并且未设置随机中心点坐标因此什么都不会发生",
"bilibili": "TheWhiteDog9487的哔哩哔哩主页",

View File

@@ -27,10 +27,10 @@
}
],
"depends": {
"fabricloader": ">=0.18.4",
"minecraft": "26.1",
"fabricloader": ">=0.18.6",
"minecraft": "26.1.1",
"java": ">=25",
"fabric-api": ">=0.144.3"
"fabric-api": ">=0.145.3"
},
"suggests": {
"another-mod": "*"
@@ -39,5 +39,5 @@
"modmenu": {
"links": {
"bilibili": "https://space.bilibili.com/401746666"},
"update_checker": true}}
"update_checker": true } }
}