MineTweaker/ModTweaker - A help and suggestions thread.

jdog1408

New Member
Jul 29, 2019
958
-11
0
Yeah you can do that, I was just wondering what you meant by:


What pack? :p
XD I meant thread and so here is the creation that I am proud of, not very much code but it makes gears a later game item(I'm looking at you Buildcraft Quarry)
//Recipe Removal
recipes.removeShaped(<BuildCraft|Core:ironGearItem>);
recipes.removeShaped(<BuildCraft|Core:goldGearItem>);
recipes.removeShaped(<BuildCraft|Core:diamondGearItem>);
recipes.removeShaped(<ThermalFoundation:material:12>);
recipes.removeShaped(<ThermalFoundation:material:13>);
recipes.removeShaped(<ThermalFoundation:material:128>);
recipes.removeShaped(<ThermalFoundation:material:129>);
recipes.removeShaped(<ThermalFoundation:material:130>);
recipes.removeShaped(<ThermalFoundation:material:131>);
recipes.removeShaped(<ThermalFoundation:material:132>);
recipes.removeShaped(<ThermalFoundation:material:133>);
recipes.removeShaped(<ThermalFoundation:material:134>);
recipes.removeShaped(<ThermalFoundation:material:135>);
recipes.removeShaped(<ThermalFoundation:material:136>);
recipes.removeShaped(<ThermalFoundation:material:137>);
recipes.removeShaped(<ThermalFoundation:material:138>);
recipes.removeShaped(<ThermalFoundation:material:139>);
recipes.removeShaped(<ThermalFoundation:material:140>);

//RF required, InputStack, InputStack2, OutputStack
//Iron
mods.thermalexpansion.Smelter.addRecipe(7200, <BuildCraft|Core:stoneGearItem>, <minecraft:iron_ingot> * 32, <ThermalFoundation:material:12>);
//Gold
mods.thermalexpansion.Smelter.addRecipe(7200, <ThermalFoundation:material:12>, <minecraft:gold_ingot> * 16, <ThermalFoundation:material:13>);
//Copper
mods.thermalexpansion.Smelter.addRecipe(800, <ThermalFoundation:material:12>, <ThermalFoundation:material:64> * 8, <ThermalFoundation:material:128>);
//Tin
mods.thermalexpansion.Smelter.addRecipe(800, <ThermalFoundation:material:12>, <ThermalFoundation:material:65> * 8, <ThermalFoundation:material:129>);
//Silver
mods.thermalexpansion.Smelter.addRecipe(1600, <ThermalFoundation:material:12>, <ThermalFoundation:material:66> * 16, <ThermalFoundation:material:130>);
//Lead
mods.thermalexpansion.Smelter.addRecipe(800, <ThermalFoundation:material:12>, <ThermalFoundation:material:67> * 8, <ThermalFoundation:material:131>);
//Ferrous
mods.thermalexpansion.Smelter.addRecipe(1600, <ThermalFoundation:material:12>, <ThermalFoundation:material:68> * 16, <ThermalFoundation:material:132>);
//Shiny
mods.thermalexpansion.Smelter.addRecipe(1600, <ThermalFoundation:material:12>, <ThermalFoundation:material:69> * 8, <ThermalFoundation:material:133>);
//Mana Infused
mods.thermalexpansion.Smelter.addRecipe(1600, <ThermalFoundation:material:12>, <ThermalFoundation:material:70> * 8, <ThermalFoundation:material:134>);
//Electrum
mods.thermalexpansion.Smelter.addRecipe(800, <ThermalFoundation:material:12>, <ThermalFoundation:material:71> * 16, <ThermalFoundation:material:135>);
//Invar
mods.thermalexpansion.Smelter.addRecipe(1600, <ThermalFoundation:material:12>, <ThermalFoundation:material:72> * 8, <ThermalFoundation:material:136>);
//Bronze
mods.thermalexpansion.Smelter.addRecipe(800, <ThermalFoundation:material:12>, <ThermalFoundation:material:73> * 8, <ThermalFoundation:material:137>);
//Signalum
mods.thermalexpansion.Smelter.addRecipe(3200, <ThermalFoundation:material:135>, <ThermalFoundation:material:74> * 4, <ThermalFoundation:material:138>);
//Lumium
mods.thermalexpansion.Smelter.addRecipe(3200, <ThermalFoundation:material:135>, <ThermalFoundation:material:75> * 4, <ThermalFoundation:material:139>);
//Enderium
mods.thermalexpansion.Smelter.addRecipe(3200, <ThermalFoundation:material:135>, <ThermalFoundation:material:76> * 4, <ThermalFoundation:material:140>);
Feel free to use it in your own pack.
 
  • Like
Reactions: jordsta95

jdog1408

New Member
Jul 29, 2019
958
-11
0
And I want to point out that the script is for an HQM pack and you are rewarded the Induction Smelter
 

Nanimonai

New Member
Jul 29, 2019
34
0
0
So I started using minetweaker/modtweaker today to move around some Thaumcraft research due to too many research tabs. The script I found and added to works fine, but I still get a warning that 1 modification is stuck. I doublechecked every word for mistakes like wrong capitalization, which causes a bigger error before, but I can't find any problems with this script.

Should/can I just ignore that warning?

Here's the script:
#Modifying Railcraft research
#Thaumium
mods.thaumcraft.Research.moveResearch("RC_Crowbar", "ARTIFICE", 0, -4);
mods.thaumcraft.Research.clearPrereqs("RC_Crowbar");
mods.thaumcraft.Research.addPrereq("RC_Crowbar", "THAUMIUM", false);
#Void metal
mods.thaumcraft.Research.moveResearch("RC_Crowbar_Void", "ELDRITCH", 2, -4);
mods.thaumcraft.Research.clearPrereqs("RC_Crowbar_Void");
mods.thaumcraft.Research.addPrereq("RC_Crowbar_Void", "VOIDMETAL", false);
mods.thaumcraft.Research.addPrereq("RC_Crowbar_Void", "RC_Crowbar", false);
#Tab Removal
mods.thaumcraft.Research.removeTab("RAILCRAFT");

#Move Rotarycraft and AOBD research to Chromaticraft
#PUREORE
mods.thaumcraft.Research.moveResearch("PUREORE", "chromaticraft", 0, -4);
mods.thaumcraft.Research.clearPrereqs("PUREORE");
mods.thaumcraft.Research.addPrereq("PUREORE", "PUREIRON", false);
mods.thaumcraft.Research.addPrereq("PUREORE", "PUREGOLD", false);
mods.thaumcraft.Research.addPrereq("PUREORE", "PURETIN", false);
mods.thaumcraft.Research.addPrereq("PUREORE", "PURECOPPER", false);
mods.thaumcraft.Research.addPrereq("PUREORE", "PURELEAD", false);
mods.thaumcraft.Research.addPrereq("PUREORE", "PURESILVER", false);
mods.thaumcraft.Research.addPrereq("PUREORE", "TRANSIRON", false);
mods.thaumcraft.Research.addPrereq("PUREORE", "TRANSGOLD", false);
mods.thaumcraft.Research.addPrereq("PUREORE", "TRANSTIN", false);
mods.thaumcraft.Research.addPrereq("PUREORE", "TRANSCOPPER", false);
mods.thaumcraft.Research.addPrereq("PUREORE", "TRANSLEAD", false);
mods.thaumcraft.Research.addPrereq("PUREORE", "TRANSSILVER", false);
#Tab removal
mods.thaumcraft.Research.removeTab("AOBD");
#BEDREVEAL
mods.thaumcraft.Research.moveResearch("BEDREVEAL", "chromaticraft", 2, -4);
mods.thaumcraft.Research.clearPrereqs("BEDREVEAL");
mods.thaumcraft.Research.addPrereq("BEDREVEAL", "GOGGLES", false);
mods.thaumcraft.Research.addPrereq("BEDREVEAL", "INFUSION", false);
#Tab removal
mods.thaumcraft.Research.removeTab("rotarycraft");
 

jordsta95

New Member
Jul 29, 2019
5,056
-4
1
So I started using minetweaker/modtweaker today to move around some Thaumcraft research due to too many research tabs. The script I found and added to works fine, but I still get a warning that 1 modification is stuck. I doublechecked every word for mistakes like wrong capitalization, which causes a bigger error before, but I can't find any problems with this script.

Should/can I just ignore that warning?

Here's the script:
#Modifying Railcraft research
#Thaumium
mods.thaumcraft.Research.moveResearch("RC_Crowbar", "ARTIFICE", 0, -4);
mods.thaumcraft.Research.clearPrereqs("RC_Crowbar");
mods.thaumcraft.Research.addPrereq("RC_Crowbar", "THAUMIUM", false);
#Void metal
mods.thaumcraft.Research.moveResearch("RC_Crowbar_Void", "ELDRITCH", 2, -4);
mods.thaumcraft.Research.clearPrereqs("RC_Crowbar_Void");
mods.thaumcraft.Research.addPrereq("RC_Crowbar_Void", "VOIDMETAL", false);
mods.thaumcraft.Research.addPrereq("RC_Crowbar_Void", "RC_Crowbar", false);
#Tab Removal
mods.thaumcraft.Research.removeTab("RAILCRAFT");

#Move Rotarycraft and AOBD research to Chromaticraft
#PUREORE
mods.thaumcraft.Research.moveResearch("PUREORE", "chromaticraft", 0, -4);
mods.thaumcraft.Research.clearPrereqs("PUREORE");
mods.thaumcraft.Research.addPrereq("PUREORE", "PUREIRON", false);
mods.thaumcraft.Research.addPrereq("PUREORE", "PUREGOLD", false);
mods.thaumcraft.Research.addPrereq("PUREORE", "PURETIN", false);
mods.thaumcraft.Research.addPrereq("PUREORE", "PURECOPPER", false);
mods.thaumcraft.Research.addPrereq("PUREORE", "PURELEAD", false);
mods.thaumcraft.Research.addPrereq("PUREORE", "PURESILVER", false);
mods.thaumcraft.Research.addPrereq("PUREORE", "TRANSIRON", false);
mods.thaumcraft.Research.addPrereq("PUREORE", "TRANSGOLD", false);
mods.thaumcraft.Research.addPrereq("PUREORE", "TRANSTIN", false);
mods.thaumcraft.Research.addPrereq("PUREORE", "TRANSCOPPER", false);
mods.thaumcraft.Research.addPrereq("PUREORE", "TRANSLEAD", false);
mods.thaumcraft.Research.addPrereq("PUREORE", "TRANSSILVER", false);
#Tab removal
mods.thaumcraft.Research.removeTab("AOBD");
#BEDREVEAL
mods.thaumcraft.Research.moveResearch("BEDREVEAL", "chromaticraft", 2, -4);
mods.thaumcraft.Research.clearPrereqs("BEDREVEAL");
mods.thaumcraft.Research.addPrereq("BEDREVEAL", "GOGGLES", false);
mods.thaumcraft.Research.addPrereq("BEDREVEAL", "INFUSION", false);
#Tab removal
mods.thaumcraft.Research.removeTab("rotarycraft");
If a recipe is stuck, you are safe to ignore it. It will work on a server restart (exit/enter the game, some cases may need a full game restart). Why this happens, I don't know, but some mods just do it.
 

Darkone84

New Member
Jul 29, 2019
220
0
0
If it wasn't for MineTweaker/ModTweaker I wouldn't of added RFTools to my pack.

Also any plans to add support for EnderIO? I wanted to add recipes to the Vat.
 
Last edited:

jordsta95

New Member
Jul 29, 2019
5,056
-4
1
EnderIO has its own crafting handler in the form of an XML file IIRC, just look in the configs for it :)
 

