mirror of
https://github.com/TheWhiteDog9487/RandomTeleporter.git
synced 2026-05-20 14:49:44 +08:00
使用Kotlin重写
This commit is contained in:
@@ -5,8 +5,6 @@
|
||||
"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",
|
||||
"command.argument.radius": "radius",
|
||||
"command.argument.target": "teleported entity",
|
||||
|
||||
@@ -5,8 +5,6 @@
|
||||
"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的哔哩哔哩主页",
|
||||
"command.argument.radius": "半径",
|
||||
"command.argument.target": "被传送实体",
|
||||
|
||||
@@ -17,7 +17,11 @@
|
||||
"environment": "*",
|
||||
"entrypoints": {
|
||||
"main": [
|
||||
"xyz.thewhitedog9487.RandomTeleporter"]
|
||||
{
|
||||
"value": "xyz.thewhitedog9487.RandomTeleporter",
|
||||
"adapter": "kotlin"
|
||||
}
|
||||
]
|
||||
},
|
||||
"mixins": [
|
||||
"randomteleporter.mixins.json",
|
||||
@@ -30,7 +34,8 @@
|
||||
"fabricloader": ">=0.18.6",
|
||||
"minecraft": "26.1.2",
|
||||
"java": ">=25",
|
||||
"fabric-api": ">=0.145.4"
|
||||
"fabric-api": ">=0.145.4",
|
||||
"fabric-language-kotlin": "*"
|
||||
},
|
||||
"suggests": {
|
||||
"another-mod": "*"
|
||||
|
||||
@@ -1,11 +1,14 @@
|
||||
{
|
||||
"required": false,
|
||||
"required": true,
|
||||
"package": "xyz.thewhitedog9487.mixin",
|
||||
"compatibilityLevel": "JAVA_21",
|
||||
"compatibilityLevel": "JAVA_25",
|
||||
"mixins": [
|
||||
|
||||
],
|
||||
"injectors": {
|
||||
"defaultRequire": 1
|
||||
},
|
||||
"overwrites": {
|
||||
"requireAnnotations": true
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user