本帖最后由 屠灵神 于 2019-4-4 21:23 编辑
复制代码
复制代码
懵了。。上面隔开的那一行报错了,附魔和lore怎么才能搞到一起。。
- recipes.remove(<minecraft:emerald_block>);//remove emerald block
- recipes.remove(<minecraft:golden_sword>);
- var UE=<minecraft:emerald>.withTag({display: {Lore: ["This is UE"]}});//make emerald a UE
- var L0Gsword=<minecraft:golden_sword>.withTag({ench:[{lvl:5,id:16}],display:{Lore:["Level:0"]});
- var L1Gsword=<minecraft:golden_sword>.withTag({display: {Lore: ["Level:1"]}});
- var L2Gsword=<minecraft:iron_sword>.withTag({ench:[{lvl:5,id:16}]});//test 1
- recipes.addShaped(L0Gsword, [[null, <minecraft:gold_ingot>, null], [null, <minecraft:gold_ingot>, null], [null, <minecraft:stick>, null]]);
- UE.displayName = "UE";//rename
- <minecraft:golden_sword>.displayName = "USword";//rename
- recipes.addShaped(UE, [[<minecraft:golden_sword>]]);
- recipes.addShaped(L1Gsword,[[L0Gsword,UE]]);
- INFO: tried to remove command: mfr failed. THIS IS NOT AN ERROR!
- INFO:
- ERROR: Error parsing salvage.zs:4 -- } or , expected
懵了。。上面隔开的那一行报错了,附魔和lore怎么才能搞到一起。。