【我的世界】手把手教你做指令枪战(包含鱼竿枪,药品和配套指令)

指令楼
可pvp可子弹系统鱼竿枪
一些道具可以看我以前的视频,比如燃烧瓶,以后会出更多可pvp武器
鱼竿枪已失效,新版本鱼竿枪BV11P4y1C7Cw
聊天框输入/scoreboard objectives add distance dummy
第一部分
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
tp @e [type=fishing_hook] ~~-100~
kill @e [type=fishing_hook]
第二部分
/execute @e [type=boat] ~~-99~ particle minecraft:blue_flame_particle ~~~
第三部分
/execute @e [type=boat] ~~~ tp @s ^^^-2
execute @e [type=boat] ~~-99~ kill @e [type=!player,r=1]
/scoreboard players add @e [type=boat] distance 1
/kill @e [scores={distance=30..]}
/execute @e [type=boat] ~~-99~ effect @e [type=player,r=1] instant_damage 1 0
绷带
/tag @r add 医疗包
/clear @a [tag=医疗包] map
/effect @a [tag=医疗包] instant_health 1 0
tag @a [tag=医疗包] remove 医疗包
快速编辑器
execute @e [type=zombie,name=地面] ~ ~-1 ~ structure load 地面 ~ ~ ~
要提前用结构方块保存名为“地面”的结构
箱子
/clone 原坐标 原坐标 ~~1~