Friday, June 10, 2022
HomeGame DevelopmentCustomized Recipes in Minecraft Modpack (different Error)

Customized Recipes in Minecraft Modpack (different Error)


I wish to have a brand new Recipe with crafttweaker, which utilizing machines from the create mod, for Netherrack like this Compacting Netherrack

In the intervening time I tryed this code in scriptsMyRecipes.zs:

import crafttweaker.api.registries.IRecipeManager;

<recipetype:create:compacting>.addRecipe("compact_netherrack", "none", [<item:minecraft:netherrack> * 8], [<item:minecraft:cobblestone> * 8, <item:minecraft:nether_wart>], [<fluid:minecraft:lava> * 10], 100);

however once I go into the world I get this errors:

[Error] Parser Exception @ MyRecipes.zs:3:0 : No such member: addRecipe
[Error] Scripts are invalid!

can any person assist me?

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

- Advertisment -
Google search engine

Most Popular

Recent Comments