Pip69

New Member
Jul 29, 2019
286
0
0
Why does this
mods.thermalexpansion.Furnace.removeRecipe(<minecraft:log>);
tell me no recipe found, while this
mods.thermalexpansion.Furnace.removeRecipe(<ThermalExpansion:material:513>);
works?
 

jordsta95

New Member
Jul 29, 2019
5,056
-4
1
Why does this
mods.thermalexpansion.Furnace.removeRecipe(<minecraft:log>);
tell me no recipe found, while this
mods.thermalexpansion.Furnace.removeRecipe(<ThermalExpansion:material:513>);
works?
Because there is no furnace recipe which results in a log as an output
 

Pip69

New Member
Jul 29, 2019
286
0
0
Because there is no furnace recipe which results in a log as an output
Using charcoal (minecraft:coal:1) doesn't work either, but material:513 (compressed sawdust), is an input not an out put and that removed that recipe.
 

jordsta95

New Member
Jul 29, 2019
5,056
-4
1
Using charcoal (minecraft:coal:1) doesn't work either, but material:513 (compressed sawdust), is an input not an out put and that removed that recipe.
Hmm, try <ore:logWood> (I think that's the oreDict for logs), just a guess that the RSfurnace MAY use oredicts as much as possible
 

Pyth

New Member
Jul 29, 2019
39
0
0
Guys, can you help me? Does not work...

val Torch = <RealisticTorches:TorchUnlit>;
val Rubber = <gregtech:gt.metaitem.01:11880>;
val Stick = <RealisticTorches:Matchbox>;
val String = <minecraft:string>;
val Coal = <minecraft:coal>;
val Charcoal = <minecraft:coal:1>;
val CoalCoke = <Railcraft:fuel.coke>;
val WovenCloth = <harvestcraft:wovencottonItem>;
val Beeswax = <Forestry:beeswax>;

recipes.remove(<RealisticTorches:TorchUnlit>);
recipes.remove(<RealisticTorches:GlowstoneCrystal>);
recipes.remove(<enviromine:firetorch>);
recipes.remove(<enviromine:eek:fftorch>);
recipes.remove(<minecraft:torch>);

recipes.addShaped(Torch * 4, [
[Coal, String],
[Stick, null]]);

recipes.addShaped(Torch * 3, [
[Charcoal, String],
[Stick, null]]);

recipes.addShaped(Torch * 2, [
[Beeswax, String],
[Stick, null]]);

recipes.addShaped(Torch * 4, [
[CoalCoke, String],
[Stick, null]]);

recipes.addShaped(Torch * 3, [
[Rubber, String],
[Stick, null]]);

recipes.addShaped(Torch * 3, [
[<minecraft:wool:*>, String],
[Stick, null]]);

recipes.addShaped(Torch * 4, [
[WovenCloth, String],
[Stick, null]]);

recipes.addShaped(Torch * 4, [
[<minecraft:book>, String],
[Stick, null]]);
 

jordsta95

New Member
Jul 29, 2019
5,056
-4
1
val String = <minecraft:string>;
isn't valid, as I didn't find out until after trying it myself
I'd suggest calling it Silk, or something similar. Or just refer to it as <minecraft:string>
 

Yulife

New Member
Jul 29, 2019
889
-4
0
Guys, can you help me? Does not work...

val Torch = <RealisticTorches:TorchUnlit>;
val Rubber = <gregtech:gt.metaitem.01:11880>;
val Stick = <RealisticTorches:Matchbox>;
val String = <minecraft:string>;
val Coal = <minecraft:coal>;
val Charcoal = <minecraft:coal:1>;
val CoalCoke = <Railcraft:fuel.coke>;
val WovenCloth = <harvestcraft:wovencottonItem>;
val Beeswax = <Forestry:beeswax>;

recipes.remove(<RealisticTorches:TorchUnlit>);
recipes.remove(<RealisticTorches:GlowstoneCrystal>);
recipes.remove(<enviromine:firetorch>);
recipes.remove(<enviromine:eek:fftorch>);
recipes.remove(<minecraft:torch>);

recipes.addShaped(Torch * 4, [
[Coal, String],
[Stick, null]]);

recipes.addShaped(Torch * 3, [
[Charcoal, String],
[Stick, null]]);

recipes.addShaped(Torch * 2, [
[Beeswax, String],
[Stick, null]]);

recipes.addShaped(Torch * 4, [
[CoalCoke, String],
[Stick, null]]);

recipes.addShaped(Torch * 3, [
[Rubber, String],
[Stick, null]]);

recipes.addShaped(Torch * 3, [
[<minecraft:wool:*>, String],
[Stick, null]]);

recipes.addShaped(Torch * 4, [
[WovenCloth, String],
[Stick, null]]);

recipes.addShaped(Torch * 4, [
[<minecraft:book>, String],
[Stick, null]]);
Not working is very vague. You need to give us your minetweaker log too or maybe a more detailed description.
 

jordsta95

New Member
Jul 29, 2019
5,056
-4
1
No errors in minetweaker log. I deleted all recipes for vanila and enviromine torches and set some recipes for realistic torches. But it works like this http://savepic.ru/8007361.gif
As I said, you can't use "val string" and then use that value in recipes. Rename it to something different.
So everywhere you have the word string (apart from in <minecraft:string>) put a different word, see if that works