minecraftxixi
もぺもぺ 发表于 2021-7-25 15:20
/execute store result bossbar  value run data get entity @e[tag=,limit=1] Health

我指的是多个实体的血量加起来

strings
minecraftxixi 发表于 2021-7-25 15:22
我指的是多个实体的血量加起来

execute as @e[type=creeper,tag=x] run execute store result score @s a run data get entity @s Health
execute as @e[type=creeper,tag=x] run scoreboard players operation # a += @s a
execute store result bossbar a value run scoreboard players get # a


minecraftxixi
もぺもぺ 发表于 2021-7-25 15:10
execute as @e[type=creeper,tag=x] run execute store result score @s a run data get entity @s Healt ...

谢谢,很有帮助

第一页 上一页