〈nx树鱼竿枪〉
(无防穿墙)
一个循无保,其他连无保
execute as @e[type=fishing_hook] at @s run tag @p[r=3] add 开火
execute as @a[tag=开火] at @s run summon armor_stand a ^^^3
execute as @e[name=a] at @s run tp ~~~ facing @p[tag=开火,c=1]
execute as @e[name=a] run tag @s add a
execute as @e[tag=开火] run tag @s add a

execute as @e[tag=开火] at @s positioned ^^^9 rotated as @e[tag=a] positioned ^^^0.5 rotated as @e[tag=a] positioned ^^^1 rotated as @e[tag=a] positioned ^^^2 rotated as @e[tag=a] positioned ^^^3 run particle minecraft:balloon_gas_particle ~~1.6~
execute as @e[tag=开火] at @s positioned ^^1.6^9 rotated as @e[tag=a] positioned ^^^0.5 rotated as @e[tag=a] positioned ^^^1 rotated as @e[tag=a] positioned ^^^2 rotated as @e[tag=a] positioned ^^^3 run damage
@e[r=1.3,type=!armor_stand,type=!npc,type=!item] 5 override
tag @a remove 开火
tag @a remove a
kill @e[name=a]
kill @e[type=fishing_hook]
(红色的5是伤害)
免责声明:本文系网络转载或改编,未找到原创作者,版权归原作者所有。如涉及版权,请联系删