我的世界指令
/execute @e[type=zombie name=]~~~tp @s ^^^1 execute @e[type=snowball]~~~tp @e[type=snowball]^^^1 facing @e【type=player,tag=!KB,c=1】? damage @e【hasitem={item=netherite_helmet,quantity=0,?locatio?n=slot.armor.head}】 0 suicide entity @p【rm=0.1】 replaceitem entity @e slot.armor.head 0 keep netherite_helmet 1 3000? /gamerule commandblockoutput false? execute @e[type=snowball] ~ ~ ~ tp ^ ^ ^1 facing @a[r=50,tag=KB] 神器獲取指令 execute @e [name=§e意大利泡] ~~~ scoreboard players set @p [r=2,scores={skill=0,player=1}] skill 15 execute @a [scores={skill=15}] ~~~ say §b獲得神器 §e意大利泡 title @a title §f kill @e[name=§e意大利泡] title @a subtitle §1@p[scores={skill=15}] §b獲得神器 §e意大利泡 /replaceitem entity @a[scores={player=1,skill=15}] slot.hotbar 6 fishing_rod give @a[scores={player=1,skill=114}]snowball 32 §e [置頂]指令樓搬 1.execute @e【type=snowball,tag=!t】 ~~~ summon armor_stand hole ~~0.5~ 2.tag @e【type=snowball】 add t 3.execute @e【type=snowball】 ~~0.5~ tp @e【name=hole】 ~~~ 4.execute @e【type=snowball】 ~~0.5~ tag @e【name=hole,c=1】 add t 5.execute @e【name=hole,tag=!t】 ~~~ execute @e【r=10,name=!hole】 ~~~ tp ^0.3^^0.3 facing @e【name=hole,c=1】 6.scoreboard players add @e【name=hole,tag=!t】 t 1 7.execute @e【name=hole,tag=!t,scores={t=40}】 ~~~ summon ender_crystal ~~~ minecraft:crystal_explode 8.tag @e【name=hole】 remove t 9.effect @e【name=hole】 invisibility 1 1 true 這是核心的9條指令,粒子效果根據個人喜好添加 粒子效果示例 1.execute @e【name=hole,tag=!t,tag=!tt】 ~~~ structure load bomb ~-10~~-10 0_degrees none true false 2.tag @e【name=hole,tag=!t】 add tt 3.execute @e【name=par】 ~~~ particle minecraft:basic_flame_particle ~~0.5~ 塞在前面第八條指令后,structure中保存的是以半徑為10的圓形均勻分布的8個名字為par的盔甲架,需要提前手動設置 ? 魚竿槍:(搬至額,我也不知道那個人是誰啊,總之他的頭像是植物大戰(zhàn)僵尸) 第一部分 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 execute @e【type=arrow】~~~tp @e【type=arrow】^^^1 facing @e【type=a,c=1】?