Skip to content

CraftTweaker Support

Alexthe666 edited this page Jul 9, 2019 · 1 revision

Rats supports CraftTweaker to add or remove recipes of rats with the Rat Upgrade: Chef.

In your recipes.zs,

mods.rats.recipes.addChefRatRecipe(<input>, <output>);

Where both input and output are itemstacks. An example of added recipes would be as follows: mods.rats.recipes.addChefRatRecipe(<minecraft:apple>, <minecraft:golden_apple>); mods.rats.recipes.addChefRatRecipe(<tconstruct:nuggets:4>, <tconstruct:edible:0>); mods.rats.recipes.addChefRatRecipe(<minecraft:egg>, <harvestcraft:friedeggitem>);

And would result in the following recipes:

Compilation image of added recipes. Requires Tinkers Construct and Pam's Harvestcraft, duh.

To remove a recipe, your 'recipes.zs' would contain:

mods.rats.recipes.removeChefRatRecipe(<output>);

Where output is an itemstack. Caution should be taken, as this will remove all recipes with this item as an output. An example of removing a recipe would be as follows:

mods.rats.recipes.removeChefRatRecipe(<rats:string_cheese>);

Which would result in the recipe of cheese -> 4x string cheese being removed from the game.

Clone this wiki locally