MC七龙珠召唤指令介绍

大家好,下面是小编给大家分享的我的世界未央城简单的指令实现七龙珠召唤系统,希望能帮到大家!u=2625463361,24632207&fm=27&gp=0

 

在这里给大家附上一些所使用的代码

坐标是可以替换的~如果也想做一个这样的东西的话~~

---------------------------------------------------------------

第一个,先把七个龙珠的代码放上来。

---------------------------------------------------------------

给予指令,获得七颗龙珠的。

/give @p[x=461,y=80,z=547,r=2] minecraft:fire_charge 1 0 {display:{Name:"龙珠",Lore:["一星龙珠",]}}

/give @p[x=461,y=80,z=547,r=2] minecraft:fire_charge 1 0 {display:{Name:"龙珠",Lore:["二星龙珠",]}}

/give @p[x=461,y=80,z=547,r=2] minecraft:fire_charge 1 0 {display:{Name:"龙珠",Lore:["三星龙珠",]}}

/give @p[x=461,y=80,z=547,r=2] minecraft:fire_charge 1 0 {display:{Name:"龙珠",Lore:["四星龙珠",]}}

/give @p[x=461,y=80,z=547,r=2] minecraft:fire_charge 1 0 {display:{Name:"龙珠",Lore:["五星龙珠",]}}

/give @p[x=461,y=80,z=547,r=2] minecraft:fire_charge 1 0 {display:{Name:"龙珠",Lore:["六星龙珠",]}}

/give @p[x=461,y=80,z=547,r=2] minecraft:fire_charge 1 0 {display:{Name:"龙珠",Lore:["七星龙珠",]}}

---------------------------------------------------------------

删除指令删除龙珠的

/clear @p[x=-51,y=61,z=0,r=6] minecraft:fire_charge 0 1 {display:{Lore:["一星龙珠",]}}

/clear @p[x=-51,y=61,z=0,r=6] minecraft:fire_charge 0 1 {display:{Lore:["二星龙珠",]}}

/clear @p[x=-51,y=61,z=0,r=6] minecraft:fire_charge 0 1 {display:{Lore:["三星龙珠",]}}

/clear @p[x=-51,y=61,z=0,r=6] minecraft:fire_charge 0 1 {display:{Lore:["四星龙珠",]}}

/clear @p[x=-51,y=61,z=0,r=6] minecraft:fire_charge 0 1 {display:{Lore:["五星龙珠",]}}

/clear @p[x=-51,y=61,z=0,r=6] minecraft:fire_charge 0 1 {display:{Lore:["六星龙珠",]}}

/clear @p[x=-51,y=61,z=0,r=6] minecraft:fire_charge 0 1 {display:{Lore:["七星龙珠",]}}

---------------------------------------------------------------

这个是召唤雷电的~可以在神龙出来的时候点缀一下

/summon Lightning_Bolt -39 57 -3

/summon Lightning_Bolt -39 57 3

/summon Lightning_Bolt -48 57 12

/summon Lightning_Bolt -54 57 12

/summon Lightning_Bolt -63 57 3

/summon Lightning_Bolt -63 57 -3

/summon Lightning_Bolt -54 57 -12

/summon Lightning_Bolt -48 57 -12

---------------------------------------------------------------

【一星龙珠所需材料】

苹果 面包 熟猪排 曲奇 大西瓜 牛排 熟鸡肉 烤马铃薯 南瓜派 熟鸡肉 熟羊肉 甜菜根

---------------------------------------------------------------

检测背包内所有需要的物品指令

/testfor @p[x=461,y=80,z=547,r=2] {Inventory:[{id:"minecraft:pumpkin_pie",Count:64b},{id:"minecraft:melon_block",Count:64b},{id:"minecraft:bread",Count:64b},

{id:"minecraft:baked_potato",Count:64b},{id:"minecraft:beetroot",Count:64b},{id:"minecraft:apple",Count:64b},{id:"minecraft:cookie",Count:64b},

{id:"minecraft:cooked_chicken",Count:64b},{id:"minecraft:cooked_rabbit",Count:64b},{id:"minecraft:cooked_beef",Count:64b},{id:"minecraft:cooked_mutton",Count:64b},

{id:"minecraft:cooked_porkchop",Count:64b}]}

---------------------------------------------------------------

清除一星龙珠所有物品指令

