CraftTweaker: Cauldron - An-Sar/PrimalCore GitHub Wiki

Cauldron Recipes require at the very least an input fluid, and in turn can consume that fluid as part of the recipe or convert that fluid into a new output fluid. In addition the cauldron can hold up to four slots of input items, with two possible output slots.

The input and output items are passed as arrays and should be encased within [], only four input and two output entries will be uses, overrsized arrays should just ignore the extra items.

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

mods.primal.Cauldron.addRecipe(
    String recipe_name, 
    int cook_time, 
    ILiquidStack fluid_input, 
    ILiquidStack fluid_output, 
    IIngredient[] item_inputs, 
    IItemStack[] item_outputs
);

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


mods.primal.Cauldron.removeAll()

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

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


/primal recipes cauldron