2508466234
1.8.9 或 1.10.2 以上的能不能用execute指令检测玩家行走

xmdhs
本帖最后由 xmdhs 于 2019-9-14 11:25 编辑

用记分板,使用准则minecraft.custom:minecraft.walk_one_cm

然后再检测分数增大就行了

2508466234
xmdhs 发表于 2019-9-14 11:20
用记分板,使用判据 minecraft.custom:minecraft.walk_one_cm

然后再检测分数增大就行了 ...

emmmm,我没了解过sb指令

2508466234
xmdhs 发表于 2019-9-14 11:20
用记分板,使用判据 minecraft.custom:minecraft.walk_one_cm

然后再检测分数增大就行了 ...

能不能麻烦告诉我一下具体指令,谢谢。。。

xmdhs
2508466234 发表于 2019-9-14 11:22
emmmm,我没了解过sb指令

1.14.4

/scoreboard objectives add walk minecraft.custom:minecraft.walk_one_cm

/execute as @e[scores={walk=1..}] run scoreboard players set @s walk 0
/execute as @e[scores={walk=1..}]  run say 动了

第一页 上一页 下一页 最后一页