CraftTweaker

CraftTweaker

151M Downloads

[SOLVED]No such static member

darknat opened this issue ยท 2 comments

commented

Intro:

Hi, I'm creating a script to change recipes at Better With mods and I have a little problem with recipe in Item like Cauldron.

Issue Description:

In my script :
mods.betterwithmods.Cauldron.removeRecipe(<minecraft:gunpowder>); mods.betterwithmods.Cauldron.removeRecipe(<betterwithmods:material:28>); mods.betterwithmods.Cauldron.removeRecipe(<betterwithmods:material:29>);

Logs say :
[INITIALIZATION][CLIENT][ERROR] explosives.zs:16 > No such static member in mods.betterwithmods.Cauldron: removeRecipe [INITIALIZATION][CLIENT][ERROR] explosives.zs:17 > No such static member in mods.betterwithmods.Cauldron: removeRecipe [INITIALIZATION][CLIENT][ERROR] explosives.zs:18 > No such static member in mods.betterwithmods.Cauldron: removeRecipe ... ...

I don't understand because this line works :
mods.immersiveengineering.Crusher.removeRecipe(<betterwithmods:material:26>);

Script used

https://pastebin.com/va3p1WUa

crafttweaker.log

https://pastebin.com/Zbdau7TH


Affected Versions (Do not use "latest"):

  • Minecraft: 1.12.2
  • Forge: 14.23.4.2757
  • Crafttweaker: 4.1.9
  • Using a server: no
  • If yes, does the client have the exact same scripts?
commented
  • It's mods.betterwithmods.Cauldron.remove(IItemStack[] outputs); See here (link to the wiki)
  • This is the CrT issue tracker, BWM support is added by Modtweaker, the issue tracker for MoT is here
commented

Thank you ! ๐Ÿ‘