CraftTweaker: Drying Rack - An-Sar/PrimalCore GitHub Wiki

Dry Time is the number of block updates that the recipe will take to complete, the actual game time will be influenced by the DRYING_RACK_TICK_RATE config value which in turn determines how many ticks between updates

Rotting Recipes

mods.primal.DryingRack.addRottingRecipe(
    String recipe_name, 
    int dry_time, 
    int rot_chance, 
    IIngredient input_item, 
    IItemStack rot_output, 
    IItemStack output
);

Non-Rotting Recipes provide short-hand for skipping the rot output and chance values, these recipes always produce the successful output:

mods.primal.DryingRack.addNonRottingRecipe(
    String recipe_name, 
    int dry_time, 
    IIngredient input,
    IItemStack output
);

Removing Recipes, currently this is done through the recipe name, it should be full form modid:recipe_name


mods.primal.DryingRack.removeAll()

mods.primal.DryingRack.removeRecipe(String recipe_name);

Existing Recipe Names can be printed to the chat/console through an in-game command


/primal recipes drying