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

Create Sand Paper Polishing

Link to create-sand-paper-polishing

The Sand Paper Polishing 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 when a piece of Glass is Polished with a duration of 100.

ZenScript
Copy
// <recipetype:create:sandpaper_polishing>.addRecipe(String name, IItemStack output, IIngredient input, @Optional(100) int duration)

<recipetype:create:sandpaper_polishing>.addRecipe("sand_paper_polishing_test", <item:minecraft:diamond>, <item:minecraft:glass>);

The following script will remove all Sand Paper Polishing recipes that output Polished Rose Quartz.

ZenScript
Copy
// <recipetype:create:pressing>.removeRecipe(IItemStack output)

<recipetype:create:sandpaper_polishing>.removeRecipe(<item:create:polished_rose_quartz>);