MineTweaker/ModTweaker - A help and suggestions thread.

  • 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

DoubleOtism

New Member
Jul 29, 2019
4
0
0
Well there is another problem. After making my map for my modpack i had idea to make quest for automation. Well asi postet 3 hours ago i upgraded it littlebit :

//Pulverizer
mods.thermalexpansion.Pulverizer.addRecipe(250, <minecraft:cobblestone>, <minecraft:gravel>);
mods.thermalexpansion.Pulverizer.addRecipe(250, <minecraft:gravel>, <minecraft:sand>);
mods.thermalexpansion.Pulverizer.addRecipe(250, <minecraft:sand>, <exnihilo:dust>);

And i still have problems. Yeeeeey.
When i do /mt reload it tell me this :

Warning: 2 modifications were stuck.

I know im really bad at this but if someone can help me tell it. World need new superheroes ! :D
 

jordsta95

New Member
Jul 29, 2019
5,056
-4
1
Well there is another problem. After making my map for my modpack i had idea to make quest for automation. Well asi postet 3 hours ago i upgraded it littlebit :

//Pulverizer
mods.thermalexpansion.Pulverizer.addRecipe(250, <minecraft:cobblestone>, <minecraft:gravel>);
mods.thermalexpansion.Pulverizer.addRecipe(250, <minecraft:gravel>, <minecraft:sand>);
mods.thermalexpansion.Pulverizer.addRecipe(250, <minecraft:sand>, <exnihilo:dust>);

And i still have problems. Yeeeeey.
When i do /mt reload it tell me this :

Warning: 2 modifications were stuck.

I know im really bad at this but if someone can help me tell it. World need new superheroes ! :D
2 things.
1) You don't have to do this. Ex Nihilo does it by default.
2) Thermal Expansion is still not fully implemented, so the recipes get stuck when you try to get them to work. You just need to restart your game to get them to work
 

Empmortakaten

New Member
Jul 29, 2019
6
0
0
I think the Tinkers Construct Smeltery code has changed a little bit, or I made an error I'm not finding.

Code:
mods.tconstruct.Casting.addBasinRecipe(<TConstruct:0re.berries.one:8>, <TConstruct:fluid.molten.iron> * 1152, <Natura:BerryBush:15>, true, 100);

Error message:
ERROR: Modtweaker.zs:138 > a method available but none matches the paramerters (minetweaker.item.IItemStack, minetweaker.item.IItemStack, minetweaker.item.IItemStack, boool, int)

What I'm trying to do:
Turn a Natura Mulberry bush into an Iron Oreberry bush by pouring one block's worth of iron onto it.

( EDIT: It keeps inserting a smily. -_- That zero is actually a lower case o. )
 

Yulife

New Member
Jul 29, 2019
889
-4
0
I think the Tinkers Construct Smeltery code has changed a little bit, or I made an error I'm not finding.

Code:
mods.tconstruct.Casting.addBasinRecipe(<TConstruct:0re.berries.one:8>, <TConstruct:fluid.molten.iron> * 1152, <Natura:BerryBush:15>, true, 100);

Error message:
ERROR: Modtweaker.zs:138 > a method available but none matches the paramerters (minetweaker.item.IItemStack, minetweaker.item.IItemStack, minetweaker.item.IItemStack, boool, int)

What I'm trying to do:
Turn a Natura Mulberry bush into an Iron Oreberry bush by pouring one block's worth of iron onto it.

( EDIT: It keeps inserting a smily. -_- That zero is actually a lower case o. )
Which version? 0.6 and 0.7 are quite different.
 

Yulife

New Member
Jul 29, 2019
889
-4
0
I think the Tinkers Construct Smeltery code has changed a little bit, or I made an error I'm not finding.

Code:
mods.tconstruct.Casting.addBasinRecipe(<TConstruct:0re.berries.one:8>, <TConstruct:fluid.molten.iron> * 1152, <Natura:BerryBush:15>, true, 100);

Error message:
ERROR: Modtweaker.zs:138 > a method available but none matches the paramerters (minetweaker.item.IItemStack, minetweaker.item.IItemStack, minetweaker.item.IItemStack, boool, int)

What I'm trying to do:
Turn a Natura Mulberry bush into an Iron Oreberry bush by pouring one block's worth of iron onto it.

( EDIT: It keeps inserting a smily. -_- That zero is actually a lower case o. )
I see what you did wrong. Liquids are not handled with <[modID]:[liquid]> but rather with a custom bracket called <liquid:[liquid]>. This applies to every function. To get a list of your liquids ingame, type in /mt liquids. This will print a list of all the <liquid:[liquid names]> in your minetweaker log in the .minecraft folder where the mods, configs and scripts folders are in.
Thus, your fixed code is:
mods.tconstruct.Casting.addBasinRecipe(<TConstruct:0re.berries.one:8>, <liquid:molten.iron> * 1152, <Natura:BerryBush:15>, true, 100);
I am not 100% certain if the unlocalized name of the Molten Iron is "molten.iron" so if it throws an error, check it in the mt log with /mt liquids.
Good luck in the future!
 
  • Like
