JSON

我的世界书本小工具JSon制作教程

字号+ 作者:H5之家 来源:H5之家 2018-02-15 14:42 我要评论( )

今天游戏园的小编就为大家带来我的世界书本小工具JSon,喜欢的玩家请看下面的内容!下面的内容会为你讲解这个东西到底要怎么弄!希望此篇文章能帮到大家! 简单

  今天游戏园的小编就为大家带来我的世界书本小工具JSon,喜欢的玩家请看下面的内容!下面的内容会为你讲解这个东西到底要怎么弄!希望此篇文章能帮到大家!

  简单来说就是用书本Json将一系列常用的命令集中在了一起,能一键执行,毫无技术含量……闲着没事做的,也是为了接下来开大坑的方便……第三页还没做好,目前只有前两页,大家有什么想加进去新功能也欢迎向我提出。

  接下来直接上命令,执行即可获得这本书

  give @p minecraft:written_book 1 0 {title:"指令研究小助手1.0",author:chiron0987,pages:

  ["{text:"目录",color:black,extra:[{text:"n第1页 常用指令",color:red,hoverEvent:

  {action:show_text,value:"改变模式,时间等"}},{text:"n第2页 规则指令

  ",color:red,hoverEvent:{action:show_text,value:"gamerule系列指令"}},{text:"n第3页 常

  用物品",color:red,hoverEvent:{action:show_text,value:"指令方块等"}}]}","{text:"常用指

  令",color:black,extra:[{text:"n创造模式",color:red,clickEvent:

  {action:run_command,value:"/gamemode 1"}},{text:"n生存模式",color:red,clickEvent:

  {action:run_command,value:"/gamemode 0"}},{text:"n白天",color:red,clickEvent:

  {action:run_command,value:"/time set day"}},{text:"n晚上",color:red,clickEvent:

  {action:run_command,value:"/time set night"}},{text:"n状态消除

  ",color:red,clickEvent:{action:run_command,value:"/effect @p clear"}},{text:"n清场

  ",color:red,clickEvent:{action:run_command,value:"/kill @e[type=!Player]"}}]}","{text:

  "规则命令",color:black,extra:[{text:"n命令文本提示 ",color:blue},{text:"开启

  ",color:red,hoverEvent:{action:show_text,value:"开启命令执行时在控制台中的文本提示

  "},clickEvent:{action:run_command,value:"/gamerule commandBlockOutput true"}},{text:"

  "},{text:"禁用",color:red,hoverEvent:{action:show_text,value:"禁用命令执行时在控制台中

  的文本提示"},clickEvent:{action:run_command,value:"/gamerule commandBlockOutput false

  "}},{text:"n火的蔓延 ",color:blue},{text:"开启",color:red,hoverEvent:

  {action:show_text,value:"开启火的蔓延"},clickEvent:{action:run_command,value:"/gamerule

  doFireTick true"}},{text:" "},{text:"禁用",color:red,hoverEvent:

  {action:show_text,value:"禁用火的蔓延"},clickEvent:{action:run_command,value:"/gamerule

  doFireTick false"}},{text:"n生物掉落 ",color:blue},{text:"开启

  ",color:red,hoverEvent:{action:show_text,value:"开启生物掉落"},clickEvent:

  {action:run_command,value:"/gamerule doMobLoot true"}},{text:" "},{text:"禁用

  ",color:red,hoverEvent:{action:show_text,value:"禁用生物掉落"},clickEvent:

  {action:run_command,value:"/gamerule doMobLoot false"}},{text:"n生物生成

  ",color:blue},{text:"开启",color:red,hoverEvent:{action:show_text,value:"开启生物生成

  "},clickEvent:{action:run_command,value:"/gamerule doMobSpawning true"}},{text:"

  "},{text:"禁用",color:red,hoverEvent:{action:show_text,value:"禁用生物生成

  "},clickEvent:{action:run_command,value:"/gamerule doMobSpawning false"}},{text:"n方

  块被破坏时掉落物品 ",color:blue},{text:"n开启",color:red,hoverEvent:

  {action:show_text,value:"开启方块被破坏时掉落物品"},clickEvent:

  {action:run_command,value:"/gamerule doTileDrops true"}},{text:" "},{text:"禁用

  ",color:red,hoverEvent:{action:show_text,value:"禁用方块被破坏时掉落物品"},clickEvent:

  {action:run_command,value:"/gamerule doTileDrops false"}},{text:"n死亡后对物品栏经验的

  保存 ",color:blue},{text:"n开启",color:red,hoverEvent:{action:show_text,value:"开启

  死亡后对物品栏和经验的保存"},clickEvent:{action:run_command,value:"/gamerule

  keepInventory true"}},{text:" "},{text:"禁用",color:red,hoverEvent:

  {action:show_text,value:"禁用死亡后对物品栏和经验的保存"},clickEvent:

  {action:run_command,value:"/gamerule keepInventory false"}},{text:"n怪物对方块的破坏

  ",color:blue},{text:"n开启",color:red,hoverEvent:{action:show_text,value:"开启怪物对

  方块的破坏"},clickEvent:{action:run_command,value:"/gamerule mobGriefing true"}},

  {text:" "},{text:"禁用",color:red,hoverEvent:{action:show_text,value:"禁用怪物对方块

  的破坏(TNT不在此限)"},clickEvent:{action:run_command,value:"/gamerule mobGriefing false

  "}},{text:"n自然生命恢复 ",color:blue},{text:"开启",color:red,hoverEvent:

  {action:show_text,value:"开启自然生命恢复"},clickEvent:{action:run_command,value:

  "/gamerule naturalRegeneration true"}},{text:" "},{text:"禁用

  ",color:red,hoverEvent:{action:show_text,value:"禁用自然生命恢复"},clickEvent:

  {action:run_command,value:"/gamerule naturalRegeneration false"}},{text:"n日夜交替

  ",color:blue},{text:"开启",color:red,hoverEvent:{action:show_text,value:"开启日夜交

  替"},clickEvent:{action:run_command,value:"/gamerule doDaylightCycle true"}},{text:"

  "},{text:"禁用",color:red,hoverEvent:{action:show_text,value:"禁用日夜交替

  "},clickEvent:{action:run_command,value:"/gamerule doDaylightCycle false"}}]}"]}

 

1.本站遵循行业规范,任何转载的稿件都会明确标注作者和来源;2.本站的原创文章,请转载时务必注明文章作者和来源,不尊重原创的行为我们将追究责任;3.作者投稿可能会经我们编辑修改或补充。

相关文章
  • 谈谈surging 的messagepack、protobuffer、json.net 序列化

    谈谈surging 的messagepack、protobuffer、json.net 序列化

    2017-11-25 14:37

  • 我的Json解析实战

    我的Json解析实战

    2017-10-13 13:45

  • 基于HTML模板和JSON数据的JavaScript交互 Rockyxia Web技术博客

    基于HTML模板和JSON数据的JavaScript交互 Rockyxia Web技术博客

    2017-08-14 13:02

  • JSON:如果你愿意一层一层剥开我的心,你会发现...这里水很深 深

    JSON:如果你愿意一层一层剥开我的心,你会发现...这里水很深 深

    2017-03-29 15:02

网友点评