/clear @p[x=461,y=80,z=547,r=2] pumpkin_pie 0 64

/clear @p[x=461,y=80,z=547,r=2] melon_block 0 64

/clear @p[x=461,y=80,z=547,r=2] bread 0 64

/clear @p[x=461,y=80,z=547,r=2] baked_potato 0 64

/clear @p[x=461,y=80,z=547,r=2] beetroot 0 64

/clear @p[x=461,y=80,z=547,r=2] apple 0 64

/clear @p[x=461,y=80,z=547,r=2] cookie 0 64

/clear @p[x=461,y=80,z=547,r=2] cooked_chicken 0 64

/clear @p[x=461,y=80,z=547,r=2] cooked_rabbit 0 64

/clear @p[x=461,y=80,z=547,r=2] cooked_beef 0 64

/clear @p[x=461,y=80,z=547,r=2] cooked_mutton 0 64

/clear @p[x=461,y=80,z=547,r=2] cooked_porkchop 0 64

---------------------------------------------------------------

给予一星龙珠

/give @p[x=461,y=80,z=547,r=2] minecraft:fire_charge 1 0 {display:{Name:"龙珠",Lore:["一星龙珠",]}}

---------------------------------------------------------------

通告:获得一星龙珠(这里我设置的是所有人显示只需要附近的人知道改成@p 或者@p[x,y.z]带坐标就好了)

/tellraw @a {"text":"恭喜获得一星龙珠","color":"gold"}

---------------------------------------------------------------

【二星龙珠所需材料】

石砖 草方块 黑曜石 地狱疣块 红石块

---------------------------------------------------------------

检测指令

/testfor @p[x=461,y=80,z=546,r=2] {Inventory:[{id:"minecraft:stonebrick",Count:64b},{id:"minecraft:grass",Count:64b},{id:"minecraft:obsidian",Count:64b},

{id:"minecraft:nether_wart_block",Count:64b},{id:"minecraft:redstone_block",Count:64b}]}

---------------------------------------------------------------

删除

/clear @p[x=461,y=80,z=546,r=2] stonebrick 0 64

/clear @p[x=461,y=80,z=546,r=2] grass 0 64

/clear @p[x=461,y=80,z=546,r=2] obsidian 0 64

/clear @p[x=461,y=80,z=546,r=2] nether_wart_block 0 64

/clear @p[x=461,y=80,z=546,r=2] redstone_block 0 64

---------------------------------------------------------------

给二星龙珠

/give @p[x=461,y=80,z=546,r=2] minecraft:fire_charge 1 0 {display:{Name:"龙珠",Lore:["二星龙珠",]}}

---------------------------------------------------------------

通告

/tellraw @a {"text":"恭喜获得二星龙珠","color":"gold"}

---------------------------------------------------------------

【三星龙珠所需材料】

铁块 金块 钻石块 绿宝石块 青金石块 煤炭块

---------------------------------------------------------------

检测

/testfor @p[x=461,y=80,z=545,r=2] {Inventory:[{id:"minecraft:iron_block",Count:64b},{id:"minecraft:gold_block",Count:64b},{id:"minecraft:diamond_block",Count:64b},

{id:"minecraft:emerald_block",Count:64b},{id:"minecraft:lapis_block",Count:64b},{id:"minecraft:coal_block",Count:64b}]}

---------------------------------------------------------------

删除

/clear @p[x=461,y=80,z=545,r=2] iron_block 0 64

/clear @p[x=461,y=80,z=545,r=2] gold_block 0 64

/clear @p[x=461,y=80,z=545,r=2] diamond_block 0 64

/clear @p[x=461,y=80,z=545,r=2] emerald_block 0 64

/clear @p[x=461,y=80,z=545,r=2] lapis_block 0 64

/clear @p[x=461,y=80,z=545,r=2] coal_block 0 64

---------------------------------------------------------------

给三星龙珠

/give @p[x=461,y=80,z=545,r=2] minecraft:fire_charge 1 0 {display:{Name:"龙珠",Lore:["三星龙珠",]}}

---------------------------------------------------------------

通告

/tellraw @a {"text":"恭喜获得三星龙珠","color":"gold"}

---------------------------------------------------------------

【四星龙珠所需材料】

熔炉 仙人掌 书架 萤石灯 干草块 墨囊 下界之星

---------------------------------------------------------------

检测

