Page 1 of 1

Keep getting "No such member" error.

PostPosted: Fri Apr 10, 2015 6:49 pm
by Linkitch
I have several functioning Minetweaker recipes that work flawlessly.

But whenever I try to use any of the ModTweaker supported mod commands, I just get thrown an error:

As an example, I get this error:
No such member: Botania

When trying to use one of the wiki commands:
mods.botania.RuneAltar.addRecipe(<minecraft:stonebrick:2>, [<minecraft:stonebrick>, <minecraft:gunpowder>], 5);

I have these versions installed:
MineTweaker3-1.7.10-3.0.9C
ModTweaker 2-0.7.3

I'm using a semi-public mod pack, and I'm wondering if it is possible that it somehow got disabled? I don't know if that is even possible?

Re: Keep getting "No such member" error.

PostPosted: Sun Apr 12, 2015 6:45 am
by molden
I don't get the error with the wiki command. But your error message says "Botania" with a capital 'B'. The scripts are case sensitive. I know this is a dumb answer but sometimes causes for errors are that dumb.

Also note that if you have any errors in a script it will disable the entire script, so the error you see might not come from the wiki command. This is a pain in the butt because some scripts will make random null or 'modifications were stuck' errors (looking at you NEI) forcing you to restart the game to have the script reenabled.

Re: Keep getting "No such member" error.

PostPosted: Sat May 09, 2015 9:29 pm
by Twisted_Code
I keep getting this error when I try using the modTweaker methods for thermal expansion. Whenever I try, I get "No such member: thermalexpansion". I have exactly the same capitalization as I found on the wiki on this page: minetweaker3.powerofbytes.com/wiki/ModTweaker:Thermal_Expansion_Support. I even tried what I saw in one of the other threads and tried importing with "import mods.thermalexpansion;", but I still got "no such member" which seems to suggest that there's some discrepancy between the version to which the wiki is updated to and the current version of the mod that I'm using.
Also, why is your own wiki not on the URL whitelist? For that matter, shouldn't the whole domain be on the whitelist?

Re: Keep getting "No such member" error.

PostPosted: Tue Aug 04, 2015 8:03 pm
by Zyin
Make sure your imports are correct.

import mods.botania.RuneAltar;
import mods.botania.ManaInfusion;

Re: Keep getting "No such member" error.

PostPosted: Thu Oct 18, 2018 3:32 pm
by somebody0214
I get the same problem with the same mod
other mod scripts work perfectly fine
I try import mods.botania.Altar
it replies with ERROR: ?:1 > No such member: botania
and same happens with mods.Botania.ManaInfusion.addInfusion and apothecary as well

ModTweaker - modtweaker-4.0.14
MineTweaker - MineTweaker3-1.7.10-3.0.10B
Botania - Botania r1.8-249