最美情侣中文字幕电影,在线麻豆精品传媒,在线网站高清黄,久久黄色视频

歡迎光臨散文網(wǎng) 會(huì)員登陸 & 注冊(cè)

我的世界手雷,燃燒瓶,煙霧彈,閃光彈投擲物指令

2023-08-21 23:25 作者:不務(wù)正業(yè)的up鴿  | 我要投稿

可擴(kuò)展式投擲物??????

注意??

[給想要擴(kuò)展的一點(diǎn)提示]??

投擲物1是燃燒瓶

投擲物2是閃光彈

投擲物3是手榴彈

投擲物4是煙霧彈

做新的投擲物就改盔甲架的名改改效果就行了(你得有指令基礎(chǔ)吧)


[創(chuàng)建記分板]??

/scoreboard objectives add?投擲物?dummy


<手持檢測(cè)>

【標(biāo)注??:特殊值為0的是燃燒瓶,1是閃光彈,2是手榴彈,4是煙霧彈

獲取方法:give @s snowball 16?特殊值】


scoreboard players set @a?投擲物?0


scoreboard players set @a?[hasitem={item=snowball,location=slot.weapon.mainhand,slot=0,data=0}]?投擲物?1


scoreboard players set @a?[hasitem={item=snowball,location=slot.weapon.mainhand,slot=0,data=1}]?投擲物?2


scoreboard players set @a?[hasitem={item=snowball,location=slot.weapon.mainhand,slot=0,data=2}]?投擲物?3


scoreboard players set @a?[hasitem={item=snowball,location=slot.weapon.mainhand,slot=0,data=3}]?投擲物?4



<第一部分>

[讓雪球知道扔自己的是個(gè)什么貨色]??



execute @e?[type=snowball,tag=!已檢測(cè)類別]?~~~ tag @p add?投擲



<第二部分>

[讓貨色自己扔的雞蛋也知道自己是個(gè)什么貨色]??




execute @e?[tag=投擲,scores={投擲物=1}]?~~~ tag @e?[c=1,type=snowball,tag=!已檢測(cè)類別]?add?燃燒瓶



execute @e?[tag=投擲,scores={投擲物=2}]?~~~ tag @e?[c=1,type=snowball,tag=!已檢測(cè)類別]?add?閃光彈


execute @e?[tag=投擲,scores={投擲物=3}]?~~~ tag @e?[c=1,type=snowball,tag=!已檢測(cè)類別]?add?手榴彈


execute @e?[tag=投擲,scores={投擲物=4}]?~~~ tag @e?[c=1,type=snowball,tag=!已檢測(cè)類別]?add?煙霧彈



tag @e add?已檢測(cè)類別


tag @e remove?投擲



<第三部分>


[創(chuàng)建記分板]??


/scoreboard objectives add?燃燒瓶投擲?dummy


[燃燒瓶的投擲]


scoreboard players add @e?燃燒瓶投擲?0


execute @e?[type=snowball,tag=燃燒瓶,tag=已檢測(cè)類別,scores={燃燒瓶投擲=0}]?~~~ summon armor_stand?燃燒瓶?~~50~


execute @e?[type=snowball,tag=燃燒瓶,tag=已檢測(cè)類別,scores={燃燒瓶投擲=0}]?~~~ scoreboard players set @s?燃燒瓶投擲?1


scoreboard players add @e?[type=armor_stand,name=燃燒瓶]?燃燒瓶投擲?1


execute @e?[type=armor_stand,name=燃燒瓶,scores={燃燒瓶投擲=1}]?~~-50~ execute @e?[type=snowball,tag=燃燒瓶,r=2,c=1]?~~50~ scoreboard players set @e?[type=armor_stand,name=燃燒瓶,r=2,c=1,scores={燃燒瓶投擲=1}]?燃燒瓶投擲?0


