RuySue
本帖最后由 屠灵神 于 2019-4-4 21:23 编辑
  1. recipes.remove(<minecraft:emerald_block>);//remove emerald block
  2. recipes.remove(<minecraft:golden_sword>);
  3. var UE=<minecraft:emerald>.withTag({display: {Lore: ["This is UE"]}});//make emerald a UE

  4. var L0Gsword=<minecraft:golden_sword>.withTag({ench:[{lvl:5,id:16}],display:{Lore:["Level:0"]});

  5. var L1Gsword=<minecraft:golden_sword>.withTag({display: {Lore: ["Level:1"]}});
  6. var L2Gsword=<minecraft:iron_sword>.withTag({ench:[{lvl:5,id:16}]});//test 1
  7. recipes.addShaped(L0Gsword, [[null, <minecraft:gold_ingot>, null], [null, <minecraft:gold_ingot>, null], [null, <minecraft:stick>, null]]);
  8. UE.displayName = "UE";//rename
  9. <minecraft:golden_sword>.displayName = "USword";//rename
  10. recipes.addShaped(UE, [[<minecraft:golden_sword>]]);
  11. recipes.addShaped(L1Gsword,[[L0Gsword,UE]]);
复制代码

  1. INFO: tried to remove command: mfr failed. THIS IS NOT AN ERROR!
  2. INFO:
  3. ERROR: Error parsing salvage.zs:4 -- } or , expected
复制代码

懵了。。上面隔开的那一行报错了,附魔和lore怎么才能搞到一起。。

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