This page relates to Create, which does not have built-in support, you will need to install CreateTweaker as well!

The Emptying mechanic is a type of IRecipeManager and implements all the methods that are available to IRecipeManager's, such as removeRecipe() and removeAll().

The following script will add a recipe that will output a Diamond and Lava (fluid) when a piece of Dirt is Emptied with a duration of 100.

// <recipetype:create:emptying>.addRecipe(String name, IItemStack outputItem, IFluidStack outputFluid, IIngredient inputContainer, @Optional(100) int duration)

<recipetype:create:emptying>.addRecipe("emptying_test", <item:minecraft:diamond>, <fluid:minecraft:lava>, <item:minecraft:dirt>);

Remove Recipes for Items

Link to remove-recipes-for-items

The following script will remove all Emptying recipes that output a Bucket.

// <recipetype:create:emptying>.removeRecipe(IItemStack output)


Remove Recipes for Fluids

Link to remove-recipes-for-fluids

The following script will remove all Compacting recipes that output Honey (Fluid)

// <recipetype:create:emptying>.removeRecipe(IFluidStack output)