• 【问卷调查奖励发放公告】

    感谢大家积极参与本次 MineBBS 社区问卷调查。200 金粒的参与奖励已完成发放。部分用户发放失败,请【点击此处】 查看详情。

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

Chn_hoa

【Lv:3】

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

在线会员

  • AIERMIN
  • bzdqsm114514
  • 思羽
  • kookklook
  • hd
  • 尘帝阁空岛
  • Chagrin4
  • DY333
  • SpikedGull1871
  • gffidx
  • 子邪
  • tdbd
  • 大炮 米利坚
  • nishiyu
  • DaZiDian
  • sssjiu
  • 醉今朝
  • wszwq
  • 深情秋海鱼
  • 大虎山
...和 27 更多。
后退
顶部 底部