CraftTweaker

CraftTweaker

186M Downloads

Crafttweaker: no such member: addRecipe

MistaTodios opened this issue ยท 1 comments

commented

Issue description

I am trying to add a recipe using crafttweaker with botania on 1.20.1 using the runic altar but whatever I do nothing seems to work, everytime that I reload the script appears that "no such member: addrecipe" I'm using the example on the files of botania to wrute the code.

Steps to reproduce

I'm using visual code studio to make the code;
install crafttweaker mod and botania;
create a .zs file;
with the said script;
open the game and write on chat /reload;

Script used

recipetype:botania:runic_altar.addRecipe("rune_altar_test", item:minecraft:diamond, 200, item:minecraft:dirt, item:minecraft:apple);

The crafttweaker.log file

<script src="https://gist.github.com/MistaTodios/be78a482e6ba90a7448dfa8f85412b83.js"></script>

Minecraft version

1.20.1

Modloader

Forge

Modloader version

47.3.22

CraftTweaker version

14.0.44

Other relevant information

No response

The latest.log file

<script src="https://gist.github.com/MistaTodios/d76429a37b5753e580d920675389c787.js"></script>
commented

Botania doesn't have built in CraftTweaker support in 1.20.1, you need to use addJsonRecipe instead.

There is more information here https://docs.blamejared.com/1.20.1/en/mods/other_mods/