问题 1.16.5crt怎么添加无尽奇点的tag

Chn_hoa

【Lv:3】

正式会员
注册
2021/08/06
消息
16
金粒
3,248.55金粒
手持煤炭奇点输入ct hand之后获得的数据是以下的。
<item:endless:singularity>.withTag({endless_singularity: {index: 2039326 as int, main: 328965 as int, type: "coal" as string}})
若我用JSON格式添加一个无尽配方时,下面是对应代码

代码:
<recipetype:endless:extreme_craft>.addJSONRecipe("infinity_catalyst", {
   "result": {
       "item": "endless:infinity_catalyst"
   },
   "pattern": [
       "abcdefg  ",
       "         ",
       "         ",
       "         ",
       "         ",
       "         ",
       "         ",
       "         ",
       "         "
   ],
   "key": {
       "a": {
         "item": "endless:crystal_matrix_ingot"
       },
       "b": {
         "item": "endless:neutronium_ingot"
       },
       "c": {
         "item": "endless:cosmic_meatballs"
       },
       "d": {
         "item": "endless:ultimate_stew"
       },
       "e": {
         "item": "endless:endest_pearl"
       },
       "f": {
         "item": "endless:record_fragment"
       },
       "g": {
         "item": "<item:endless:singularity>.withTag({endless_singularity: {index: 2039326 as int, main: 328965 as int, type: 'coal' as string}})"
       }
   }
});

如果照搬进“g”的话是错误的
求 “g” 这里"item": 后面要怎么改才是正确的?
 

在线会员

  • 小莓子
  • shuangchong
  • gaowenbo
  • Bread-xt
  • MrYin
  • mcYTYZ
  • Majesticrise
  • k kkljlk
  • 699
  • BigHugo
  • SnowCutieOwO
  • Sing_
  • 秋瑾瑾
  • 灰鸦11
  • 神迹大陆2
  • www_070423
  • LuoxRO
  • TYYFRGH
  • kaizi
  • 诺诺noo
...和 17 更多。
后退
顶部 底部