阡喏
本帖最后由 阡喏 于 2021-2-11 20:39 编辑

这个当前完成进度量是怎么做出来的,可以做出来吗

晴路卡
也不是什么1.17的新东西
只是一个进度需要满足多个条件而已。
  1. {
  2.     "parent": "minecraft:adventure/root",
  3.     "display": {
  4.       "icon": {
  5.         "item": "minecraft:command_block"
  6.       },
  7.       "title": {
  8.         "text": "进度完成"
  9.       },
  10.       "description": {
  11.         "text": "进度完成"
  12.       },
  13.       "frame": "task",
  14.      "show_toast": true,
  15.      "announce_to_chat": true,
  16.      "hidden": false
  17.     },
  18.     "criteria": {
  19.       "1": {
  20.         "trigger": "minecraft:inventory_changed",
  21.         "conditions": {
  22.           "items": [
  23.             {
  24.               "item": "minecraft:blue_dye"
  25.             }
  26.           ]
  27.         }
  28.       },
  29.       "2": {
  30.         "trigger": "minecraft:inventory_changed",
  31.         "conditions": {
  32.           "items": [
  33.             {
  34.               "item": "minecraft:red_dye"
  35.             }
  36.           ]
  37.         }
  38.       }
  39.     },
  40.     "requirements": [
  41.       [
  42.         "2"
  43.       ],
  44.       [
  45.         "1"
  46.       ]
  47.     ]
  48. }
复制代码

比如这个进度需要玩家分别获得红色染料和蓝色染料 在冒险的进度树里你就能看到这个进度两个条件的完成情况


顺便 新年快乐!




第一页 上一页 下一页 最后一页