
SewingKit - Recipe Customization for Fabric
SewingKit is an adapted version of CraftTweaker specifically designed for the Fabric mod platform. Currently, the functionality is limited but provides basic capabilities for customizing game recipes.
Available Recipe Commands
Logging system:
logger.logInfo(String msg);
logger.logCommand(String msg);
logger.logWarning(String msg);
logger.logError(String msg);
Creating and removing crafting recipes:
recipes.addShapelessRecipe(String name, MCItemStack output, IIngredient[] inputs);
recipes.addShapedRecipe(String name, MCItemStack output, IIngredient[][] inputs);
recipes.removeRecipe(String name);
recipes.removeRecipe(MCItemStack stack);
Configuring furnaces and other devices:
furnace.addRecipe(String name, MCItemStack output, IIngredient inputs, float xp, int cookTime);
furnace.removeRecipe(String name);
furnace.removeRecipe(MCItemStack stack);
blasting.addRecipe(String name, MCItemStack output, IIngredient inputs, float xp, int cookTime);
blasting.removeRecipe(String name);
blasting.removeRecipe(MCItemStack stack);
campfire.addRecipe(String name, MCItemStack output, IIngredient inputs, float xp, int cookTime);
campfire.removeRecipe(String name);
campfire.removeRecipe(MCItemStack stack);
smoking.addRecipe(String name, MCItemStack output, IIngredient inputs, float xp, int cookTime);
smoking.removeRecipe(String name);
smoking.removeRecipe(MCItemStack stack);
stoneCutter.addRecipe(String name, MCItemStack output, IIngredient inputs);
stoneCutter.removeRecipe(String name);
stoneCutter.removeRecipe(MCItemStack stack);
Helper functions:
print(String msg)
Game Commands
The /skhand
command displays information about the held item, including its tags, in chat and records data in the SewingKit.log file.
Item Syntax
Use the following constructs to specify items:
<item:modid:modname> * amount
<tag:minecraft:wool>
Important note: This version is in early development and may have limited server compatibility. Use the /reload
command to apply changes.