【mc指令】原版純指令滑鏟,槍戰(zhàn)地圖必備,撞擊敵人有傷害!
2023-01-10 22:41 作者:不務(wù)正業(yè)的up鴿 | 我要投稿

指令樓
獲得命令方塊/give @s command_block
使用前需要聊天欄輸入/scoreboard objectives add?滑鏟 dummy
蹲下可以將命令方塊連起來
滑鏟指令
【主體】
execute @e?[type=ender_pearl]?~~~ tag @p add?滑鏟
execute @a?[tag=滑鏟]?~~~ detect ~~~ air 0 tp @s ^^^0.6
scoreboard players add @a?[tag=滑鏟]?滑鏟?1
scoreboard players set @a?[scores={滑鏟=11..}]?滑鏟?0
tag @a?[scores={滑鏟=10..}]?remove?滑鏟
execute @a?[tag=滑鏟]?~~-1~ detect ~~~ air 0 tp @s ~~-0.4~
execute @a?[tag=滑鏟]?~~~ damage @e?[r=1.5,rm=0.1]?5 fly_into_wall entity @s
execute @a?[tag=滑鏟]?~~~ particle minecraft:explosion_particle?
playanimation @a?[tag=滑鏟]?animation.player.sleeping move 1
/kill @e?[type=ender_pearl]?
【防卡墻】
tag @a?[tag=滑鏟]?add?空氣
execute @e?[tag=滑鏟]?~~~ detect ~~~ air 0 tag @s reovme?空氣
?
/execute @e?[tag=空氣]?~~~ tp @s ~~0.5~
tag @e remove?空氣
丟魔影珍珠使用
標(biāo)簽: