本帖最后由 Goance 于 2021-4-1 22:19 编辑
如题,不要用tp,例如直接把闪电召唤到僵尸身上[1.16.3]
如题,不要用tp,例如直接把闪电召唤到僵尸身上[1.16.3]
典型不说版本
execute at @e[type=zombie] run summon lightning_bolt ~ ~ ~
execute @e[type=zombie] ~ ~ ~ summon lightning_bolt
execute at @e[type=zombie] run summon lightning_bolt ~ ~ ~
execute @e[type=zombie] ~ ~ ~ summon lightning_bolt
/execute @e[type=zombie] ~ ~ ~ summon lightning_bolt
就行了
望采纳
就行了
望采纳
1.13+:
execute at @e[type=zombie] run summon lightning_bolt ~ ~ ~
1.12:
execute @e[type=zombie] ~ ~ ~ summon lightning_bolt
execute at @e[type=zombie] run summon lightning_bolt ~ ~ ~
1.12:
execute @e[type=zombie] ~ ~ ~ summon lightning_bolt
PercyDan 发表于 2021-3-31 22:45
典型不说版本
execute at @e[type=zombie] run summon lightning_bolt ~ ~ ~
execute @e[type=zombie] ~ ~ ...
谢谢,怎么传送到最近的实体身上呢【除玩家】
Goance 发表于 2021-4-1 22:23
谢谢,怎么传送到最近的实体身上呢【除玩家】
tp @e[type=!player,r=半径]
PercyDan 发表于 2021-4-2 15:39
tp @e[type=!player,r=半径]
!是 “除了” 的意思吗