Reactions: Empmortakaten

Empmortakaten

New Member
Jul 29, 2019
6
0
0
I see what you did wrong. Liquids are not handled with <[modID]:[liquid]> but rather with a custom bracket called <liquid:[liquid]>. This applies to every function. To get a list of your liquids ingame, type in /mt liquids. This will print a list of all the <liquid:[liquid names]> in your minetweaker log in the .minecraft folder where the mods, configs and scripts folders are in.
Thus, your fixed code is:
mods.tconstruct.Casting.addBasinRecipe(<TConstruct:0re.berries.one:8>, <liquid:molten.iron> * 1152, <Natura:BerryBush:15>, true, 100);
I am not 100% certain if the unlocalized name of the Molten Iron is "molten.iron" so if it throws an error, check it in the mt log with /mt liquids.
Good luck in the future!

That worked beautifully. Thank you greatly. :-D
 
  • Like
Reactions: Yulife

1SDAN

New Member
Jul 29, 2019
1,189
-15
0
I need a bit of help with NBT data:

<minecraft:ladder.withTag({CanPlaceOn:[:customitems:coarse_dirt]})>,

Code:
#Ladder Recipe
recipes.addShapedMirrored
(
  <minecraft:ladder.withTag({CanPlaceOn:[:customitems:coarse_dirt]})>,
  [
    [
      <customitems:bundled_sticks>,
      <customitems:crude_rod>
    ],
    [
      <customitems:crude_rod>,
      <customitems:bundled_sticks>
    ]
  ]
);

The error:

ERROR: Stick Recipes.zs:20: Could not resolve <minecraft : ladder . withTag ( { CanPlaceOn : [ : customitems : coarse_dirt ] } )>
ERROR: Error executing Stick Recipes.zs: null
 

InfinityRaider

New Member
Jul 29, 2019
1,169
-1
1
The easyest is to just put the Item in your hotbar, then do /mt hand and copy the correct tag from the console to your script.

EDIT: try this
Code:
<minecraft:ladder>.withTag({CanPlaceOn:[customitems:coarse_dirt]})>
 

1SDAN

New Member
Jul 29, 2019
1,189
-15
0
Okay,
<minecraft:ladder>.withTag({CanPlaceOn:[customitems:coarse_dirt]}),

is getting me
[20:05:26] [Client thread/INFO]: [CHAT] ERROR: Error parsing Stick Recipes.zs:20 -- ] or , expected

And that's the code from mt hand
 

Yulife

New Member
Jul 29, 2019
889
-4
0
Okay,
<minecraft:ladder>.withTag({CanPlaceOn:[customitems:coarse_dirt]}),

is getting me
[20:05:26] [Client thread/INFO]: [CHAT] ERROR: Error parsing Stick Recipes.zs:20 -- ] or , expected

And that's the code from mt hand
You missed a bracket if I saw correctly, thus "-- ]" in the error.
 

jordsta95

New Member
Jul 29, 2019
5,056
-4
1
Could you paste the correct code, I can't figure it out for the life of me
I saw the issue earlier, but now I am blind to it o_O

So, time to retype your code :p
Code:
#Ladder Recipe
recipes.addShapedMirrored(<minecraft:ladder>.withTag({CanPlaceOn: [customitems:coarse_dirt]}),[[<customitems:bundled_sticks>,<customitems:crude_rod>],[<customitems:crude_rod>,<customitems:bundled_sticks>]]);
However, I don't know what this "CanPlaceOn" tag is... it's not one I have ever seen before. And Minetweaker can't tell the game where a block can and cannot be placed.
 

1SDAN

New Member
Jul 29, 2019
1,189
-15
0
However, I don't know what this "CanPlaceOn" tag is... it's not one I have ever seen before. And Minetweaker can't tell the game where a block can and cannot be placed.
It's part of the Adventure Backport mod

EDIT:

Now I'm getting an error on the part that consists of
Code:
customitems:coarse_dirt

ANOTHER EDIT:

Tried your code in full, and it still fails

Same error as before
 
Last edited:

jordsta95

New Member
Jul 29, 2019
5,056
-4
1
I don't know of this Adventure Backport mod, but maybe you have to import it? I dunno, I have never used it
 

goreae

Ultimate Murderous Fiend
Nov 27, 2012
1,784
2,649
273
Raxacoricofallapatorius
Okay,
<minecraft:ladder>.withTag({CanPlaceOn:[customitems:coarse_dirt]}),

is getting me
[20:05:26] [Client thread/INFO]: [CHAT] ERROR: Error parsing Stick Recipes.zs:20 -- ] or , expected

And that's the code from mt hand
Is that the entire scipt? If not, can I see the entire scipt? Because I don't see Stick anywhere in that line.