欢迎光临散文网 会员登陆 & 注册

【10cb】可投掷TNT炸弹 手持长按屏幕检测 多人可用

2023-02-17 16:14 作者:明灯owo  | 我要投稿

可投掷TNT(视频中命令方块分段放置可以不用,直接一个循环后面链一串就行了,开保持开启)

/execute @a[hasitem={item=tnt,location=slot.weapon.mainhand},tag=!投掷] ~~~ summon armor_stand tnt

/tag @a[hasitem={item=tnt,location=slot.weapon.mainhand},tag=!投掷] add 投掷

/execute @a[hasitem={item=tnt,location=slot.weapon.mainhand}] ~~~ tp @e[type=armor_stand,name=tnt,c=1] ^^^-0.1 facing ^^^3

/execute @a[hasitem={item=tnt,quantity=0,location=slot.weapon.mainhand},tag=投掷] ~~~ kill @e[type=armor_stand,name=tnt,c=1]

/tag @a[hasitem={item=tnt,quantity=0,location=slot.weapon.mainhand},tag=投掷] remove 投掷

/effect @e[type=armor_stand,name=tnt] invisibility 1 0 true

/execute @e[type=armor_stand,name=tnt,hasitem={item=tnt,location=slot.weapon.mainhand}] ~~~ summon tnt

/execute @e[type=armor_stand,name=tnt,hasitem={item=tnt,location=slot.weapon.mainhand}] ~~~ tp @e[type=tnt,c=1] ^^1.5^2 facing ^^^5

/replaceitem entity @e[type=armor_stand,name=tnt,hasitem={item=tnt,location=slot.weapon.mainhand}] slot.weapon.mainhand 0 air

/execute @e[type=tnt] ~~~ detect ^^^0.5 air 0 execute @s ~~~ detect ^^^0.5 air 0 tp ^^-0.1^0.5

【10cb】可投掷TNT炸弹 手持长按屏幕检测 多人可用的评论 (共 条)

分享到微博请遵守国家法律