CraftTweaker

CraftTweaker

151M Downloads

No compatible methods found,

EndeenUnfound opened this issue ยท 4 comments

commented

Issue description

another issue cause im a noob

so, when I start a miencrat world or reload it, it says stuff2stone no compatible methods found, it does it with all other ones I've made too

Steps to reproduce

No response

Script used

https://pastebin.com/UidXXt7C

The crafttweaker.log file

.

Minecraft version

1.16

Modloader

Forge

Modloader version

39.1.0

CraftTweaker version

9.0.0

Other relevant information

No response

The latest.log file

.

commented
craftingTable.addShapeless(dirt, [

dirt needs to be a string, like "dirt"

commented

just in case, is it all the vars or just the one that is made

commented

e.g. the top one, but not the one that's being made.

craftingtable added shaped and the one right after that

commented

actually, the issue is that your recipe needs a name, right now it doesn't have a name, so something like:

import crafttweaker.api.item.IItemStack;
 
var dirt = <item:minecraft:dirt> as IItemStack;
var bean = <item:pamhc2crops:beanitem> as IItemStack;
 
craftingTable.addShapeless("custom_unique_name", dirt, [
	bean, bean, bean,
	bean, bean, bean,
	bean, bean, bean
	]
);