➪新手礼包 I↓
有条件命令链
execute @a[scores={总时⻓=1},tag=!已领取,c=1] ~ clone 世界坐标 setblock air 0 destroy tp @e[type=item,name=!木桶,r=10] @a[scores={总时⻓=1},tag=!已领取,c=1] tag @a[scores={总时⻓=1},tag=!已领取,c=1] add 已领取 ➤新手礼包 II↓ 复制木桶并击碎,再tp掉落物到玩家 缺点:高频复制卡 clone ~ ~-1 ~ ~ ~-1 ~ ~ ~7 ~ scoreboard players set 非⻔ 礼包 0 execute @e[dy=10,type=item] ~ scoreboard players set 非⻔ 礼包 1 scoreboard players test 非⻔ 礼包 0 0
setblock ~ ~3 ~ air 0 destroy有
kill @e[name=木桶]
➪新手礼包 I↓
有条件命令链
execute @a[scores={总时⻓=1},tag=!已领取,c=1] ~ clone 世界坐标 setblock air 0 destroy tp @e[type=item,name=!木桶,r=10] @a[scores={总时⻓=1},tag=!已领取,c=1] tag @a[scores={总时⻓=1},tag=!已领取,c=1] add 已领取 ➤新手礼包 II↓ 复制木桶并击碎,再tp掉落物到玩家 缺点:高频复制卡 clone ~ ~-1 ~ ~ ~-1 ~ ~ ~7 ~ scoreboard players set 非⻔ 礼包 0 execute @e[dy=10,type=item] ~ scoreboard players set 非⻔ 礼包 1 scoreboard players test 非⻔ 礼包 0 0
setblock ~ ~3 ~ air 0 destroy有
kill @e[name=木桶]