mirror of
https://github.com/TheWhiteDog9487/RandomTeleporter.git
synced 2025-10-16 00:35:04 +08:00
更新至Minecraft 1.21.9
This commit is contained in:
@@ -140,8 +140,8 @@ public class CommandRegister {
|
||||
context.getSource(),
|
||||
IntegerArgumentType.getInteger(context, "Radius(半径)"),
|
||||
EntityArgumentType.getEntity(context,"被传送玩家名(PlayerID)"),
|
||||
new Vec2f( (float) EntityArgumentType.getEntity( context,"OriginEntity(随机中心,实体)").getPos().x,
|
||||
(float) EntityArgumentType.getEntity( context,"OriginEntity(随机中心,实体)").getPos().z )))))));});
|
||||
new Vec2f( (float) EntityArgumentType.getEntity( context,"OriginEntity(随机中心,实体)").getEntityPos().x,
|
||||
(float) EntityArgumentType.getEntity( context,"OriginEntity(随机中心,实体)").getEntityPos().z )))))));});
|
||||
|
||||
// /rtp <Radius(半径)> <被传送玩家名(PlayerID)> <OriginPos(随机中心,坐标)>
|
||||
CommandRegistrationCallback.EVENT
|
||||
@@ -169,8 +169,8 @@ public class CommandRegister {
|
||||
context.getSource(),
|
||||
IntegerArgumentType.getInteger(context, "Radius(半径)"),
|
||||
EntityArgumentType.getEntity(context,"被传送玩家名(PlayerID)"),
|
||||
new Vec2f( (float) EntityArgumentType.getEntity( context,"OriginEntity(随机中心,实体)").getPos().x,
|
||||
(float) EntityArgumentType.getEntity( context,"OriginEntity(随机中心,实体)").getPos().z )))))));});
|
||||
new Vec2f( (float) EntityArgumentType.getEntity( context,"OriginEntity(随机中心,实体)").getEntityPos().x,
|
||||
(float) EntityArgumentType.getEntity( context,"OriginEntity(随机中心,实体)").getEntityPos().z )))))));});
|
||||
|
||||
// /rtp <被传送玩家名(PlayerID)> <Radius(半径)> <OriginPos(随机中心,坐标)>
|
||||
CommandRegistrationCallback.EVENT
|
||||
|
@@ -27,10 +27,10 @@
|
||||
}
|
||||
],
|
||||
"depends": {
|
||||
"fabricloader": ">=0.16.14",
|
||||
"minecraft": "1.21.8",
|
||||
"fabricloader": ">=0.17.2",
|
||||
"minecraft": "1.21.9",
|
||||
"java": ">=21",
|
||||
"fabric-api": ">=0.129.0"
|
||||
"fabric-api": ">=0.133.14"
|
||||
},
|
||||
"suggests": {
|
||||
"another-mod": "*"
|
||||
|
Reference in New Issue
Block a user