Minetweaker 3 Help

  • The FTB Forum is now read-only, and is here as an archive. To participate in our community discussions, please join our Discord! https://ftb.team/discord

buggirlexpres

Relatable Gamer
Trusted User
Retired Staff
Nov 24, 2012
3,937
7,362
663
she/her
twitter.com
Okay, so I've been playing with the new Minetweaker 3, and I need some help :/
I'm trying to add a smelting recipe for the Copper Oreberry, but it errors when I try to introduce the Copper Oreberry as a variable.

ERROR: set1.zs - 7:14: Could not resolve <14360 : 2>
ERROR: set1.zs - 10:1 > a method available but none matches the parameters (minetweaker.oredict.IOreDictEntry, any)
INFO: Removing 2 recipes
INFO: Adding furnace recipe for <item.oreberry>
And here is the .zs file that's erroring:

var log = <17>;
var plank = <5>;
var iron = <item.ingotIron>;
var copper = <ore:ingotCopper>;
var tin = <ore:ingotTin>;
var iberry = <14360>;
var cberry = <14360:2>;
recipes.remove(plank);
furnace.addRecipe(iron * 2, iberry);
furnace.addRecipe(copper * 2, cberry);

I know I'm probably doing something completely wrong, but I can't figure out what :(
Can anyone help?
 

trajing

New Member
Jul 29, 2019
3,091
-14
1
Okay, so I've been playing with the new Minetweaker 3, and I need some help :/
I'm trying to add a smelting recipe for the Copper Oreberry, but it errors when I try to introduce the Copper Oreberry as a variable.

ERROR: set1.zs - 7:14: Could not resolve <14360 : 2>
ERROR: set1.zs - 10:1 > a method available but none matches the parameters (minetweaker.oredict.IOreDictEntry, any)
INFO: Removing 2 recipes
INFO: Adding furnace recipe for <item.oreberry>
And here is the .zs file that's erroring:

var log = <17>;
var plank = <5>;
var iron = <item.ingotIron>;
var copper = <ore:ingotCopper>;
var tin = <ore:ingotTin>;
var iberry = <14360>;
var cberry = <14360:2>;
recipes.remove(plank);
furnace.addRecipe(iron * 2, iberry);
furnace.addRecipe(copper * 2, cberry);

I know I'm probably doing something completely wrong, but I can't figure out what :(
Can anyone help?
<> is used around everything now.
 
  • Like
Reactions: buggirlexpres

buggirlexpres

Relatable Gamer
Trusted User
Retired Staff
Nov 24, 2012
3,937
7,362
663
she/her
twitter.com
<> is used around everything now.
I tried this:

var log = <17>;
var plank = <5>;
var iron = <item.ingotIron>;
var copper = <ore:ingotCopper>;
var tin = <ore:ingotTin>;
var iberry = <14360>;
var cberry = <14360:2>;
recipes.remove(<plank>);
furnace.addRecipe(<iron> * 2, iberry);
furnace.addRecipe(<copper> * 2, cberry);
But then it errored on the plank and iron recipes as well :/