就像盘灵古域rpg的任务流程那样
就是怎么把有字的书弄进村民的交易里
就是怎么把有字的书弄进村民的交易里
问得真婉转...不就是怎么生成带书交易的村民么首先,点进这个网站(或许要翻墙)
编辑完后generate the command
下面出来的命令提取{ }内的部分
如
复制代码
然后这个是基本村民框架
复制代码完工后就是这样
复制代码以上1.8适用~(1.9格式变严了,我还没仔细看,不过这些应该得改)
然后稍微花点心思hhh
复制代码
编辑完后generate the command
下面出来的命令提取{ }内的部分
如
- /give @p written_book 1 0 {pages:["{"text":"EAT BIE"}"],title:TESTING,author:OvQuee,display:{Lore:["最佳最佳最佳~"]}}
- 提取以下
- pages:["{"text":"EAT BIE"}"],title:TESTING,author:OvQuee,display:{Lore:["最佳最佳最佳~"]}
然后这个是基本村民框架
- /summon Villager ~ ~1 ~
- {Invulnerable:1,Profession:2,Career:1,CareerLevel:2,
- Offers:{Recipes:[
- {buy:{id:apple,Count:1},
- sell:{id:written_book,tag:{上面保留的放到这里},Count:1}
- }
- ]}
- }
- /summon Villager ~ ~1 ~
- {Invulnerable:1,Profession:2,Career:1,CareerLevel:2,
- Offers:{Recipes:[
- {buy:{id:apple,Count:1},
- sell:{id:written_book,tag:{pages:["{"text":"EAT BIE"}"],title:TESTING,author:OvQuee,display:{Lore:["最佳最佳最佳~"]}},Count:1}
- }
- ]}
- }
然后稍微花点心思hhh
- /summon Villager ~ ~1 ~
- {Invulnerable:1,CustomName:"最佳最佳~",CustomNameVisible:1,Profession:2,Career:1,CareerLevel:4,
- Offers:{Recipes:[
- {maxUses:999999,uses:-999999,
- buy:{id:diamond,Count:64},
- buyB:{id:lit_pumpkin,Count:64},
- sell:{id:written_book,tag:{author:"OvQuee",
- title:"萌萌 哒小本子",
- pages:[
- 1:"
- {text:"Once you are using this cbbook, we consider that you understand and agree the author of this book is the best in the universe.",bold:true,color:white,
- extra:[
- {text:"\n\n\n\n\n For shability and zhuangbility. ",bold:true,color:black}
- ]}",
- 2:"
- {text:'目录',bold:true,
- extra:[
- {text:'\n\n常用药水',bold:true,color:blue,clickEvent:{action:change_page,value:3}},
- {text:'\n物品给予',bold:true,color:gold,clickEvent:{action:change_page,value:4}},
- {text:'\n模式&难度',bold:true,color:black,clickEvent:{action:change_page,value:5}},
- {text:'\n召唤',bold:true,color:dark_green,clickEvent:{action:change_page,value:6}},
- {text:'\n游戏规则',bold:true,color:gray,clickEvent:{action:change_page,value:7}},
- {text:'\n一键崩服',bold:true,color:red,clickEvent:{action:run_command,value:'/kill @p'}},
- {text:'\n时间&天气',bold:true,color:dark_aqua,clickEvent:{action:change_page,value:8}},
- {text:'\n\n其他',bold:true,color:dark_blue,clickEvent:{action:change_page,value:9}}
- ]}",
- 3:"
- {text:'常用药水 ∞',bold:true,color:blue,
- extra:[
- {text:' 目录',clickEvent:{action:change_page,value:2}},
- {text:'\n\n速度III',clickEvent:{action:run_command,value:'/effect @p 1 1000000 2 true'}},
- {text:'\n抗性V',clickEvent:{action:run_command,value:'/effect @p 11 1000000 4 true'}},
- {text:'\n隐身I',clickEvent:{action:run_command,value:'/effect @p 14 1000000 0 true'}},
- {text:'\n夜视I',clickEvent:{action:run_command,value:'/effect @p 16 1000000 0 true'}},
- {text:'\n失明I',clickEvent:{action:run_command,value:'/effect @p 15 1000000 0 true'}},
- {text:'\n跳跃III',clickEvent:{action:run_command,value:'/effect @p 8 1000000 2 true'}},
- {text:'\n\n清除',color:black,clickEvent:{action:run_command,value:'/effect @p clear'}}
- ]}",
- 4:"
- {text:'物品给予',bold:true,color:gold,
- extra:[
- {text:' 目录',clickEvent:{action:change_page,value:2}},
- {text:'\n\n命令方块',clickEvent:{action:run_command,value:'/give @p command_block'}},
- {text:'\n屏障',clickEvent:{action:run_command,value:'/give @p barrier'}},
- {text:'\n龙蛋',clickEvent:{action:run_command,value:'/give @p dragon_egg'}},
- {text:'\n水跃鱼',clickEvent:{action:run_command,value:'/give @p fish 1 3 {HideFlags:1,ench:[{id:19,lvl:25}],display:{Name:水跃鱼,Lore:[一路走好]}}'}}
- ]}",
- 5:"
- {text:'模式&难度',bold:true,color:black,
- extra:[
- {text:' 目录',clickEvent:{action:change_page,value:2}},
- {text:'\n\n生存',clickEvent:{action:run_command,value:'/gamemode 0 @p'}},
- {text:'\n创造',clickEvent:{action:run_command,value:'/gamemode 1 @p'}},
- {text:'\n旁观',clickEvent:{action:run_command,value:'/gamemode 3 @p'}},
- {text:'\n冒险',clickEvent:{action:run_command,value:'/gamemode 2 @p'}},
- {text:'\n\n和平',clickEvent:{action:run_command,value:'/difficulty 0'}},
- {text:'\n简单',clickEvent:{action:run_command,value:'/difficulty 1'}},
- {text:'\n普通',clickEvent:{action:run_command,value:'/difficulty 2'}},
- {text:'\n困难',clickEvent:{action:run_command,value:'/difficulty 3'}}
- ]}",
- 6:"
- {text:'召唤',bold:true,color:dark_green,
- extra:[
- {text:' 坐标~ ~ ~'},
- {text:' 目录',clickEvent:{action:change_page,value:2}},
- {text:'\n\n末影水晶',clickEvent:{action:run_command,value:'/summon EnderCrystal ~ ~ ~'}},
- {text:'\n充能JJ',clickEvent:{action:run_command,value:'/summon Creeper ~ ~ ~ {powered:1,ExplosionRadius:20,Fuse:20}'}},
- {text:'\n史莱姆大号30',clickEvent:{action:run_command,value:'/summon Slime ~ ~ ~ {Size:30}'}},
- {text:'\n命令矿车',clickEvent:{action:run_command,value:'/summon MinecartCommandBlock ~ ~ ~'}},
- {text:'\n永恒之星',clickEvent:{action:run_command,value:'/summon Item ~ ~ ~ {Item:{id:nether_star,Count:1},Age:-32768,PickupDelay:32767}'}}
- ]}",
- 7:"
- {text:'游戏规则GAMERULE',bold:true,color:gray,
- extra:[
- {text:' 目录',clickEvent:{action:change_page,value:2}},
- {text:'\n\n命令反馈 '},
- {text:'[TRUE]',clickEvent:{action:run_command,value:'/gamerule sendCommandFeedback true'}},
- {text:' '},
- {text:'[FALSE]',clickEvent:{action:run_command,value:'/gamerule sendCommandFeedback false'}},
- {text:'\n火势蔓延 '},
- {text:'[TRUE]',clickEvent:{action:run_command,value:'/gamerule doFireTick true'}},
- {text:' '},
- {text:'[FALSE]',clickEvent:{action:run_command,value:'/gamerule doFireTick false'}},
- {text:'\n自然生成 '},
- {text:'[TRUE]',clickEvent:{action:run_command,value:'/gamerule doMobSpawning true'}},
- {text:' '},
- {text:'[FALSE]',clickEvent:{action:run_command,value:'/gamerule doMobSpawning false'}},
- {text:'\n方块掉落 '},
- {text:'[TRUE]',clickEvent:{action:run_command,value:'/gamerule doTileDrops true'}},
- {text:' '},
- {text:'[FALSE]',clickEvent:{action:run_command,value:'/gamerule doTileDrops false'}},
- {text:'\n背包保存 '},
- {text:'[TRUE]',clickEvent:{action:run_command,value:'/gamerule keepInventory true'}},
- {text:' '},
- {text:'[FALSE]',clickEvent:{action:run_command,value:'/gamerule keepInventory false'}},
- {text:'\n生物小偷 '},
- {text:'[TRUE]',clickEvent:{action:run_command,value:'/gamerule mobGriefing true'}},
- {text:' '},
- {text:'[FALSE]',clickEvent:{action:run_command,value:'/gamerule mobGriefing false'}},
- {text:'\n生物掉落物 '},
- {text:'\n[TRUE]',clickEvent:{action:run_command,value:'/gamerule doMobLoot true'}},
- {text:' '},
- {text:'[FALSE]',clickEvent:{action:run_command,value:'/gamerule doMobLoot false'}}
- ]}",
- 8:"
- {text:'时间&天气',bold:true,color:dark_aqua,
- extra:[
- {text:' 目录',clickEvent:{action:change_page,value:2}},
- {text:'\n\nDay',clickEvent:{action:run_command,value:'/time set day'}},
- {text:' Night',clickEvent:{action:run_command,value:'/time set night'}},
- {text:'\n晚霞',clickEvent:{action:run_command,value:'/time set 12345'}},
- {text:'\n+700',clickEvent:{action:run_command,value:'/time add 700'}},
- {text:'\n+1500',clickEvent:{action:run_command,value:'/time add 1500'}},
- {text:'\n+4000',clickEvent:{action:run_command,value:'/time add 4000'}},
- {text:'\n\n晴空',clickEvent:{action:run_command,value:'/weather clear'}},
- {text:' 下雨',clickEvent:{action:run_command,value:'/weather rain'}},
- {text:'\n雷雨1000000',clickEvent:{action:run_command,value:'/weather thunder 1000000'}},
- {text:'\n\n晴天←→雷/雨',clickEvent:{action:run_command,value:'/toggledownfall'}}
- ]}",
- 9:"
- {text:'其他',bold:true,color:dark_blue,
- extra:[
- {text:' 目录',clickEvent:{action:change_page,value:2}},
- {text:'\n\n特殊方块放置命令'},
- {text:'\n\n/setblock x y z ID value replace'},
- {text:'\n\n/fill x1 y1 z1 x2 y2 z2 ID value replace'}
- ]}",
- 10:"
- {text:'四面蘑菇块',bold:true,color:dark_blue,
- extra:[
- {text:'\nred_mushroom_block 14~15'},
- {text:'\n\n四面原木'},
- {text:'\nlog 12~15'},
- {text:'\nlog2 12~13'},
- {text:'\n\n四面半砖'},
- {text:'\ndouble_stone_slab 8,9'},
- {text:'\ndouble_stone_slab2 8'},
- {text:'\n\n床'},
- {text:'\nbed 1~3'}
- ]}",
- 11:"
- {text:'其他II',bold:true,
- extra:[
- {text:' 目录',clickEvent:{action:change_page,value:2}},
- {text:'\n\n\n\n\n\n\n\n\n待补充...'},
- {text:'\n 11/11/2015'}
- ]}"
- ]},Count:1}
- }
- ]}
- }