execute @e?[type=armor_stand,name=燃燒瓶,scores={燃燒瓶投擲=0}]?~~-50~ execute @e?[type=snowball,tag=燃燒瓶,r=2,c=1]?~~50~ tp @e?[type=armor_stand,name=燃燒瓶,scores={燃燒瓶投擲=0},r=2,c=1]?~~~


[燃燒瓶的效果]


execute @e?[type=armor_stand,name=燃燒瓶,scores={燃燒瓶投擲=1..}]?~~~ tp @s ~~~~25


execute @e?[type=armor_stand,name=燃燒瓶,scores={燃燒瓶投擲=1..}]?~~-50~ particle minecraft:mobflame_single ^^^1.6


execute @e?[type=armor_stand,name=燃燒瓶,scores={燃燒瓶投擲=10..}]?~~-50~ particle minecraft:mobflame_single ^^^2.6


execute @e?[type=armor_stand,name=燃燒瓶,scores={燃燒瓶投擲=20..}]?~~-50~ particle minecraft:mobflame_single ^^^3.6


execute @e?[type=armor_stand,name=燃燒瓶,scores={燃燒瓶投擲=0..}]?~~~ effect @s invisibility 1 0 true


execute @e[type=armor_stand,name=燃燒瓶,scores={燃燒瓶投擲=1}]?~~-50~ playsound random.glass @a[r=50]?~ ~ ~ 100 2 100


{注意這里的100..是燃燒瓶保留的時(shí)間}


kill @e?[type=armor_stand,name=燃燒瓶,scores={燃燒瓶投擲=100..}]


{注意這里的1是傷害}


execute @e[type=armor_stand,name=燃燒瓶,scores={燃燒瓶投擲=1..}]?~~-50~ damage @e[r=3.3]1 fire_tick entity @s



<第四部分>


[創(chuàng)建記分板]??


/scoreboard objectives add?閃光彈投擲?dummy


[閃光彈的投擲]


scoreboard players add @e?閃光彈投擲?0


execute @e?[type=snowball,tag=閃光彈,tag=已檢測(cè)類別,scores={閃光彈投擲=0}]?~~~ summon armor_stand?閃光彈?~~50~


execute @e?[type=snowball,tag=閃光彈,tag=已檢測(cè)類別,scores={閃光彈投擲=0}]?~~~ scoreboard players set @s?閃光彈投擲?1


scoreboard players add @e?[type=armor_stand,name=閃光彈]?閃光彈投擲?1


execute @e?[type=armor_stand,name=閃光彈,scores={閃光彈投擲=1}]?~~-50~ execute @e?[type=snowball,tag=閃光彈,r=2,c=1]?~~50~ scoreboard players set @e?[type=armor_stand,name=閃光彈,r=2,c=1,scores={閃光彈投擲=1}]?閃光彈投擲?0


execute @e?[type=armor_stand,name=閃光彈,scores={閃光彈投擲=0}]?~~-50~ execute @e?[type=snowball,tag=閃光彈,r=2,c=1]?~~50~ tp @e?[type=armor_stand,name=閃光彈,scores={閃光彈投擲=0},r=2,c=1]?~~~


[閃光彈的效果]


execute @e?[type=armor_stand,name=閃光彈,scores={閃光彈投擲=1..}]?~~~ tp @s ~~~~25


execute @e?[type=armor_stand,name=閃光彈,scores={閃光彈投擲=2..}]?~~-50~ particle minecraft:totem_particle ^^^1


execute @e?[type=armor_stand,name=閃光彈,scores={閃光彈投擲=1..3}]?~~-50~ particle minecraft:huge_explosion_lab_misc_emitter ~~~


execute @e?[type=armor_stand,name=閃光彈,scores={閃光彈投擲=0..}]?~~~ effect @s invisibility 1 0 true


execute @e[type=armor_stand,name=閃光彈,scores={閃光彈投擲=1..3}]?~~-50~ playsound mob.enderdragon.growl @a[r=35]?~~~ 1 15 1?


execute @e[type=armor_stand,name=閃光彈,scores={閃光彈投擲=1..3}]?~~-50~ effect @e?[r=2.5]blindness 5 1 true


