-
Notifications
You must be signed in to change notification settings - Fork 53
CraftTweaker Support
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:
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.