/testfor @p[x=461,y=80,z=544,r=2] {Inventory:[{id:"minecraft:furnace",Count:64b},{id:"minecraft:cactus",Count:64b},{id:"minecraft:bookshelf",Count:64b},

{id:"minecraft:glowstone",Count:64b},{id:"minecraft:hay_block",Count:64b},{id:"minecraft:dye",Count:64b},{id:"minecraft:nether_star",Count:64b}]}

---------------------------------------------------------------

删除

/clear @p[x=461,y=80,z=544,r=2] furnace 0 64

/clear @p[x=461,y=80,z=544,r=2] cactus 0 64

/clear @p[x=461,y=80,z=544,r=2] bookshelf 0 64

/clear @p[x=461,y=80,z=544,r=2] glowstone 0 64

/clear @p[x=461,y=80,z=544,r=2] hay_block 0 64

/clear @p[x=461,y=80,z=544,r=2] dye 0 64

/clear @p[x=461,y=80,z=544,r=2] nether_star 0 64

---------------------------------------------------------------

给四星龙珠

/give @p[x=461,y=80,z=544,r=2] minecraft:fire_charge 1 0 {display:{Name:"龙珠",Lore:["四星龙珠",]}}

---------------------------------------------------------------

给四星龙珠

/tellraw @a {"text":"恭喜获得四星龙珠","color":"gold"}

---------------------------------------------------------------

【五星龙珠所需材料】

发射器 粘性活塞 活塞 漏斗 投掷器 侦测器 中继器 比较器

---------------------------------------------------------------

检测

/testfor @p[x=461,y=80,z=543,r=2] {Inventory:[{id:"minecraft:dispenser",Count:64b},{id:"minecraft:sticky_piston",Count:64b},{id:"minecraft:piston",Count:64b},

{id:"minecraft:hopper",Count:64b},{id:"minecraft:dropper",Count:64b},{id:"minecraft:observer",Count:64b},{id:"minecraft:repeater",Count:64b},

{id:"minecraft:comparator",Count:64b}]}

---------------------------------------------------------------

删除

/clear @p[x=461,y=80,z=543,r=2] dispenser 0 64

/clear @p[x=461,y=80,z=543,r=2] sticky_piston 0 64

/clear @p[x=461,y=80,z=543,r=2] piston 0 64

/clear @p[x=461,y=80,z=543,r=2] hopper 0 64

/clear @p[x=461,y=80,z=543,r=2] dropper 0 64

/clear @p[x=461,y=80,z=543,r=2] observer 0 64

/clear @p[x=461,y=80,z=543,r=2] repeater 0 64

/clear @p[x=461,y=80,z=543,r=2] comparator 0 64

---------------------------------------------------------------

给五星龙珠

/give @p[x=461,y=80,z=543,r=2] minecraft:fire_charge 1 0 {display:{Name:"龙珠",Lore:["五星龙珠",]}}

---------------------------------------------------------------

通告

/tellraw @a {"text":"恭喜获得五星龙珠","color":"gold"}

---------------------------------------------------------------

【六星龙珠所需材料】

藤蔓 紫颂花 阳光传感器 陷阱箱 拌线钩 红石火把 活板门

---------------------------------------------------------------

检测

/testfor @p[x=461,y=80,z=542,r=2] {Inventory:[{id:"minecraft:vine",Count:64b},{id:"minecraft:chorus_flower",Count:64b},{id:"minecraft:daylight_detector",Count:64b},

{id:"minecraft:trapped_chest",Count:64b},{id:"minecraft:tripwire_hook",Count:64b},{id:"minecraft:redstone_torch",Count:64b},{id:"minecraft:trapdoor",Count:64b}]}

---------------------------------------------------------------

删除

/clear @p[x=461,y=80,z=542,r=2] vine 0 64

/clear @p[x=461,y=80,z=542,r=2] chorus_flower 0 64

/clear @p[x=461,y=80,z=542,r=2] daylight_detector 0 64

/clear @p[x=461,y=80,z=542,r=2] trapped_chest 0 64

/clear @p[x=461,y=80,z=542,r=2] tripwire_hook 0 64

/clear @p[x=461,y=80,z=542,r=2] redstone_torch 0 64

/clear @p[x=461,y=80,z=542,r=2] trapdoor 0 64

---------------------------------------------------------------

给六星龙珠

