最MC论坛

标题: 【秘籍】1.7新增指令整理 [打印本页]

作者: stwflyman    时间: 2016-4-14 07:48
标题: 【秘籍】1.7新增指令整理
本帖最后由 叫我赖天王 于 2016-6-24 14:18 编辑

大家應該知
13w36B已經釋出

所以讓我整理一下新的指令吧

指令方塊更新,scoreboard objective能偵測更多東西,增加/summon指令


今次的主題,就是/summon


到底summon可以做到什麼呢?


以下是可以summon的東西



你沒看錯,終界水晶,巨人,即爆tnt,只要你想的到都基本上能spawn



然後,先貼上我用了全日整理出來比較有用的指令

穿上裝備的怪物
/summon Skeleton ~ ~ ~ {Equipment:[{id:276},{id:313},{id:312},{id:311},{id:310}]}
   由左到右{id:xxx},分別是手,頭,胸,腿,腳。


騎乘的怪物
/summon Cow ~ ~ ~ {Riding:{id:"Cow"}}

也可以騎更多
/summon Cow ~ ~ ~ {Riding:{id:"Cow",Riding:{id:"Cow",Riding:{id:"Cow",Riding:{id:"Cow"}}}}}



令召喚怪物會拾取
/summon Skeleton ~ ~ ~ {CanPickUpLoot:1}


怪物改名
/summon Skeleton ~ ~ ~ {CustomName:Skeleton}


自定義的苦力怕
/summon Creeper ~ ~ ~ {Fuse:10,ExplosionRadius:100,powered:0}
經修改後的苦力怕爆炸痕跡
修改ExplosionRadius改變爆炸範圍,fuse改變引爆時間,powered決定是否高壓


自定義地獄幽靈
/summon Ghast ~ ~ ~ {ExplosionPower:10}
經修改後的地獄幽靈火球轟炸


史萊姆設定
/summon Slime ~ ~ ~ {Size:1}

修改後的slime,小心,改得太大會lag


生出方塊
/summon FallingSand ~ ~ ~ {TileID:1,Time:1}


用fallingsand修改成石頭



在command block裡輸入召喚fallingsand指令,可生出建築物


/summon PrimedTnt

可召喚出即爆的tnt 如果想加引爆時間就加{Fuse:xx}
加入解謎地圖令人避無可避




另外,物品指令也有不錯的更新
物品
/give @p 276 1 0 {display:{Name:"神偷360",Lore:["被我斬死?","留下一組腐肉吧"]},ench:[{id:21,lvl:360}]}

用修改後的劍殺死彊屍
現在用指令可以拿到修改後的物品了!


(第二次整理)
追加功能:直接遊戲內修改村民交易內容
/summon Villager ~ ~ ~ {Offers:{Recipes:[{buy:{id:265,Count:1},sell:{id:310,Count:1},maxUses:999,uses:1}]}}
  

修改buy裡面的ID以修改付出,修改sell裡面的ID以修改收入
修改maxUses修改可交易次數,修改count更改所需的數量。


也可以出售/收購改過的物品,例子:
/summon Villager ~ ~ ~ {Offers:{Recipes:[{buy:{id:265,Count:1},sell:{id:276,tag:{display:{Name:"神偷360",Lore:["被我斬死?","留下一組腐肉吧."]},ench:[{id:21,lvl:360}],Count:1}},maxUses:999,uses:1}]}}


要村民無敵的話加上{Invulnerable:1}



方塊取代:
需要兩個command block及一個中繼器
A指令:/summon FallingSand x y z {TileID:2,Time:1,DropItem:0}
B指令:/summon FallingSand x y z {TileID:1,Time:0,DropItem:0}
殘風之語:Motion:[0.0,0.1,0.0] 取代方塊的第一個要加這個,不然沒有用
感謝殘風大大的補充,我忘了加上motion!


發射方塊:
/summon FallingSand ~ ~ ~ {TileID:1,Time:1,Motion:[1.0,0.0,0.0]}


發射火球:
/summon Fireball ~ ~3 ~ {ExplosionPower:0,direction:[1.0,0.0,0.0]}


礦車上的方塊:
/summon MinecartRideable ~ ~ ~ {CustomDisplayTile:2,DisplayTile:35,DisplayData:5,DisplayOffset:16}


自定義頭:
/give @p 397 1 3 {SkullOwner:minihilly}


自己的兄弟!
/summon Zombie ~ ~ ~ {Equipment:[{id:},{id:},{id:},{id:},{id:397,Damage:3,tag:{SkullOwner:"uid"}}]}


製作自己的藥水:
/give @p 373 1 8120 {CustomPotionEffects:[{Id:10,Amplifier:5,Duration:2000}]}


tnt炮:
/summon PrimedTnt ~ ~ ~ {Motion:[2.0,0.3,0.0],Fuse:50}



作者: MC-Eailotv    时间: 2016-4-14 16:43
6666666不错,很有用啊,给个赞,只不过标题错了【密技】=【秘籍】 请修改一下~
作者: 天辰之夕    时间: 2016-6-23 15:59
楼主大大,请问一下,怎么让自定义村民用两个物品交换一个有两个甚至三个附魔属性的钻石剑?感激不敬~
作者: 派达星    时间: 2016-7-14 13:32
原来可以手输 我却一直用来在命令方块在使用
作者: 七!    时间: 2016-7-14 14:00
666这些指令对服务器很有用




欢迎光临 最MC论坛 (http://www.zuimc.com/) Powered by Discuz! X3.2