本人加了一个mod,很遗憾的是他某一样物品的不同等级全是同一个id,而且是没有附加值的
请问我要如何才能成功的写出这个合成表呢
请问我要如何才能成功的写出这个合成表呢
手持要魔改的物品 /ct hand 复制参数试试呢
都是同一个id但是没有附加值是 根据nbt判断的么
可以贴一下 ct hand 的输出么(会自动复制到剪贴板我记得
可以贴一下 ct hand 的输出么(会自动复制到剪贴板我记得
折叠 发表于 2020-3-12 14:00
手持要魔改的物品 /ct hand 复制参数试试呢
那我<slashfortifier:itemstrengthstone>.withTag({STRENLEV: 1.0 as float})复制到了这个然后呢?
这是我要合成的东西recipes.addShaped(<slashfortifier:itemprotectstone>, [[<ore:gemCoal>, <ore:gemDiamond>, <ore:ingotGold>], [<ore:gemLapis>, <ore:gemQuartz>, <ore:gemEmerald>], [<minecraft:iron_ingot>, <ore:dustRedstone>, <ore:dustGlowstone>]]);该怎么把他们组合到一起呢
GiNYAi 发表于 2020-3-12 14:09
都是同一个id但是没有附加值是 根据nbt判断的么
可以贴一下 ct hand 的输出么(会自动复制到剪贴板我记得 ...
那我<slashfortifier:itemstrengthstone>.withTag({STRENLEV: 1.0 as float})复制到了这个然后呢?
这是我要合成的东西recipes.addShaped(<slashfortifier:itemprotectstone>, [[<ore:gemCoal>, <ore:gemDiamond>, <ore:ingotGold>], [<ore:gemLapis>, <ore:gemQuartz>, <ore:gemEmerald>], [<minecraft:iron_ingot>, <ore:dustRedstone>, <ore:dustGlowstone>]]);该怎么把他们组合到一起呢
歧时天 发表于 2020-3-12 14:15
那我.withTag({STRENLEV: 1.0 as float})复制到了这个然后呢?
这是我要合成的东西recipes.addShaped(, [ ...
recipes.addShaped(<slashfortifier:itemstrengthstone>.withTag({STRENLEV: 1.0 as float}), [[<ore:gemCoal>, <ore:gemDiamond>, <ore:ingotGold>], [<ore:gemLapis>, <ore:gemQuartz>, <ore:gemEmerald>], [<minecraft:iron_ingot>, <ore:dustRedstone>, <ore:dustGlowstone>]]);
这样试试? 不确定能行..
强化石是根据里面的一个nbt判断强化石等级的。“STRENLEV”,有效值1-100,表示增加的强化成功几率。强化石的材质和名字都是根据这个nbt变化的。之所以做成nbt形式是因为方便。