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

Chn_hoa

【Lv:3】

正式会员
注册
2021/08/06
消息
16
金粒
3,235.05金粒
手持煤炭奇点输入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": 后面要怎么改才是正确的?
 

在线会员

  • 憨羊驼
  • fengchui
  • 波旬W
  • Qi_Gai
  • NorthChuan
  • xuebingtao
  • 征途
  • 一个不知名的网友
  • Tea_white_
后退
顶部 底部