能不能做到类似于粒子效果的锁链,就比如说一颗末影水晶,可以在自己与范围内的玩家之间创建一条粒子效果的链条
弄一个函数
execute positioned ^ ^ ^0.005 run particle xxxx
execute unless entity @a[distance=..2] positioned ^ ^ ^0.005 run function 函数名
然后水晶处执行 execute facing entity @p feet positioned ^ ^ ^ run function上面的函数
总之思路大概是这样
execute positioned ^ ^ ^0.005 run particle xxxx
execute unless entity @a[distance=..2] positioned ^ ^ ^0.005 run function 函数名
然后水晶处执行 execute facing entity @p feet positioned ^ ^ ^ run function上面的函数
总之思路大概是这样
もぺもぺ 发表于 2020-5-31 14:09
弄一个函数
execute positioned ^ ^ ^0.005 run particle xxxx
为什么半径设2以下直接就射穿了?
阡喏 发表于 2020-5-31 15:12
为什么半径设2以下直接就射穿了?
自己调吧。应该有更精准的办法,但是我玩命令不追求精准的