execute @e[type=armor_stand,name=閃光彈,scores={閃光彈投擲=1..3}]?~~-50~ effect @e?[r=2.5]nausea 5 1 true


execute @e[type=armor_stand,name=閃光彈,scores={閃光彈投擲=1..3}]?~~-50~ effect @e?[r=2.5]slowness 5 1 true



{注意這里的100..是保留的時(shí)間}


kill @e?[type=armor_stand,name=閃光彈,scores={閃光彈投擲=50..}]





<第五部分>


[創(chuàng)建記分板]??


/scoreboard objectives add?手榴彈投擲?dummy


/scoreboard objectives add?手榴倒計(jì)時(shí)?dummy


[手榴彈的投擲]


scoreboard players add @e?手榴彈投擲?0


execute @e?[type=snowball,tag=手榴彈,tag=已檢測(cè)類別,scores={手榴彈投擲=0}]?~~~ summon armor_stand?手榴彈?~~50~


execute @e?[type=snowball,tag=手榴彈,tag=已檢測(cè)類別,scores={手榴彈投擲=0}]?~~~ scoreboard players set @s?手榴彈投擲?1


scoreboard players add @e?[type=armor_stand,name=手榴彈]?手榴彈投擲?1


scoreboard players add @e?[type=armor_stand,name=手榴彈]?手榴倒計(jì)時(shí)?1


execute @e?[type=armor_stand,name=手榴彈,scores={手榴彈投擲=1}]?~~-50~ execute @e?[type=snowball,tag=手榴彈,r=2,c=1]?~~50~ scoreboard players set @e?[type=armor_stand,name=手榴彈,r=2,c=1,scores={手榴彈投擲=1}]?手榴彈投擲?0


execute @e?[type=armor_stand,name=手榴彈,scores={手榴彈投擲=0}]?~~-50~ execute @e?[type=snowball,tag=手榴彈,r=2,c=1]?~~50~ tp @e?[type=armor_stand,name=手榴彈,scores={手榴彈投擲=0},r=2,c=1]?~~~


[手榴彈的效果]


execute @e?[type=armor_stand,name=手榴彈,scores={手榴彈投擲=1..}]?~~~ detect ~~-50~ air 0 tp @s ~~-0.3~


execute @e?[type=armor_stand,name=手榴彈,scores={手榴彈投擲=1..}]?~~~ tp @s @s


execute @e?[type=armor_stand,name=手榴彈,scores={手榴彈投擲=2..}]?~~-49.7~ particle minecraft:balloon_gas_particle ~~~


execute @e?[type=armor_stand,name=手榴彈,scores={手榴倒計(jì)時(shí)=50..}]?~~-50~ particle minecraft:huge_explosion_lab_misc_emitter ~~~


execute @e?[type=armor_stand,name=手榴彈,scores={手榴彈投擲=0..}]?~~~ effect @s invisibility 1 0 true


execute @e[type=armor_stand,name=手榴彈,scores={手榴倒計(jì)時(shí)=50..}]?~~-50~ playsound random.explode @a?[r=60]?~~~ 100 1 100


execute @e[type=armor_stand,name=手榴彈,scores={手榴倒計(jì)時(shí)=50..}]?~~-50~ damage @e?[r=3]25 fire_tick entity @s


execute @e[type=armor_stand,name=手榴彈,scores={手榴倒計(jì)時(shí)=50..}]?~~-50~ damage @e[r=5]15 fire_tick entity @s


execute @e[type=armor_stand,name=手榴彈,scores={手榴倒計(jì)時(shí)=50..}]?~~-50~ effect @e?[r=6]slowness 3 3 true


execute @e[type=armor_stand,name=手榴彈,scores={手榴倒計(jì)時(shí)=50..}]?~~-50~ effect @e?[r=3]wither 3 1 true


execute @e[type=armor_stand,name=手榴彈,scores={手榴倒計(jì)時(shí)=50..}]?~~-50~ camerashake add @a?[r=3]?2 1


