我的世界指令教程——生化危機
魚竿槍:
第一部分
execute @e?[type=fishing_hook]?~~~ clear @a?[r=2]?iron_ingot 0 1
execute @e?[type=fishing_hook]?~~100~ summon boat
execute @e?[type=fishing_hook]?~~~ execute @p ~~100~ tp @e?[type=boat,c=1]?^^^0.1 facing ~~~
execute @e?[type=fishing_hook]?~~~ playsound mob.zombie.woodbreak @a?[r=100]?~~~ 100 1 100
kill @e?[type=fishing_hook]
execute @e [type=fishing_hook] ~~~ kill @e [r=2!type=item]
第二部分
execute @e?[type=boat]??~~-99~ particle minecraft:blue_flame_particle ~~~
第三部分
execute @e?[type=boat]?~~~ tp @s ^^^-2
execute @e?[type=boat]?~~-100~ kill @e?[type=!player,r=1.5]
execute @e?[type=!boat]?~~-100~ kill @e?[type=boat,r=1]
execute @a ~~~ tp @e?[type=fishing_hook]?the @a?[c=1]
execute @e?[type=!boat]?~~100~ kill @e?[type=boat,r=1]
燃燒瓶
execute @e[type=minecraft:xp_bottle]?~ ~ ~ fill ~-1 ~ ~-1 ~1 ~ ~1 fire 0
gamerule dofiretick true
gamerule randomtickspeed 4
gamerule commandblockoutput false
execute @e[type=minecraft:xp_bottle]?~ ~ ~ kill @e[type=minecraft:xp_orb,r=3]
繃帶
/tag @r add?醫(yī)療包?循環(huán)
/clear @a?[tag=醫(yī)療包]?map
/effect @a?[tag=醫(yī)療包]?instant_health 1 0有條件
tag @a?[tag=醫(yī)療包]?remove?醫(yī)療包
雪球冰凍彈
execute @e?[type=snowball]?~~~ effect @e?[r=2,type=!player]?wither 2 255 true
execute @e?[type=snowball]??~~~ particle minecraft:critical_hit_emitter??~~~
execute @e?[type=snowball]?~~~ effect @e?[r=2,type=!player]?slowness 3 5 true
execute @e?[type= snowball]?~~~ playsound mob.zombie.woodbreak @a?[r=60]?~~~ 1 1.5
僵尸搭路/execute @e?[type=zombie,rx=-45]??~ ~ ~ tp @s ~ ~1 ~
? ? ? ? ? ? ? ??/execute @e?[type=zombie,rx=-45]?~ ~ ~ detect ~ ~-1 ~ air 0 setblock ~ ~-1 ~ dirt 0
僵尸破壞/ execute?@e?[type=zombie]?~ ~ ~ setblock ^^1^1 air 0 destroy