/give @p[x=461,y=80,z=542,r=2] minecraft:fire_charge 1 0 {display:{Name:"龙珠",Lore:["六星龙珠",]}}

---------------------------------------------------------------

通告

/tellraw @a {"text":"恭喜获得六星龙珠","color":"gold"}

---------------------------------------------------------------

【七星龙珠所需材料】

1000W金币

检测金币等于1千万或大于1千万

/scoreboard players remove @p[x=461,y=80,z=541,r=2,score_金币_min=10000000] 金币 10000000

(附:如果没有的话金币计分板的话另外添加一个金币计分板就可以了。指令为/scoreboard objectives add 金币 dummy)

---------------------------------------------------------------

给七星龙珠

/give @p[x=461,y=80,z=541,r=2] minecraft:fire_charge 1 0 {display:{Name:"龙珠",Lore:["七星龙珠",]}}

---------------------------------------------------------------

通告

/tellraw @a {"text":"恭喜获得七星龙珠","color":"gold"}

---------------------------------------------------------------

检测召唤系统

---------------------------------------------------------------

检测龙珠

/testfor @p[x=-51,y=61,z=0,r=6] {Inventory:[{id:"minecraft:fire_charge",tag:{display:{Lore:["一星龙珠",]}}}]}

/testfor @p[x=-51,y=61,z=0,r=6] {Inventory:[{id:"minecraft:fire_charge",tag:{display:{Lore:["二星龙珠",]}}}]}

/testfor @p[x=-51,y=61,z=0,r=6] {Inventory:[{id:"minecraft:fire_charge",tag:{display:{Lore:["三星龙珠",]}}}]}

/testfor @p[x=-51,y=61,z=0,r=6] {Inventory:[{id:"minecraft:fire_charge",tag:{display:{Lore:["四星龙珠",]}}}]}

/testfor @p[x=-51,y=61,z=0,r=6] {Inventory:[{id:"minecraft:fire_charge",tag:{display:{Lore:["五星龙珠",]}}}]}

/testfor @p[x=-51,y=61,z=0,r=6] {Inventory:[{id:"minecraft:fire_charge",tag:{display:{Lore:["六星龙珠",]}}}]}

/testfor @p[x=-51,y=61,z=0,r=6] {Inventory:[{id:"minecraft:fire_charge",tag:{display:{Lore:["七星龙珠",]}}}]}

删除龙珠

/clear @p[x=-51,y=61,z=0,r=6] minecraft:fire_charge 0 1 {display:{Lore:["一星龙珠",]}}

/clear @p[x=-51,y=61,z=0,r=6] minecraft:fire_charge 0 1 {display:{Lore:["二星龙珠",]}}

/clear @p[x=-51,y=61,z=0,r=6] minecraft:fire_charge 0 1 {display:{Lore:["三星龙珠",]}}

/clear @p[x=-51,y=61,z=0,r=6] minecraft:fire_charge 0 1 {display:{Lore:["四星龙珠",]}}

/clear @p[x=-51,y=61,z=0,r=6] minecraft:fire_charge 0 1 {display:{Lore:["五星龙珠",]}}

/clear @p[x=-51,y=61,z=0,r=6] minecraft:fire_charge 0 1 {display:{Lore:["六星龙珠",]}}

/clear @p[x=-51,y=61,z=0,r=6] minecraft:fire_charge 0 1 {display:{Lore:["七星龙珠",]}}

召唤雷电

/summon Lightning_Bolt -39 57 -3

/summon Lightning_Bolt -39 57 3

/summon Lightning_Bolt -48 57 12

/summon Lightning_Bolt -54 57 12

/summon Lightning_Bolt -63 57 3

/summon Lightning_Bolt -63 57 -3

/summon Lightning_Bolt -54 57 -12

/summon Lightning_Bolt -48 57 -12

召唤神龙

/summon minecraft:ender_dragon 0 70 0 {HandItems:[{},{id:"minecraft:dragon_egg",Count:1b,Damage:0s}],ArmorDropChances:[0F,0F,0F,0F],HandDropChances:[0F,1F],CustomName:"神龙",CustomNameVisible:1,Health:99999f}

---------------------------------------------------------------

好啦~没有更复杂的指令了~就是检测~删除~给予~召唤~几个基本的指令~完成一个龙珠召唤系统

大神门不要许喷哈~第一次录视频不足之处大家请见谅~

发表评论

您必须 登录 才能发表留言!