execute @e[type=armor_stand,name=手榴彈,scores={手榴倒計(jì)時(shí)=50..}]?~~-50~ camerashake add @a?[r=7]?1 0.5



kill @e?[type=armor_stand,name=手榴彈,scores={手榴倒計(jì)時(shí)=50..}]


<第六部分>


[創(chuàng)建記分板]??


/scoreboard objectives add?煙霧彈投擲?dummy


[煙霧彈的投擲]


scoreboard players add @e?煙霧彈投擲?0


execute @e?[type=snowball,tag=煙霧彈,tag=已檢測(cè)類別,scores={煙霧彈投擲=0}]?~~~ summon armor_stand?煙霧彈?~~50~


execute @e?[type=snowball,tag=煙霧彈,tag=已檢測(cè)類別,scores={煙霧彈投擲=0}]?~~~ scoreboard players set @s?煙霧彈投擲?1


scoreboard players add @e?[type=armor_stand,name=煙霧彈]?煙霧彈投擲?1


execute @e?[type=armor_stand,name=煙霧彈,scores={煙霧彈投擲=1}]?~~-50~ execute @e?[type=snowball,tag=煙霧彈,r=2,c=1]?~~50~ scoreboard players set @e?[type=armor_stand,name=煙霧彈,r=2,c=1,scores={煙霧彈投擲=1}]?煙霧彈投擲?0


execute @e?[type=armor_stand,name=煙霧彈,scores={煙霧彈投擲=0}]?~~-50~ execute @e?[type=snowball,tag=煙霧彈,r=2,c=1]?~~50~ tp @e?[type=armor_stand,name=煙霧彈,scores={煙霧彈投擲=0},r=2,c=1]?~~~


[煙霧彈的效果]


execute @e?[type=armor_stand,name=煙霧彈,scores={煙霧彈投擲=1..}]?~~~ tp @s ~~~~25


execute @e?[type=armor_stand,name=煙霧彈,scores={煙霧彈投擲=20..}]?~~-50~ particle minecraft:knockback_roar_particle ^^^1.6


execute @e?[type=armor_stand,name=煙霧彈,scores={煙霧彈投擲=20..}]?~~-50~ particle minecraft:knockback_roar_particle ^^^-1.6


execute @e?[type=armor_stand,name=煙霧彈,scores={煙霧彈投擲=20..}]?~~-50~ particle minecraft:knockback_roar_particle ^^^


execute @e?[type=armor_stand,name=煙霧彈,scores={煙霧彈投擲=1..20}]?~~-50~ particle minecraft:misc_fire_vapor_particle ~~~


execute @e?[type=armor_stand,name=煙霧彈,scores={煙霧彈投擲=0..}]?~~~ effect @s invisibility 1 0 true


execute @e[type=armor_stand,name=煙霧彈,scores={煙霧彈投擲=20..}]?~~-50~ playsound ambient.weather.thunder @a[r=40]?~~ 100 5 100


{注意這里的100..是保留的時(shí)間}


kill @e?[type=armor_stand,name=煙霧彈,scores={煙霧彈投擲=160..}]








我的世界手雷,燃燒瓶,煙霧彈,閃光彈投擲物指令的評(píng)論 (共 條)

分享到微博請(qǐng)遵守國(guó)家法律
徐闻县| 抚宁县| 水富县| 成安县| 康马县| 任丘市| 永城市| 吉安市| 平阴县| 龙胜| 凤阳县| 上栗县| 锦州市| 新巴尔虎右旗| 山阴县| 壤塘县| 股票| 陈巴尔虎旗| 通海县| 汉沽区| 淄博市| 温泉县| 宝坻区| 张家界市| 聂拉木县| 武平县| 金阳县| 长岛县| 西昌市| 麦盖提县| 舒城县| 车险| 汤阴县| 日喀则市| 丹东市| 靖边县| 双牌县| 遂平县| 宣城市| 凌海市| 福州市|