bili_652174754
原版烟雾弹制作

注:#load均为只执行一遍,#tick表示每个tick执行一遍;[chain]表示连锁命令块,[repeating]表示循环命令块

#load:/scoreboard objectives add smoke dummy

新建一个名称为smoke的记分项



[repeating]#tick:/scoreboard players add @e[type=item,nbt={Item:{tag:{smoke:1}}}] smoke 1

给所有标签为smoke的掉落物加分

[chain]/execute at @e[type=item,scores={smoke=20..}] run particle minecraft:smoke ~ ~ ~ 0 0 0 0.09 100

1秒后就开始生成烟雾



[chain]/execute at @e[type=item,scores={smoke=100..}] run particle minecraft:smoke ~ ~ ~ 1 1 1 0.009 500

5秒后生成大团烟雾


[chain]/execute at @e[type=item,scores={smoke=200..}] run kill @e[type=item,nbt={Item:{tag:{smoke:1}}}]

10秒后直接清除烟雾弹(不然就一直大型烟雾了……)



然后就可以使用/give @s minecraft:flint{smoke:1} 1给予你烟雾弹(可以修改,不过smoke:1必须加,否则没卵用)





XL旋律
66666666666

七海。
大佬666666

窝的大姐
这种配置低会卡吗

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