Createdoes not have built in mod support, you will need CreateTweakerfor this to work!

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.

// <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>);

Remove Recipes

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

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

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