您的位置:>我的世界>资讯资讯>

Minecraft《我的世界》如何在原版制作可控原子弹?

开始吐槽

Hello~大家好,

今天呢,给大家带来(我想标题和背景已经暴露了)<原版yuan子弹>

废话不多说,先放命令

这是命令方块的排列图

我们把命令方块分一下类,这样比较分别大家分辨清楚(x代表原[因为和谐太严重了])

首先我们来最主要的第一大类命令方块

我们先输入

/scoreboard objectives add 1 dummy

/scoreboard objectives add x子弹 stat.useItem.minecraft.spawn_egg

这两条指令,这两条指令是创建两个计分板

然后,我们按照图中命令方块的摆设,输入命令

①/testfor @a[score_x子弹_min=1] (始终开启)

②/scoreboard players reset @A x子弹

④/clear @P minecraft:spawn_egg 0 1 {Unbreakable:1}

③/summon minecraft:armor_stand ~ ~10 ~ {CustomName:x子弹}

⑩/tp @e[type=armor_stand,name=x子弹] @p

⑤/playsound minecraft:block.tripwire.attach ambient @p ~ ~ ~ 1000 2 1

⑥⑦⑧⑨可以不用按照顺序

⑥/summon Creeper ~ ~30 ~ {NoAI:1,ExplosionRadius:127,Fuse:1020,ignited:1,powered:0,CustomName:x子弹}

⑦/summon Creeper ~ ~30 ~ {NoAI:1,ExplosionRadius:127,Fuse:1000,ignited:1,powered:0,CustomName:x子弹,Silent:1}

⑧/summon Creeper ~ ~30 ~ {NoAI:1,ExplosionRadius:127,Fuse:1070,ignited:1,powered:0,CustomName:x子弹}

⑨/summon Creeper ~ ~30 ~ {NoAI:1,ExplosionRadius:127,Fuse:1100,ignited:1,powered:0,CustomName:x子弹,Silent:1}

这三个也不用按照顺序,但是要用循环红石电路(还有中继器的档数)

/scoreboard players set @a 1 1

/replaceitem entity @e[type=armor_stand,name=x子弹] slot.armor.head minecraft:tnt 1 0 {ench:[{id:51,lvl:100}]}

/replaceitem entity @e[type=armor_stand,name=x子弹] slot.armor.head minecraft:tnt

1:/kill @e[type=armor_stand,name=x子弹]

2:/scoreboard players set @a 1 0

3:/testfor @a[score_1_min=1] (始终开启)

4:/testfor @e[type=Creeper,name=x子弹] (始终开启)

最后这一堆循环都是始终开启,就随便输吧

/tp @e[type=Creeper,name=x子弹] @e[type=armor_stand,name=x子弹]

/effect @e[type=Creeper,name=x子弹] minecraft:invisibility 1 255

/effect @e[type=Creeper,name=x子弹] minecraft:resistance 1 255

/entitydata @e[type=armor_stand,name=x子弹] {NoAI:1,Invisible:1,DisabledSlots:2039583,Invulnerable:1,Silent:1}

然后这条是给予yuan子弹

/give @p minecraft:spawn_egg 1 0 {ench:[{id:51,lvl:1}],Unbreakable:1,display:{Name:"x子弹",color:15756483,Lore:["由“两蛋”元勋萌萌哒花猫研发的新式x子弹"]}}

最后呢,给大家放出效果图

这是爆炸范围

对了,和大家说明一下,放置yuan子弹后,会有大约50秒的准备时间,如果不小心触发了,可以通过

/kill @e[type=Creeper,name=x子弹]这条命令取消爆破

好了,今天的教程就到这里,有什么问题可以在下面留言哦~(不要在自己家使用(≡→ω→≡)

随便看看