I see the problem now. You added a Crucible recipe for that potion, but you're trying to add a page for an Arcane Worktable recipe. Use the correct command for the correct recipe type.
....... OMG :L I done d3rPed now it works lol
oh and one last thing how do i make a research require one to be unlocked beforehand?
Replace "REQUIREMENT" with the key for the research you want to be the requirement. Change the boolean to true if you want it to be a Hidden requirement. If it's Hidden, it won't draw a line between them. If it's not hidden, it will draw a line between them if they're on the same page.
Hi, I'm using minetweaker 0.3 to try to make a custom Thermal Expansion recipe (this is for the Crash Landing custom map pack). I'm trying to get the Fluid Transposer to fill / empty the Camel Pack from Enviromine. I'm running into some problems though with arbitrary damage values. Here's my code thus far:
CamelPack = <5260>;
# These two lines correctly extract and fill Camel Packs that are completely full and completely empty, respectively.
mods.thermalexpansion.transposer.addExtractRecipe(CamelPack, CamelPack.withDamage(100), waterLiquid*4000, 6400, 100);
mods.thermalexpansion.transposer.addFillRecipe(CamelPack.withDamage(100), CamelPack, waterLiquid*4000, 6400);
# These two lines try to do the same thing as above, but with partially full camel packs (camel packs with arbitrary damage). They don't work, but don't return syntax errors.
mods.thermalexpansion.transposer.addExtractRecipe(CamelPack.damaged, CamelPack.withDamage(100), waterLiquid*4000, 6400, 100);
mods.thermalexpansion.transposer.addFillRecipe(CamelPack.damaged, CamelPack, waterLiquid*4000, 6400);
It appears that modtweaker parses the damaged field but doesn't do anything with it. Does anyone know of a good way to do what I'm trying to do, or am I stuck doing something like the following?
I don't handle anything to do with items. MineTweaker passes everything to me. If something like that, isn't working how you'd like it to. Thats either a MineTweaker issue not passing the correct value, or the mod just doesn't support it.
(I replaced the <> with {} because the forum was hiccuping on them; it's correct in the actual script)
If I run it as is, I get:
ERROR: Error executing basic.zs: Failed to instantiate SeedEntry
If I comment out the seed lines and reload, I get this incredibly descriptive message:
ERROR: Error executing basic.zs: null
In both cases, all lines above the problem ones work properly, and all lines after do not. Also, the loot and seeds commands do not work at all, even if the problem lines are commented and no errors occur.
I am using Minecraft 1.7.10 with Forge 1187 and MineTweaker 3.0.6. (and ModTweaker 0.5, obviously)
Yeah it;s known, same with factorization. However the commands work perfectly fine for me. I'm currently working on Mariculture though, so won't be able to fix for a little bit.
Wow, so you can theoretically "integrate" a certain mod into the Thaumonomicon and make custom tabs/research/recipes in the book for it? I'm so blown away by this. Time to go Modtweaking testing...
Superpat3 - Yes Indeed, it's a whole load of work though, so be warned
Zratrek - I will add something to do that in the future, as for your issue (optional may be bugged) try: mods.tconstruct.ToolStats.set("Wood", "", 1, 1, 1, 0, 0.01, 0, 0, "", "");
Secret64 - Always nice to hear some nice words
On another note, just released 0.5a fixing some of the bugs from 0.5, like broken dungeon loot and seeds, factorization and blood orb recipes. I will probably start on 0.6 sometime next week.
As another note, please leave any further mod suggestions/features on the github. It's a nice way for us to organise what's coming.
You weren't kidding when you said it's a load of work! But it's so fun seeing icons pop up in the Thaumonomicon... I did manage to test around with the coding structure to understand what does what and how to get pages/icons pop up. However, I was wondering if it's possible to get those stringy lines on one research to another. Are two research codes suppose to share something?
You weren't kidding when you said it's a load of work! But it's so fun seeing icons pop up in the Thaumonomicon... I did manage to test around with the coding structure to understand what does what and how to get pages/icons pop up. However, I was wondering if it's possible to get those stringy lines on one research to another. Are two research codes suppose to share something?
Could you be more specific with what you're trying to do?
When you open the Thaumonomicon and you see all the possible researches, there are certain research's that are "connected" to another research and so on. It becomes a cool, web-like effect (if you use the cheat version Thaumonomicon) of researches tied to another.
So I'm basically trying to find if it's possible to add that type of effect between two custom researches, making a sort of hierarchy and enforce progression through the use of the Thaumacraft stuff. From the wiki, it's possible to "orphan" a research and remove it but I haven't found it if it worked the other away around.
I managed to go on a test run and get my (2) test researches in show up, a custom tab, custom recipes, and pages. It's no biggie if I can't get those cool squiggly line effect on my custom researches, but it would be a great relief to know if it is or isn't possible.
-EDIT-
Since this GREAT ADDON's source was available I just dug around it and... found part of my answer. It seems there are more types of key string types available that wasn't mentioned in the wiki.
The "Sibling" class file looked interesting and I tried to apply how it might have looked as a Modtweaker code structure and YAY SUCCESS! Two researches with a line connecting them.
It's okay, I'm just glad I kind of got it sorted out. I'm still fuzzy about things but I think I got how to make them "lines" connect and stuff and what it means for a research to be a "sibling" for another research. Now it's just onto finding out how prerequisite researches work. This is quite fun!
When you open the Thaumonomicon and you see all the possible researches, there are certain research's that are "connected" to another research and so on. It becomes a cool, web-like effect (if you use the cheat version Thaumonomicon) of researches tied to another.
So I'm basically trying to find if it's possible to add that type of effect between two custom researches, making a sort of hierarchy and enforce progression through the use of the Thaumacraft stuff. From the wiki, it's possible to "orphan" a research and remove it but I haven't found it if it worked the other away around.
Hi! Sorry for the lack of documentation on the Research module. I swear, I'll get around to it eventually. XD
Basically, those lines indicate "family" relations between researches.
A research can have Parents, Hidden Parents, and Siblings. Parents are the researches you have to complete before you can unlock the particular research. Hidden Parents are the same thing, but the thaumonomicon won't draw a line between them, in case you're worried about making a mess. Siblings are researches that are automatically unlocked if you unlock that particular research.
For example, ROD_silverwood has INFUSION and ROD_greatwood as parents. Silverwood Rod can't be unlocked until Greatwood Rod and Infusion are. DISTILLESSENTIA has JARLABEL as a sibling. When you research Essentia Distillation, you automatically unlock the Jar Label research.
0.5c out, fixes broken toolstats and exnihilo heat sources, also
Added New Command - "/mt tooltips", adds the info from mt hand to items tooltips, if you press the sprint key while hovering over an item (it's ctrl by default for those who don't know), it will print it to the log.
SpitefulFox (and Joshie), you... are... amazing... THANKS! No problem for the lack of documentation. Finding it out on my own was like a scavenger hunt or looking for good loot in dungeons, so I had fun running around trying to figure it all out and make a really cool custom Thaumcraft tab. In the end, it all worked out.
Its good to know you guys are so helpful and are always around to help. The clarity in sibling/parent makes complete sense now, as I had a hunch by looking at the addPrereq class file that it did something interesting to a research... I just didn't know what, how, or why.
I'm still all googly eyed by the wondrous possibilities of this great addon. Time to go test out Botania and Blood Magic stuff. Will report any bugs/questions if I run into any.
I'm trying to add ex nihilio metals to the smeltery but I'm having some trouble. I keep getting:
ERROR: recipes.zs - 79:1 > a method available but none matches the parameters (minetweaker.item.IItemStack, minetweaker.item.IItemStack, int, minetweaker.item.IItemStack)
....... OMG :L I done d3rPed now it works lol
oh and one last thing how do i make a research require one to be unlocked beforehand?
Replace "REQUIREMENT" with the key for the research you want to be the requirement. Change the boolean to true if you want it to be a Hidden requirement. If it's Hidden, it won't draw a line between them. If it's not hidden, it will draw a line between them if they're on the same page.
mods.thermalexpansion.smelter.removeRecipe(outputItem);
However, I get this error when trying to remove an item:
[MineTweaker] /thermalexpansion.cfg:1Cannot index a null value
Anyone know how to get it to work?
It appears that modtweaker parses the damaged field but doesn't do anything with it. Does anyone know of a good way to do what I'm trying to do, or am I stuck doing something like the following?
If I run it as is, I get:
If I comment out the seed lines and reload, I get this incredibly descriptive message:
In both cases, all lines above the problem ones work properly, and all lines after do not. Also, the loot and seeds commands do not work at all, even if the problem lines are commented and no errors occur.
I am using Minecraft 1.7.10 with Forge 1187 and MineTweaker 3.0.6. (and ModTweaker 0.5, obviously)
Zratrek - I will add something to do that in the future, as for your issue (optional may be bugged) try: mods.tconstruct.ToolStats.set("Wood", "", 1, 1, 1, 0, 0.01, 0, 0, "", "");
Secret64 - Always nice to hear some nice words
On another note, just released 0.5a fixing some of the bugs from 0.5, like broken dungeon loot and seeds, factorization and blood orb recipes. I will probably start on 0.6 sometime next week.
As another note, please leave any further mod suggestions/features on the github. It's a nice way for us to organise what's coming.
https://github.com/joshiejack/ModTweaker/issues?q=is:open is:issue
Could you be more specific with what you're trying to do?
So I'm basically trying to find if it's possible to add that type of effect between two custom researches, making a sort of hierarchy and enforce progression through the use of the Thaumacraft stuff. From the wiki, it's possible to "orphan" a research and remove it but I haven't found it if it worked the other away around.
I managed to go on a test run and get my (2) test researches in show up, a custom tab, custom recipes, and pages. It's no biggie if I can't get those cool squiggly line effect on my custom researches, but it would be a great relief to know if it is or isn't possible.
-EDIT-
Since this GREAT ADDON's source was available I just dug around it and... found part of my answer. It seems there are more types of key string types available that wasn't mentioned in the wiki.
The "Sibling" class file looked interesting and I tried to apply how it might have looked as a Modtweaker code structure and YAY SUCCESS! Two researches with a line connecting them.
mods.thaumcraft.Research.addSibling("KEYNAME", "SIBLING");
but um, that only connects 1 research to another, and not 1 research to another + 1. More tinkering I guess.
Hi! Sorry for the lack of documentation on the Research module. I swear, I'll get around to it eventually. XD
Basically, those lines indicate "family" relations between researches.
A research can have Parents, Hidden Parents, and Siblings. Parents are the researches you have to complete before you can unlock the particular research. Hidden Parents are the same thing, but the thaumonomicon won't draw a line between them, in case you're worried about making a mess. Siblings are researches that are automatically unlocked if you unlock that particular research.
For example, ROD_silverwood has INFUSION and ROD_greatwood as parents. Silverwood Rod can't be unlocked until Greatwood Rod and Infusion are. DISTILLESSENTIA has JARLABEL as a sibling. When you research Essentia Distillation, you automatically unlock the Jar Label research.
To add a parent to a research, you just use
Switch the boolean to true if you want them to be hidden parents.
To add siblings to a research, use
The problem was... I was doing stack.isItemEqual(stack) xD, instead of checking against the recipe. Dumbass joshie! 0.5b will be up shortly.
Added New Command - "/mt tooltips", adds the info from mt hand to items tooltips, if you press the sprint key while hovering over an item (it's ctrl by default for those who don't know), it will print it to the log.
Its good to know you guys are so helpful and are always around to help. The clarity in sibling/parent makes complete sense now, as I had a hunch by looking at the addPrereq class file that it did something interesting to a research... I just didn't know what, how, or why.
I'm still all googly eyed by the wondrous possibilities of this great addon. Time to go test out Botania and Blood Magic stuff. Will report any bugs/questions if I run into any.
ERROR: recipes.zs - 79:1 > a method available but none matches the parameters (minetweaker.item.IItemStack, minetweaker.item.IItemStack, int, minetweaker.item.IItemStack)
from lines like:
mods.tconstruct.Smeltery.addMelting(<minecraft:dirt>, <minecraft:lava> * 1000, 200, <minecraft:dirt>);