Link to create-filling
The Filling mechanic is a type of IRecipeManager and implements all the methods that are available to IRecipeManager's, such as
Link to methods
Link to add-recipe
The following script will add a recipe that will output a Diamond when a piece of Dirt is Filled with Lava (fluid) with a duration of 100.
// <recipetype:create:filling>.addRecipe(String name, IItemStack output, IIngredient inputContainer, IFluidStack inputFluid, @Optional(100) int duration) <recipetype:create:filling>.addRecipe("filling_test", <item:minecraft:diamond>, <item:minecraft:dirt>, <fluid:minecraft:lava>);
Link to remove-recipes
The following script will remove all Filling recipes that output Redstone.
// <recipetype:create:filling>.removeRecipe(IItemStack output) <recipetype:create:filling>.removeRecipe(<item:minecraft:redstone>);
Get a Processing Recipe Factory
Link to get-a-processing-recipe-factory
You can get a ProcessingRecipeFactory of this recipe type like so:
// <recipetype:create:filling>.factory() as ProcessingRecipeFactory <recipetype:create:filling>.factory()